filterExpression property

String? filterExpression
final

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.

Implementation

final String? filterExpression;