Class: Aws::Pinpoint::Types::Session

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass Session data as a hash:

{
  duration: 1,
  id: "__string", # required
  start_timestamp: "__string", # required
  stop_timestamp: "__string",
}

Provides information about a session.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#durationInteger

The duration of the session, in milliseconds.

Returns:

  • (Integer)


15332
15333
15334
15335
15336
15337
15338
15339
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15332

class Session < Struct.new(
  :duration,
  :id,
  :start_timestamp,
  :stop_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The unique identifier for the session.

Returns:

  • (String)


15332
15333
15334
15335
15336
15337
15338
15339
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15332

class Session < Struct.new(
  :duration,
  :id,
  :start_timestamp,
  :stop_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#start_timestampString

The date and time when the session began.

Returns:

  • (String)


15332
15333
15334
15335
15336
15337
15338
15339
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15332

class Session < Struct.new(
  :duration,
  :id,
  :start_timestamp,
  :stop_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#stop_timestampString

The date and time when the session ended.

Returns:

  • (String)


15332
15333
15334
15335
15336
15337
15338
15339
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15332

class Session < Struct.new(
  :duration,
  :id,
  :start_timestamp,
  :stop_timestamp)
  SENSITIVE = []
  include Aws::Structure
end