list_tags_for_resource

ResourceExplorer.Client.list_tags_for_resource(**kwargs)

Lists the tags that are attached to 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) of the view or index that you want to attach tags to.

Return type
dict
Returns
Response Syntax
{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • Tags (dict) --

      The tag key and value pairs that you want to attach to the specified view or index.

      • (string) --
        • (string) --

Exceptions

  • ResourceExplorer.Client.exceptions.ResourceNotFoundException
  • ResourceExplorer.Client.exceptions.InternalServerException
  • ResourceExplorer.Client.exceptions.ValidationException
  • ResourceExplorer.Client.exceptions.UnauthorizedException
  • ResourceExplorer.Client.exceptions.ThrottlingException
  • ResourceExplorer.Client.exceptions.AccessDeniedException