Chatbot / Client / list_tags_for_resource

list_tags_for_resource#

Chatbot.Client.list_tags_for_resource(**kwargs)#

Retrieves the list of tags applied to a configuration.

See also: AWS API Documentation

Request Syntax

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

ResourceARN (string) – [REQUIRED] The ARN of the configuration.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': [
        {
            'TagKey': 'string',
            'TagValue': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • Tags (list) – A list of tags applied to the configuration.

      • (dict) – A tag applied to the configuration.

        • TagKey (string) – The tag key.

        • TagValue (string) – The tag value.

Exceptions

  • Chatbot.Client.exceptions.InternalServiceError

  • Chatbot.Client.exceptions.ServiceUnavailableException

  • Chatbot.Client.exceptions.ResourceNotFoundException