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 4.5
 
To retrieve a list of your hosted zones, send a GET request to the
/Route
            53 API version/hostedzone
resource. 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. 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)

Syntax

C#
public virtual ListHostedZonesResponse ListHostedZones()
Return Value
Type: Amazon.Route53.Model.ListHostedZonesResponse
The response from the ListHostedZones service method, as returned by Route53.

Exceptions

ExceptionCondition
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.

Version Information

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