Class: Aws::Personalize::Types::Filter

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

Overview

Contains information on a recommendation filter, including its ARN, status, and filter expression.

Constant Summary collapse

SENSITIVE =
[:filter_expression]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_date_timeTime

The time at which the filter was created.

Returns:

  • (Time)


2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/aws-sdk-personalize/types.rb', line 2555

class Filter < Struct.new(
  :name,
  :filter_arn,
  :creation_date_time,
  :last_updated_date_time,
  :dataset_group_arn,
  :failure_reason,
  :filter_expression,
  :status)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end

#dataset_group_arnString

The ARN of the dataset group to which the filter belongs.

Returns:

  • (String)


2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/aws-sdk-personalize/types.rb', line 2555

class Filter < Struct.new(
  :name,
  :filter_arn,
  :creation_date_time,
  :last_updated_date_time,
  :dataset_group_arn,
  :failure_reason,
  :filter_expression,
  :status)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end

#failure_reasonString

If the filter failed, the reason for its failure.

Returns:

  • (String)


2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/aws-sdk-personalize/types.rb', line 2555

class Filter < Struct.new(
  :name,
  :filter_arn,
  :creation_date_time,
  :last_updated_date_time,
  :dataset_group_arn,
  :failure_reason,
  :filter_expression,
  :status)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end

#filter_arnString

The ARN of the filter.

Returns:

  • (String)


2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/aws-sdk-personalize/types.rb', line 2555

class Filter < Struct.new(
  :name,
  :filter_arn,
  :creation_date_time,
  :last_updated_date_time,
  :dataset_group_arn,
  :failure_reason,
  :filter_expression,
  :status)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end

#filter_expressionString

Specifies the type of item interactions to filter out of recommendation results. The filter expression must follow the following format:

‘EXCLUDE itemId WHERE INTERACTIONS.event_type in (“EVENT_TYPE”)`

Where “EVENT_TYPE” is the type of event to filter out. For more information, see [Using Filters with Amazon Personalize].

[1]: docs.aws.amazon.com/personalize/latest/dg/filters.html

Returns:

  • (String)


2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/aws-sdk-personalize/types.rb', line 2555

class Filter < Struct.new(
  :name,
  :filter_arn,
  :creation_date_time,
  :last_updated_date_time,
  :dataset_group_arn,
  :failure_reason,
  :filter_expression,
  :status)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end

#last_updated_date_timeTime

The time at which the filter was last updated.

Returns:

  • (Time)


2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/aws-sdk-personalize/types.rb', line 2555

class Filter < Struct.new(
  :name,
  :filter_arn,
  :creation_date_time,
  :last_updated_date_time,
  :dataset_group_arn,
  :failure_reason,
  :filter_expression,
  :status)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end

#nameString

The name of the filter.

Returns:

  • (String)


2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/aws-sdk-personalize/types.rb', line 2555

class Filter < Struct.new(
  :name,
  :filter_arn,
  :creation_date_time,
  :last_updated_date_time,
  :dataset_group_arn,
  :failure_reason,
  :filter_expression,
  :status)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end

#statusString

The status of the filter.

Returns:

  • (String)


2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/aws-sdk-personalize/types.rb', line 2555

class Filter < Struct.new(
  :name,
  :filter_arn,
  :creation_date_time,
  :last_updated_date_time,
  :dataset_group_arn,
  :failure_reason,
  :filter_expression,
  :status)
  SENSITIVE = [:filter_expression]
  include Aws::Structure
end