CreateFilterRequest

public struct CreateFilterRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The ARN of the dataset group that the filter will belong to.

    Declaration

    Swift

    public let datasetGroupArn: 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.

    Declaration

    Swift

    public let filterExpression: String
  • The name of the filter to create.

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public init(datasetGroupArn: String, filterExpression: String, name: String)
  • Declaration

    Swift

    public func validate(name: String) throws