AppFabric / Client / list_tags_for_resource

list_tags_for_resource#

AppFabric.Client.list_tags_for_resource(**kwargs)#

Returns a list of tags for a resource.

See also: AWS API Documentation

Request Syntax

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

resourceArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the resource for which you want to retrieve tags.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • tags (list) –

      A map of the key-value pairs for the tag or tags assigned to the specified resource.

      • (dict) –

        The key or keys of the key-value pairs for the tag or tags assigned to a resource.

        • key (string) –

          Tag key.

        • value (string) –

          Tag value.

Exceptions