To retrieve a list of your public and private hosted zones, send a GET request to the /2013-04-01/hostedzone resource. The response to this request includes a HostedZones child element for each hosted zone created by the current AWS account.

Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you can use the maxitems parameter to list them in groups of up to 100. The response includes four values that help navigate from one group of maxitems hosted zones to the next:

MaxItemsis the value specified for the maxitems parameter in the request

that produced the current response.

If the value of IsTruncated in the response is true, there are more hosted

zones associated with the current AWS account.

NextMarkeris the hosted zone ID of the next hosted zone that is associated

with the current AWS account. If you want to list more hosted zones, make another call to ListHostedZones, and specify the value of the NextMarker element in the marker parameter.

If IsTruncated is false, the NextMarker element is omitted from the response.

If you're making the second or subsequent call to ListHostedZones, the

Marker element matches the value that you specified in the marker parameter in the previous request.

ListHostedZones is referenced in 3 repositories