RecommendationTrigger
A recommendation trigger provides context on the event that produced the referenced
recommendations. Recommendations are only referenced in recommendationIds
by a
single RecommendationTrigger.
Contents
- data
-
A union type containing information related to the trigger.
Type: RecommendationTriggerData object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- id
-
The identifier of the recommendation trigger.
Type: String
Pattern:
^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Required: Yes
- recommendationIds
-
The identifiers of the recommendations.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 25 items.
Length Constraints: Minimum length of 1. Maximum length of 2048.
Required: Yes
- source
-
The source of the recommendation trigger.
-
ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue.
-
RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.
Type: String
Valid Values:
ISSUE_DETECTION | RULE_EVALUATION | OTHER
Required: Yes
-
- type
-
The type of recommendation trigger.
Type: String
Valid Values:
QUERY | GENERATIVE
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: