list_tags_for_resource

DocDBElastic.Client.list_tags_for_resource(**kwargs)

Lists all tags on a Elastic DocumentDB resource

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    resourceArn='string'
)
Parameters
resourceArn (string) --

[REQUIRED]

The arn of the Elastic DocumentDB resource.

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

Response Structure

  • (dict) --
    • tags (dict) --

      The list of tags for the specified Elastic DocumentDB resource.

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

Exceptions

  • DocDBElastic.Client.exceptions.ThrottlingException
  • DocDBElastic.Client.exceptions.ValidationException
  • DocDBElastic.Client.exceptions.InternalServerException
  • DocDBElastic.Client.exceptions.ResourceNotFoundException