Personalize Events

This page documents function available when using the Personalize_Events module, created with @service Personalize_Events.

Index

Documentation

Main.Personalize_Events.put_action_interactionsMethod
put_action_interactions(action_interactions, tracking_id)
put_action_interactions(action_interactions, tracking_id, params::Dict{String,<:Any})

Records action interaction event data. An action interaction event is an interaction between a user and an action. For example, a user taking an action, such a enrolling in a membership program or downloading your app. For more information about recording action interactions, see Recording action interaction events. For more information about actions in an Actions dataset, see Actions dataset.

Arguments

  • action_interactions: A list of action interaction events from the session.
  • tracking_id: The ID of your action interaction event tracker. When you create an Action interactions dataset, Amazon Personalize creates an action interaction event tracker for you. For more information, see Action interaction event tracker ID.
Main.Personalize_Events.put_actionsMethod
put_actions(actions, dataset_arn)
put_actions(actions, dataset_arn, params::Dict{String,<:Any})

Adds one or more actions to an Actions dataset. For more information see Importing actions individually.

Arguments

  • actions: A list of action data.
  • dataset_arn: The Amazon Resource Name (ARN) of the Actions dataset you are adding the action or actions to.
Main.Personalize_Events.put_eventsMethod
put_events(event_list, session_id, tracking_id)
put_events(event_list, session_id, tracking_id, params::Dict{String,<:Any})

Records item interaction event data. For more information see Recording item interaction events.

Arguments

  • event_list: A list of event data from the session.
  • 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 item interaction events.
  • tracking_id: The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "userId": The user associated with the event.
Main.Personalize_Events.put_itemsMethod
put_items(dataset_arn, items)
put_items(dataset_arn, items, params::Dict{String,<:Any})

Adds one or more items to an Items dataset. For more information see Importing items individually.

Arguments

  • dataset_arn: The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.
  • items: A list of item data.
Main.Personalize_Events.put_usersMethod
put_users(dataset_arn, users)
put_users(dataset_arn, users, params::Dict{String,<:Any})

Adds one or more users to a Users dataset. For more information see Importing users individually.

Arguments

  • dataset_arn: The Amazon Resource Name (ARN) of the Users dataset you are adding the user or users to.
  • users: A list of user data.