Skip to content

PutEventsRequest

Source code in docs_src/capo_personalize_events/types/put_events_request.py
class PutEventsRequest(TypedDict, closed=True):
    tracking_id: "capo_personalize_events.types.string_type.StringType"
    """<p>The tracking ID for the event. The ID is generated by a call to the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_CreateEventTracker.html">CreateEventTracker</a> API.</p>"""
    user_id: NotRequired["capo_personalize_events.types.user_id.UserId"]
    """<p>The user associated with the event.</p>"""
    session_id: "capo_personalize_events.types.string_type.StringType"
    """<p>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 <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-item-interaction-events.html">Recording item interaction events</a>.</p>"""
    event_list: "capo_personalize_events.types.event_list.EventList"
    """<p>A list of event data from the session.</p>"""

event_list instance-attribute

event_list: EventList

A list of event data from the session.

session_id instance-attribute

session_id: StringType

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.

tracking_id instance-attribute

tracking_id: StringType

The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.

user_id instance-attribute

user_id: NotRequired[UserId]

The user associated with the event.