IoTWireless / Client / list_tags_for_resource

list_tags_for_resource#

IoTWireless.Client.list_tags_for_resource(**kwargs)#

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'
)
Parameters:

ResourceArn (string) –

[REQUIRED]

The ARN of the resource for which you want to list tags.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • Tags (list) –

      The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.

      • (dict) –

        A simple label consisting of a customer-defined key-value pair

        • Key (string) –

          The tag’s key value.

        • Value (string) –

          The tag’s value.

Exceptions