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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Instance Attribute Summary collapse

Instance Attribute Details

#durationInteger

The duration of the session, in milliseconds.

Returns:

  • (Integer)


14339
14340
14341
14342
14343
14344
14345
# File 'lib/aws-sdk-pinpoint/types.rb', line 14339

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

#idString

The unique identifier for the session.

Returns:

  • (String)


14339
14340
14341
14342
14343
14344
14345
# File 'lib/aws-sdk-pinpoint/types.rb', line 14339

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

#start_timestampString

The date and time when the session began.

Returns:

  • (String)


14339
14340
14341
14342
14343
14344
14345
# File 'lib/aws-sdk-pinpoint/types.rb', line 14339

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

#stop_timestampString

The date and time when the session ended.

Returns:

  • (String)


14339
14340
14341
14342
14343
14344
14345
# File 'lib/aws-sdk-pinpoint/types.rb', line 14339

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