IoT1ClickDevicesService / Client / list_tags_for_resource

list_tags_for_resource#

IoT1ClickDevicesService.Client.list_tags_for_resource(**kwargs)#

Lists the tags associated with the specified resource ARN.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    ResourceArn='string'
)
Parameters:

ResourceArn (string) –

[REQUIRED]

The ARN of the resource.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Tags (dict) –

      A collection of key/value pairs defining the resource tags. For example, { “tags”: {“key1”: “value1”, “key2”: “value2”} }. For more information, see AWS Tagging Strategies.

      • (string) –

        • (string) –

Exceptions