示例#1
0
        public void Route53ChangeTagsForResource()
        {
            #region to-add-or-remove-tags-from-a-hosted-zone-or-health-check-1484084752409

            var client   = new AmazonRoute53Client();
            var response = client.ChangeTagsForResource(new ChangeTagsForResourceRequest
            {
                AddTags = new List <Tag> {
                    new Tag {
                        Key   = "apex",
                        Value = "3874"
                    },
                    new Tag {
                        Key   = "acme",
                        Value = "4938"
                    }
                },
                RemoveTagKeys = new List <string> {
                    "Nadir"
                },
                ResourceId   = "Z3M3LMPEXAMPLE",
                ResourceType = "hostedzone" // Valid values are healthcheck and hostedzone.
            });


            #endregion
        }