Class: Aws::Personalize::Types::CreateFilterRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb

Overview

Note:

When making an API call, you may pass CreateFilterRequest data as a hash:

{
  name: "Name", # required
  dataset_group_arn: "Arn", # required
  filter_expression: "FilterExpression", # required
}

Constant Summary collapse

SENSITIVE =
[:filter_expression]

Instance Attribute Summary collapse

Instance Attribute Details

#dataset_group_arnString

The ARN of the dataset group that the filter will belong to.

Returns:

  • (String)


1083
1084
1085
1086
1087
1088
1089
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1083

class CreateFilterRequest < Struct.new(
  :name,
  :dataset_group_arn,
  :filter_expression)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end

#filter_expressionString

The filter expression defines which items are included or excluded from recommendations. Filter expression must follow specific format rules. For information about filter expression structure and syntax, see filter-expressions.

Returns:

  • (String)


1083
1084
1085
1086
1087
1088
1089
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1083

class CreateFilterRequest < Struct.new(
  :name,
  :dataset_group_arn,
  :filter_expression)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end

#nameString

The name of the filter to create.

Returns:

  • (String)


1083
1084
1085
1086
1087
1088
1089
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1083

class CreateFilterRequest < Struct.new(
  :name,
  :dataset_group_arn,
  :filter_expression)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end