class Aws::PersonalizeEvents::Types::PutEventsRequest
@note When making an API call, you may pass PutEventsRequest
data as a hash: { tracking_id: "StringType", # required user_id: "UserId", session_id: "StringType", # required event_list: [ # required { event_id: "StringType", event_type: "StringType", # required event_value: 1.0, item_id: "ItemId", properties: "EventPropertiesJSON", sent_at: Time.now, # required recommendation_id: "RecommendationId", impression: ["ItemId"], }, ], }
@!attribute [rw] tracking_id
The tracking ID for the event. The ID is generated by a call to the [CreateEventTracker][1] API. [1]: https://docs.aws.amazon.com/personalize/latest/dg/API_CreateEventTracker.html @return [String]
@!attribute [rw] user_id
The user associated with the event. @return [String]
@!attribute [rw] session_id
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 Events][1]. [1]: https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html @return [String]
@!attribute [rw] event_list
A list of event data from the session. @return [Array<Types::Event>]
@see docs.aws.amazon.com/goto/WebAPI/personalize-events-2018-03-22/PutEventsRequest AWS API Documentation
Constants
- SENSITIVE