ChangeTagsForResource#

Description#

Request to add, change or remove tags for a DNS zone.

Request Parameters#

Required parameters#

  • ResourceId — The resource ID.

    • Type: Array of strings

    • Required: Yes

  • ResourceType — The resource type.

    • Type: String

    • Required: Yes

    • Valid values: hostedzone

Optional parameters#

  • AddTags — Tags to assign to the resource.

    • Type: List of Tag objects

    • Required: No

  • RemoveTagKeys — The names of the tag keys assigned to the resource.

    • Type: Array of strings

    • Required: No

Examples#

c2-route53 ChangeTagsForResource ResourceId z-xxxxxxxx ResourceType hostedzone AddTags.1.Key key1 AddTags.1.Value value1

c2-route53 ChangeTagsForResource ResourceId z-xxxxxxxx ResourceType hostedzone RemoveTagKeys.1 key1

c2-route53 ChangeTagsForResource ResourceId z-xxxxxxxx ResourceType hostedzone AddTags.1.Key key1 AddTags.1.Value value1 RemoveTagKeys.1 key1