NAME

Paws::CognitoIdentity::GetId - Arguments for method GetId on Paws::CognitoIdentity

DESCRIPTION

This class represents the parameters used for calling the method GetId on the Amazon Cognito Identity service. Use the attributes of this class as arguments to method GetId.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetId.

SYNOPSIS

my $cognito-identity = Paws->service('CognitoIdentity');
my $GetIdResponse = $cognito -identity->GetId(
  IdentityPoolId => 'MyIdentityPoolId',
  AccountId      => 'MyAccountId',        # OPTIONAL
  Logins         => {
    'MyIdentityProviderName' => 'MyIdentityProviderToken'
    ,    # key: min: 1, max: 128, value: min: 1, max: 50000
  },    # OPTIONAL
);

# Results:
my $IdentityId = $GetIdResponse->IdentityId;

# Returns a L<Paws::CognitoIdentity::GetIdResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity/GetId

ATTRIBUTES

AccountId => Str

A standard AWS account ID (9+ digits).

REQUIRED IdentityPoolId => Str

An identity pool ID in the format REGION:GUID.

Logins => Paws::CognitoIdentity::LoginsMap

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

SEE ALSO

This class forms part of Paws, documenting arguments for method GetId in Paws::CognitoIdentity

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues