List tags for a CloudFront resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
Resource='string'
)
[REQUIRED]
An ARN of a CloudFront resource.
{
'Tags': {
'Items': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
The returned result of the corresponding request.
A complex type that contains zero or more Tag
elements.
A complex type that contains Tag
elements.
A complex type that contains Tag
key and Tag
value.
A string that contains Tag
key.
The string length should be between 1 and 128 characters. Valid characters include a-z
, A-Z
, 0-9
, space, and the special characters _ - . : / = + @
.
A string that contains an optional Tag
value.
The string length should be between 0 and 256 characters. Valid characters include a-z
, A-Z
, 0-9
, space, and the special characters _ - . : / = + @
.
Exceptions
CloudFront.Client.exceptions.AccessDenied
CloudFront.Client.exceptions.InvalidArgument
CloudFront.Client.exceptions.InvalidTagging
CloudFront.Client.exceptions.NoSuchResource