Class: Aws::PersonalizeEvents::Types::PutEventsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-personalizeevents/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:user_id, :event_list]

Instance Attribute Summary collapse

Instance Attribute Details

#event_listArray<Types::Event>

A list of event data from the session.

Returns:



406
407
408
409
410
411
412
413
# File 'lib/aws-sdk-personalizeevents/types.rb', line 406

class PutEventsRequest < Struct.new(
  :tracking_id,
  :user_id,
  :session_id,
  :event_list)
  SENSITIVE = [:user_id, :event_list]
  include Aws::Structure
end

#session_idString

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].

[1]: docs.aws.amazon.com/personalize/latest/dg/recording-item-interaction-events.html

Returns:

  • (String)


406
407
408
409
410
411
412
413
# File 'lib/aws-sdk-personalizeevents/types.rb', line 406

class PutEventsRequest < Struct.new(
  :tracking_id,
  :user_id,
  :session_id,
  :event_list)
  SENSITIVE = [:user_id, :event_list]
  include Aws::Structure
end

#tracking_idString

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

CreateEventTracker][1

API.

[1]: docs.aws.amazon.com/personalize/latest/dg/API_CreateEventTracker.html

Returns:

  • (String)


406
407
408
409
410
411
412
413
# File 'lib/aws-sdk-personalizeevents/types.rb', line 406

class PutEventsRequest < Struct.new(
  :tracking_id,
  :user_id,
  :session_id,
  :event_list)
  SENSITIVE = [:user_id, :event_list]
  include Aws::Structure
end

#user_idString

The user associated with the event.

Returns:

  • (String)


406
407
408
409
410
411
412
413
# File 'lib/aws-sdk-personalizeevents/types.rb', line 406

class PutEventsRequest < Struct.new(
  :tracking_id,
  :user_id,
  :session_id,
  :event_list)
  SENSITIVE = [:user_id, :event_list]
  include Aws::Structure
end