AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ListHostedZonesByNameInput

import "github.com/aws/aws-sdk-go/service/route53"

type ListHostedZonesByNameInput struct { DNSName *string `location:"querystring" locationName:"dnsname" type:"string"` HostedZoneId *string `location:"querystring" locationName:"hostedzoneid" type:"string"` MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` }

Retrieves a list of the public and private hosted zones that are associated with the current AWS account in ASCII order by domain name.

DNSName

Type: *string

(Optional) For your first request to ListHostedZonesByName, include the dnsname parameter only if you want to specify the name of the first hosted zone in the response. If you don't include the dnsname parameter, Amazon Route 53 returns all of the hosted zones that were created by the current AWS account, in ASCII order. For subsequent requests, include both dnsname and hostedzoneid parameters. For dnsname, specify the value of NextDNSName from the previous response.

HostedZoneId

Type: *string

(Optional) For your first request to ListHostedZonesByName, do not include the hostedzoneid parameter.

If you have more hosted zones than the value of maxitems, ListHostedZonesByName returns only the first maxitems hosted zones. To get the next group of maxitems hosted zones, submit another request to ListHostedZonesByName and include both dnsname and hostedzoneid parameters. For the value of hostedzoneid, specify the value of the NextHostedZoneId element from the previous response.

MaxItems

Type: *string

The maximum number of hosted zones to be included in the response body for this request. If you have more than maxitems hosted zones, then the value of the IsTruncated element in the response is true, and the values of NextDNSName and NextHostedZoneId specify the first hosted zone in the next group of maxitems hosted zones.

Method

GoString

func (s ListHostedZonesByNameInput) GoString() string

GoString returns the string representation

SetDNSName

func (s *ListHostedZonesByNameInput) SetDNSName(v string) *ListHostedZonesByNameInput

SetDNSName sets the DNSName field's value.

SetHostedZoneId

func (s *ListHostedZonesByNameInput) SetHostedZoneId(v string) *ListHostedZonesByNameInput

SetHostedZoneId sets the HostedZoneId field's value.

SetMaxItems

func (s *ListHostedZonesByNameInput) SetMaxItems(v string) *ListHostedZonesByNameInput

SetMaxItems sets the MaxItems field's value.

String

func (s ListHostedZonesByNameInput) String() string

String returns the string representation

On this page: