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.

ListHostedZonesByNameOutput

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

type ListHostedZonesByNameOutput struct { DNSName *string `type:"string"` HostedZoneId *string `type:"string"` HostedZones []*HostedZone `locationNameList:"HostedZone" type:"list" required:"true"` IsTruncated *bool `type:"boolean" required:"true"` MaxItems *string `type:"string" required:"true"` NextDNSName *string `type:"string"` NextHostedZoneId *string `type:"string"` }

A complex type that contains the response information for the request.

DNSName

Type: *string

For the second and subsequent calls to ListHostedZonesByName, DNSName is the value that you specified for the dnsname parameter in the request that produced the current response.

HostedZoneId

Type: *string

The ID that Amazon Route 53 assigned to the hosted zone when you created it.

HostedZones

A complex type that contains general information about the hosted zone.

IsTruncated

Type: *bool

A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can get the next group of maxitems hosted zones by calling ListHostedZonesByName again and specifying the values of NextDNSName and NextHostedZoneId elements in the dnsname and hostedzoneid parameters.

IsTruncated is a required field

MaxItems

Type: *string

The value that you specified for the maxitems parameter in the call to ListHostedZonesByName that produced the current response.

MaxItems is a required field

NextDNSName

Type: *string

If IsTruncated is true, the value of NextDNSName is the name of the first hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively.

This element is present only if IsTruncated is true.

NextHostedZoneId

Type: *string

If IsTruncated is true, the value of NextHostedZoneId identifies the first hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively.

This element is present only if IsTruncated is true.

Method

GoString

func (s ListHostedZonesByNameOutput) GoString() string

GoString returns the string representation

SetDNSName

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

SetDNSName sets the DNSName field's value.

SetHostedZoneId

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

SetHostedZoneId sets the HostedZoneId field's value.

SetHostedZones

func (s *ListHostedZonesByNameOutput) SetHostedZones(v []*HostedZone) *ListHostedZonesByNameOutput

SetHostedZones sets the HostedZones field's value.

SetIsTruncated

func (s *ListHostedZonesByNameOutput) SetIsTruncated(v bool) *ListHostedZonesByNameOutput

SetIsTruncated sets the IsTruncated field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetNextDNSName

func (s *ListHostedZonesByNameOutput) SetNextDNSName(v string) *ListHostedZonesByNameOutput

SetNextDNSName sets the NextDNSName field's value.

SetNextHostedZoneId

func (s *ListHostedZonesByNameOutput) SetNextHostedZoneId(v string) *ListHostedZonesByNameOutput

SetNextHostedZoneId sets the NextHostedZoneId field's value.

String

func (s ListHostedZonesByNameOutput) String() string

String returns the string representation

On this page: