Lists all tags that have been added to a resource (either an entity or change set ).
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceArn='string'
)
[REQUIRED]
Required. The Amazon Resource Name (ARN) associated with the resource you want to list tags on.
{
'ResourceArn': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
Required. The ARN associated with the resource you want to list tags on.
Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.
A list of objects specifying each key name and value.
The key associated with the tag.
The value associated with the tag.
Exceptions
MarketplaceCatalog.Client.exceptions.ResourceNotFoundException
MarketplaceCatalog.Client.exceptions.InternalServiceException
MarketplaceCatalog.Client.exceptions.AccessDeniedException
MarketplaceCatalog.Client.exceptions.ValidationException
MarketplaceCatalog.Client.exceptions.ThrottlingException