CleanRoomsService / Client / list_tags_for_resource

list_tags_for_resource#

CleanRoomsService.Client.list_tags_for_resource(**kwargs)#

Lists all of the tags that have been added to 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) associated with the resource you want to list tags on.

Return type:

dict

Returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • tags (dict) –

      A map of objects specifying each key name and value.

      • (string) –

        • (string) –

Exceptions

  • CleanRoomsService.Client.exceptions.ResourceNotFoundException

  • CleanRoomsService.Client.exceptions.ValidationException