WorkMail / Client / list_tags_for_resource

list_tags_for_resource#

WorkMail.Client.list_tags_for_resource(**kwargs)#

Lists the tags applied to an WorkMail organization resource.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    ResourceARN='string'
)
Parameters:

ResourceARN (string) –

[REQUIRED]

The resource ARN.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • Tags (list) –

      A list of tag key-value pairs.

      • (dict) –

        Describes a tag applied to a resource.

        • Key (string) –

          The key of the tag.

        • Value (string) –

          The value of the tag.

Exceptions

  • WorkMail.Client.exceptions.ResourceNotFoundException