CognitoIdentity / Client / list_tags_for_resource
list_tags_for_resource#
- CognitoIdentity.Client.list_tags_for_resource(**kwargs)#
Lists the tags that are assigned to an Amazon Cognito identity pool.
A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
You can use this action up to 10 times per second, per account.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( ResourceArn='string' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the identity pool that the tags are assigned to.
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': { 'string': 'string' } }
Response Structure
(dict) –
Tags (dict) –
The tags that are assigned to the identity pool.
(string) –
(string) –
Exceptions
CognitoIdentity.Client.exceptions.InvalidParameterException
CognitoIdentity.Client.exceptions.ResourceNotFoundException
CognitoIdentity.Client.exceptions.NotAuthorizedException
CognitoIdentity.Client.exceptions.TooManyRequestsException
CognitoIdentity.Client.exceptions.InternalErrorException