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/hostedzonesbyname
resource.
The response to this request includes a HostedZones
element with zero
or more HostedZone
child elements lexicographically ordered by DNS name.
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 DNSName
and HostedZoneId
parameters to control
the hosted zone that the list begins with.
Namespace: Amazon.Route53
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual ListHostedZonesByNameResponse ListHostedZonesByName( ListHostedZonesByNameRequest request )
Container for the necessary parameters to execute the ListHostedZonesByName service method.
Exception | Condition |
---|---|
InvalidDomainNameException | This error indicates that the specified domain name is not valid. |
InvalidInputException | Some value specified in the request is invalid or the XML document is malformed. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5