AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
This operation adds or updates tags for a specified domain.

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

Namespace: Amazon.Route53Domains
Assembly: AWSSDK.dll
Version: (assembly version)


public virtual UpdateTagsForDomainResponse UpdateTagsForDomain(
         String domainName,
         List<Tag> tagsToUpdate


Type: System.String

The domain for which you want to add or update tags. The name of a domain. Type: String Default: None Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when theyaposre surrounded by letters, numbers, or other hyphens. You canapost specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode. Required: Yes

Type: List<Amazon.Route53Domains.Model.Tag>

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. Type: A complex type containing a list of tags Default: None Required: No'> Each tag includes the following elements: Key The key (name) of a tag. Type: String Default: None Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-@" Constraints: Each key can be 1-128 characters long. Required: Yes Value The value of a tag. Type: String Default: None Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-@" Constraints: Each value can be 0-256 characters long. Required: Yes

Return Value
Type: Amazon.Route53Domains.Model.UpdateTagsForDomainResponse
The response from the UpdateTagsForDomain service method, as returned by Route53Domains.


InvalidInputException The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.
OperationLimitExceededException The number of operations or jobs running exceeded the allowed threshold for the account.
UnsupportedTLDException Amazon Route 53 does not support this top-level domain.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5