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",
  start_timestamp: "__string",
  stop_timestamp: "__string",
}

Information about a session.

Instance Attribute Summary collapse

Instance Attribute Details

#durationInteger

The duration of the session, in milliseconds.

Returns:

  • (Integer)


9039
9040
9041
9042
9043
9044
9045
# File 'lib/aws-sdk-pinpoint/types.rb', line 9039

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

#idString

A unique identifier for the session.

Returns:

  • (String)


9039
9040
9041
9042
9043
9044
9045
# File 'lib/aws-sdk-pinpoint/types.rb', line 9039

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)


9039
9040
9041
9042
9043
9044
9045
# File 'lib/aws-sdk-pinpoint/types.rb', line 9039

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)


9039
9040
9041
9042
9043
9044
9045
# File 'lib/aws-sdk-pinpoint/types.rb', line 9039

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