You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::EventContextDataType

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

Overview

Specifies the user context data captured at the time of an event request.

Instance Attribute Summary collapse

Instance Attribute Details

#cityString

The user's city.

Returns:

  • (String)


3633
3634
3635
3636
3637
3638
3639
3640
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3633

class EventContextDataType < Struct.new(
  :ip_address,
  :device_name,
  :timezone,
  :city,
  :country)
  include Aws::Structure
end

#countryString

The user's country.

Returns:

  • (String)


3633
3634
3635
3636
3637
3638
3639
3640
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3633

class EventContextDataType < Struct.new(
  :ip_address,
  :device_name,
  :timezone,
  :city,
  :country)
  include Aws::Structure
end

#device_nameString

The user's device name.

Returns:

  • (String)


3633
3634
3635
3636
3637
3638
3639
3640
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3633

class EventContextDataType < Struct.new(
  :ip_address,
  :device_name,
  :timezone,
  :city,
  :country)
  include Aws::Structure
end

#ip_addressString

The user's IP address.

Returns:

  • (String)


3633
3634
3635
3636
3637
3638
3639
3640
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3633

class EventContextDataType < Struct.new(
  :ip_address,
  :device_name,
  :timezone,
  :city,
  :country)
  include Aws::Structure
end

#timezoneString

The user's time zone.

Returns:

  • (String)


3633
3634
3635
3636
3637
3638
3639
3640
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3633

class EventContextDataType < Struct.new(
  :ip_address,
  :device_name,
  :timezone,
  :city,
  :country)
  include Aws::Structure
end