AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
GET
request to the /Route 53 API version/hostedzoneresource. The response to this request includes a
HostedZones
element with zero, one, or multiple HostedZone
child elements. By default, the list of hosted zones is displayed on a single page.
You can control the length of the page that is displayed by using the MaxItems
parameter. You can use the Marker
parameter to control the hosted zone
that the list begins with.
Namespace: Amazon.Route53
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual ListHostedZonesResponse ListHostedZones()
Exception | Condition |
---|---|
DelegationSetNotReusableException | The specified delegation set has not been marked as reusable. |
InvalidInputException | Some value specified in the request is invalid or the XML document is malformed. |
NoSuchDelegationSetException | The specified delegation set does not exist. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5