Lists all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
resourceARN='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The ARN that specifies the resource whose tags you want to list.
dict
Response Syntax
{
'tags': [
{
'key': 'string',
'value': 'string'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
tags (list) --
A collection of key and value pairs.
(dict) --
A key and value pair.
key (string) --
A tag key.
value (string) --
A value assigned to a tag key.
nextToken (string) --
The next token for subsequent requests.
Exceptions
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.ResourceNotFoundException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException