List all tags added to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon Simple Notification Service Developer Guide .
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceArn='string'
)
[REQUIRED]
The ARN of the topic for which to list tags.
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
The tags associated with the specified topic.
The list of tags to be added to the specified topic.
The required key portion of the tag.
The optional value portion of the tag.
Exceptions
SNS.Client.exceptions.ResourceNotFoundException
SNS.Client.exceptions.TagPolicyException
SNS.Client.exceptions.InvalidParameterException
SNS.Client.exceptions.AuthorizationErrorException
SNS.Client.exceptions.ConcurrentAccessException