IoTAnalytics / Client / list_tags_for_resource
list_tags_for_resource#
- IoTAnalytics.Client.list_tags_for_resource(**kwargs)#
Lists the tags (metadata) that you have assigned to the resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The ARN of the resource whose tags you want to list.
- Return type:
dict
- Returns:
Response Syntax
{ 'tags': [ { 'key': 'string', 'value': 'string' }, ] }
Response Structure
(dict) –
tags (list) –
The tags (metadata) that you have assigned to the resource.
(dict) –
A set of key-value pairs that are used to manage the resource.
key (string) –
The tag’s key.
value (string) –
The tag’s value.
Exceptions
IoTAnalytics.Client.exceptions.InvalidRequestException
IoTAnalytics.Client.exceptions.InternalFailureException
IoTAnalytics.Client.exceptions.ServiceUnavailableException
IoTAnalytics.Client.exceptions.ThrottlingException
IoTAnalytics.Client.exceptions.LimitExceededException
IoTAnalytics.Client.exceptions.ResourceNotFoundException