Lists all tags for the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags(
Arn='string',
NextToken='string',
MaxResults=123
)
[REQUIRED]
The ARN of the specified resource for which to list tags.
MaxResults
.MaxResults
value, a token is included in the response so that the remaining results can be retrieved.dict
Response Syntax
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Tags (list) --
The tags requested for the specified resource.
(dict) --
A key-value pair that can be associated with a resource.
Key (string) --
The key of a tag. Tag keys are case-sensitive.
Value (string) --
The value of a tag. Tag values are case sensitive and can be null.
NextToken (string) --
The token returned to indicate that there is more data available.
Exceptions
AlexaForBusiness.Client.exceptions.NotFoundException