tag_resource

DocDBElastic.Client.tag_resource(**kwargs)

Adds metadata tags to a Elastic DocumentDB resource

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    resourceArn='string',
    tags={
        'string': 'string'
    }
)
Parameters
  • resourceArn (string) --

    [REQUIRED]

    The arn of the Elastic DocumentDB resource.

  • tags (dict) --

    [REQUIRED]

    The tags to be assigned to the Elastic DocumentDB resource.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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