update_tags_for_domain

Route53Domains.Client.update_tags_for_domain(**kwargs)

This operation adds or updates tags for a specified domain.

All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.

See also: AWS API Documentation

Request Syntax

response = client.update_tags_for_domain(
    DomainName='string',
    TagsToUpdate=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters
  • DomainName (string) --

    [REQUIRED]

    The domain for which you want to add or update tags.

  • TagsToUpdate (list) --

    A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.

    • (dict) --

      Each tag includes the following elements.

      • Key (string) --

        The key (name) of a tag.

        Valid values: A-Z, a-z, 0-9, space, ".:/=+-@"

        Constraints: Each key can be 1-128 characters long.

      • Value (string) --

        The value of a tag.

        Valid values: A-Z, a-z, 0-9, space, ".:/=+-@"

        Constraints: Each value can be 0-256 characters long.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Route53Domains.Client.exceptions.InvalidInput
  • Route53Domains.Client.exceptions.OperationLimitExceeded
  • Route53Domains.Client.exceptions.UnsupportedTLD