You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Route53::Types::ChangeTagsForResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53::Types::ChangeTagsForResourceRequest
- Defined in:
- (unknown)
Overview
When passing ChangeTagsForResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_type: "healthcheck", # required, accepts healthcheck, hostedzone
resource_id: "TagResourceId", # required
add_tags: [
{
key: "TagKey",
value: "TagValue",
},
],
remove_tag_keys: ["TagKey"],
}
A complex type that contains information about the tags that you want to add, edit, or delete.
Instance Attribute Summary collapse
-
#add_tags ⇒ Array<Types::Tag>
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit
Value
for. -
#remove_tag_keys ⇒ Array<String>
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone.
-
#resource_id ⇒ String
The ID of the resource for which you want to add, change, or delete tags.
-
#resource_type ⇒ String
The type of the resource.
Instance Attribute Details
#add_tags ⇒ Array<Types::Tag>
A complex type that contains a list of the tags that you want to add to
the specified health check or hosted zone and/or the tags that you want
to edit Value
for.
You can add a maximum of 10 tags to a health check or a hosted zone.
#remove_tag_keys ⇒ Array<String>
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
#resource_id ⇒ String
The ID of the resource for which you want to add, change, or delete tags.
#resource_type ⇒ String
The type of the resource.
The resource type for health checks is
healthcheck
.The resource type for hosted zones is
hostedzone
.Possible values:
- healthcheck
- hostedzone