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

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

Overview

Note:

When making an API call, you may pass GetIdInput data as a hash:

{
  account_id: "AccountId",
  identity_pool_id: "IdentityPoolId", # required
  logins: {
    "IdentityProviderName" => "IdentityProviderToken",
  },
}

Input to the GetId action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

A standard AWS account ID (9+ digits).

Returns:

  • (String)


441
442
443
444
445
446
447
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 441

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

#identity_pool_idString

An identity pool ID in the format REGION:GUID.

Returns:

  • (String)


441
442
443
444
445
446
447
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 441

class GetIdInput < Struct.new(
  :account_id,
  :identity_pool_id,
  :logins)
  SENSITIVE = []
  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>)


441
442
443
444
445
446
447
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 441

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