Class: Aws::CognitoIdentity::Types::GetIdInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentity/types.rb

Overview

Input to the GetId action.

Constant Summary collapse

SENSITIVE =
[:logins]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

A standard AWS account ID (9+ digits).

Returns:

  • (String)


357
358
359
360
361
362
363
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 357

class GetIdInput < Struct.new(
  :account_id,
  :identity_pool_id,
  :logins)
  SENSITIVE = [:logins]
  include Aws::Structure
end

#identity_pool_idString

An identity pool ID in the format REGION:GUID.

Returns:

  • (String)


357
358
359
360
361
362
363
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 357

class GetIdInput < Struct.new(
  :account_id,
  :identity_pool_id,
  :logins)
  SENSITIVE = [:logins]
  include Aws::Structure
end

#loginsHash<String,String>

A set of optional name-value pairs that map provider names to provider tokens. The available provider names for ‘Logins` are as follows:

  • Facebook: ‘graph.facebook.com`

  • Amazon Cognito user pool: ‘cognito-idp.<region>.amazonaws.com/<YOUR_USER_POOL_ID>`, for example, `cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789`.

  • Google: ‘accounts.google.com`

  • Amazon: ‘www.amazon.com`

  • Twitter: ‘api.twitter.com`

  • Digits: ‘www.digits.com`

Returns:

  • (Hash<String,String>)


357
358
359
360
361
362
363
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 357

class GetIdInput < Struct.new(
  :account_id,
  :identity_pool_id,
  :logins)
  SENSITIVE = [:logins]
  include Aws::Structure
end