LexModelsV2 / Client / list_tags_for_resource

list_tags_for_resource#

LexModelsV2.Client.list_tags_for_resource(**kwargs)#

Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.

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 the resource to get a list of tags for.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • tags (dict) –

      The tags associated with a resource.

      • (string) –

        • (string) –

Exceptions