Invoicing / Client / list_tags_for_resource

list_tags_for_resource

Invoicing.Client.list_tags_for_resource(**kwargs)

Lists the 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 tags to list.

Return type:

dict

Returns:

Response Syntax

{
    'ResourceTags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • ResourceTags (list) –

      Adds a tag to a resource.

      • (dict) –

        The tag structure that contains a tag key and value.

        • Key (string) –

          The object key of your of your resource tag.

        • Value (string) –

          The specific value of the resource tag.

Exceptions

  • Invoicing.Client.exceptions.ResourceNotFoundException

  • Invoicing.Client.exceptions.ValidationException

  • Invoicing.Client.exceptions.InternalServerException

  • Invoicing.Client.exceptions.ThrottlingException

  • Invoicing.Client.exceptions.AccessDeniedException