WorkSpacesThinClient / Client / list_tags_for_resource

list_tags_for_resource#

WorkSpacesThinClient.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': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • tags (dict) –

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

      • (string) –

        • (string) –

Exceptions