You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Route53::Types::ListTagsForResourceRequest

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

Overview

Note:

When making an API call, you may pass ListTagsForResourceRequest data as a hash:

{
  resource_type: "healthcheck", # required, accepts healthcheck, hostedzone
  resource_id: "TagResourceId", # required
}

A complex type containing information about a request for a list of the tags that are associated with an individual resource.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The ID of the resource for which you want to retrieve tags.

Returns:

  • (String)


3514
3515
3516
3517
3518
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 3514

class ListTagsForResourceRequest < Struct.new(
  :resource_type,
  :resource_id)
  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)


3514
3515
3516
3517
3518
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 3514

class ListTagsForResourceRequest < Struct.new(
  :resource_type,
  :resource_id)
  include Aws::Structure
end