You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Personalize::Types::CreateFilterRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Personalize::Types::CreateFilterRequest
- Defined in:
- (unknown)
Overview
When passing CreateFilterRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "Name", # required
dataset_group_arn: "Arn", # required
filter_expression: "FilterExpression", # required
}
Instance Attribute Summary collapse
-
#dataset_group_arn ⇒ String
The ARN of the dataset group that the filter will belong to.
-
#filter_expression ⇒ String
The filter expression that designates the interaction types that the filter will filter out.
-
#name ⇒ String
The name of the filter to create.
Instance Attribute Details
#dataset_group_arn ⇒ String
The ARN of the dataset group that the filter will belong to.
#filter_expression ⇒ String
The filter expression that designates the interaction types that the filter will filter out. A 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. To filter out
all items with any interactions history, set "*"
as the EVENT_TYPE.
For more information, see Using Filters with Amazon Personalize.
#name ⇒ String
The name of the filter to create.