IoTSecureTunneling / Client / list_tags_for_resource

list_tags_for_resource#

IoTSecureTunneling.Client.list_tags_for_resource(**kwargs)#

Lists the tags for the specified resource.

See also: AWS API Documentation

Request Syntax

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

resourceArn (string) –

[REQUIRED]

The resource ARN.

Return type:

dict

Returns:

Response Syntax

{
    'tags': [
        {
            'key': 'string',
            'value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • tags (list) –

      The tags for the specified resource.

      • (dict) –

        An arbitary key/value pair used to add searchable metadata to secure tunnel resources.

        • key (string) –

          The key of the tag.

        • value (string) –

          The value of the tag.

Exceptions