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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetIdInput as input to an Aws::Client method, you can use a vanilla Hash:

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

Input to the GetId action.

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

A standard AWS account ID (9+ digits).

Returns:

  • (String)

    A standard AWS account ID (9+ digits).

#identity_pool_idString

An identity pool ID in the format REGION:GUID.

Returns:

  • (String)

    An identity pool ID in the format REGION:GUID.

#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 Identity Provider: 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>)

    A set of optional name-value pairs that map provider names to provider tokens.