Values.PutEventsRequestSourceRecords item interaction event data. For more information see Recording item interaction events.
type nonrec t = {trackingId : StringType.t;The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.
*)userId : UserId.t option;The user associated with the event.
*)sessionId : StringType.t;The session ID associated with the user's visit. Your application generates the sessionId when a user first visits your website or uses your application. Amazon Personalize uses the sessionId to associate events with the user before they log in. For more information, see Recording item interaction events.
*)eventList : EventList.t;A list of event data from the session.
*)}val make :
?userId:??? ->
trackingId:StringType.t ->
sessionId:StringType.t ->
eventList:EventList.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Float of FloatType.t
| `List of [> `String of ItemId.t ] list
| `String of StringType.t
| `Structure of
(string * [> `String of EventAttributionSource.t ])
list
| `Timestamp of Date.t ])
list ]
list
| `String of StringType.t ])
list ]