CognitoIdentity.Client.
describe_identity
(**kwargs)¶Returns metadata related to the given identity, including when the identity was created and any associated linked logins.
You must use AWS Developer credentials to call this API.
See also: AWS API Documentation
Request Syntax
response = client.describe_identity(
IdentityId='string'
)
[REQUIRED]
A unique identifier in the format REGION:GUID.
{
'IdentityId': 'string',
'Logins': [
'string',
],
'CreationDate': datetime(2015, 1, 1),
'LastModifiedDate': datetime(2015, 1, 1)
}
Response Structure
A description of the identity.
A unique identifier in the format REGION:GUID.
The provider names.
Date on which the identity was created.
Date on which the identity was last modified.
Exceptions
CognitoIdentity.Client.exceptions.InvalidParameterException
CognitoIdentity.Client.exceptions.ResourceNotFoundException
CognitoIdentity.Client.exceptions.NotAuthorizedException
CognitoIdentity.Client.exceptions.TooManyRequestsException
CognitoIdentity.Client.exceptions.InternalErrorException