Lists the tags (metadata) you have assigned to the resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
resourceArn='string'
)
[REQUIRED]
The ARN of the resource.
{
'tags': [
{
'key': 'string',
'value': 'string'
},
]
}
Response Structure
The list of tags assigned to the resource.
Metadata that can be used to manage the resource.
The tag's key.
The tag's value.
Exceptions
IoTEvents.Client.exceptions.InvalidRequestException
IoTEvents.Client.exceptions.ResourceNotFoundException
IoTEvents.Client.exceptions.ResourceInUseException
IoTEvents.Client.exceptions.ThrottlingException
IoTEvents.Client.exceptions.InternalFailureException