List tags for a resource. For more information, see Proton resources and tagging in the Proton User Guide .
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
maxResults=123,
nextToken='string',
resourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource for the listed tags.
dict
Response Syntax
{
'nextToken': 'string',
'tags': [
{
'key': 'string',
'value': 'string'
},
]
}
Response Structure
(dict) --
nextToken (string) --
A token that indicates the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.
tags (list) --
A list of resource tags with detail data.
(dict) --
A description of a resource tag.
key (string) --
The key of the resource tag.
value (string) --
The value of the resource tag.
Exceptions
Proton.Client.exceptions.ValidationException
Proton.Client.exceptions.AccessDeniedException
Proton.Client.exceptions.ThrottlingException
Proton.Client.exceptions.ResourceNotFoundException
Proton.Client.exceptions.InternalServerException