You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,6 +26,16 @@ export class InvalidInputException extends __BaseException {
25
26
}
26
27
}
27
28
29
+
/**
30
+
* <p>Contains information about a metric attribution associated with an event. For more information about metric attributions, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring impact of recommendations</a>.</p>
31
+
*/
32
+
exportinterfaceMetricAttribution{
33
+
/**
34
+
* <p>The source of the event, such as a third party.</p>
35
+
*/
36
+
eventAttributionSource: string|undefined;
37
+
}
38
+
28
39
/**
29
40
* <p>Represents user interaction event information sent using the
30
41
* <code>PutEvents</code> API.</p>
@@ -75,14 +86,27 @@ export interface Event {
75
86
sentAt: Date|undefined;
76
87
77
88
/**
78
-
* <p>The ID of the recommendation.</p>
89
+
* <p>The ID of the list of recommendations that contains the item the user interacted with. Provide a <code>recommendationId</code> to have Amazon Personalize implicitly record the
90
+
* recommendations you show your user as impressions data. Or provide a <code>recommendationId</code> if you use a metric attribution to measure the impact of recommendations.
91
+
* </p>
92
+
* <p>
93
+
* For more information on recording impressions data, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html#putevents-including-impressions-data">Recording impressions data</a>.
94
+
* For more information on creating a metric attribution see <a href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring impact of recommendations</a>.
95
+
* </p>
79
96
*/
80
97
recommendationId?: string;
81
98
82
99
/**
83
-
* <p>A list of item IDs that represents the sequence of items you have shown the user. For example, <code>["itemId1", "itemId2", "itemId3"]</code>.</p>
100
+
* <p>A list of item IDs that represents the sequence of items you have shown the user. For example, <code>["itemId1", "itemId2", "itemId3"]</code>. Provide a list of
101
+
* items to manually record impressions data for an event. For more information on recording impressions data,
102
+
* see <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html#putevents-including-impressions-data">Recording impressions data</a>. </p>
84
103
*/
85
104
impression?: string[];
105
+
106
+
/**
107
+
* <p>Contains information about the metric attribution associated with an event. For more information about metric attributions, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring impact of recommendations</a>.</p>
0 commit comments