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

Class: Aws::Route53::Types::ListHostedZonesRequest

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 ListHostedZonesRequest data as a hash:

{
  marker: "PageMarker",
  max_items: 1,
  delegation_set_id: "ResourceId",
}

A request to retrieve a list of the public and private hosted zones that are associated with the current AWS account.

Instance Attribute Summary collapse

Instance Attribute Details

#delegation_set_idString

If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.

Returns:

  • (String)


3390
3391
3392
3393
3394
3395
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 3390

class ListHostedZonesRequest < Struct.new(
  :marker,
  :max_items,
  :delegation_set_id)
  include Aws::Structure
end

#markerString

If the value of IsTruncated in the previous response was true, you have more hosted zones. To get more hosted zones, submit another ListHostedZones request.

For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first hosted zone that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more hosted zones to get.

Returns:

  • (String)


3390
3391
3392
3393
3394
3395
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 3390

class ListHostedZonesRequest < Struct.new(
  :marker,
  :max_items,
  :delegation_set_id)
  include Aws::Structure
end

#max_itemsInteger

(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If you have more than maxitems hosted zones, the value of IsTruncated in the response is true, and the value of NextMarker is the hosted zone ID of the first hosted zone that Amazon Route 53 will return if you submit another request.

Returns:

  • (Integer)


3390
3391
3392
3393
3394
3395
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 3390

class ListHostedZonesRequest < Struct.new(
  :marker,
  :max_items,
  :delegation_set_id)
  include Aws::Structure
end