Route53Profiles / Client / list_tags_for_resource

list_tags_for_resource#

Route53Profiles.Client.list_tags_for_resource(**kwargs)#

Lists the tags that you associated with the specified 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) for the resource that you want to list the tags for.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • Tags (dict) –

      The tags that are associated with the resource that you specified in the ListTagsForResource request.

      • (string) –

        • (string) –

Exceptions

  • Route53Profiles.Client.exceptions.ResourceNotFoundException

  • Route53Profiles.Client.exceptions.ThrottlingException

  • Route53Profiles.Client.exceptions.ValidationException

  • Route53Profiles.Client.exceptions.AccessDeniedException

  • Route53Profiles.Client.exceptions.ConflictException