Class: Aws::CognitoIdentityProvider::Types::SessionLocationType

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

Overview

The geographic location of the most recent activity on a session, derived from the IP address.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#city ⇒ String

The city of the most recent activity on the session, derived from the IP address. This value can be null if geo-IP resolution fails. The maximum length is 256 characters.

Returns:

  • (String)


12538
12539
12540
12541
12542
12543
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 12538

class SessionLocationType < Struct.new(
  :city,
  :country)
  SENSITIVE = []
  include Aws::Structure
end

#country ⇒ String

The country of the most recent activity on the session, derived from the IP address and returned in English (for example, United States). This is a country name as returned by the geo-IP database, not an ISO country code, and can be unknown if geo-IP resolution fails.

Returns:

  • (String)


12538
12539
12540
12541
12542
12543
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 12538

class SessionLocationType < Struct.new(
  :city,
  :country)
  SENSITIVE = []
  include Aws::Structure
end