WorkLink / Client / list_tags_for_resource

list_tags_for_resource#

WorkLink.Client.list_tags_for_resource(**kwargs)#

Retrieves a list of tags for the specified resource.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

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 fleet.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • Tags (dict) –

      The tags attached to the resource. A tag is a key-value pair.

      • (string) –

        • (string) –

Exceptions

  • WorkLink.Client.exceptions.InvalidRequestException