AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 3.5
To retrieve a list of your hosted zones in lexicographic order, send a 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. Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.

Namespace: Amazon.Route53
Assembly: AWSSDK.dll
Version: (assembly version)


public virtual ListHostedZonesByNameResponse ListHostedZonesByName(
         ListHostedZonesByNameRequest request


Type: Amazon.Route53.Model.ListHostedZonesByNameRequest

Container for the necessary parameters to execute the ListHostedZonesByName service method.

Return Value
Type: Amazon.Route53.Model.ListHostedZonesByNameResponse
The response from the ListHostedZonesByName service method, as returned by Route53.


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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5