Class: Aws::Route53::Types::ChangeTagsForResourceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-route53/types.rb

Overview

Note:

When making an API call, you may pass ChangeTagsForResourceRequest data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#add_tagsArray<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.

Returns:


928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-route53/types.rb', line 928

class ChangeTagsForResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :add_tags,
  :remove_tag_keys)
  SENSITIVE = []
  include Aws::Structure
end

#remove_tag_keysArray<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.

Returns:

  • (Array<String>)

928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-route53/types.rb', line 928

class ChangeTagsForResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :add_tags,
  :remove_tag_keys)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

The ID of the resource for which you want to add, change, or delete tags.

Returns:

  • (String)

928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-route53/types.rb', line 928

class ChangeTagsForResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :add_tags,
  :remove_tag_keys)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of the resource.

  • The resource type for health checks is `healthcheck`.

  • The resource type for hosted zones is `hostedzone`.

Returns:

  • (String)

928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-route53/types.rb', line 928

class ChangeTagsForResourceRequest < Struct.new(
  :resource_type,
  :resource_id,
  :add_tags,
  :remove_tag_keys)
  SENSITIVE = []
  include Aws::Structure
end