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.

ListHostedZonesInput

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

type ListHostedZonesInput struct { DelegationSetId *string `location:"querystring" locationName:"delegationsetid" type:"string"` Marker *string `location:"querystring" locationName:"marker" type:"string"` MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` }

A request to retrieve a list of the public and private hosted zones that are associated with the current AWS account.

DelegationSetId

Type: *string

If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.

Marker

Type: *string

If the value of IsTruncated in the previous response was true, you have more hosted zones. To get more hosted zones, submit another ListHostedZones request.

For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first hosted zone that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more hosted zones to get.

MaxItems

Type: *string

(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If you have more than maxitems hosted zones, the value of IsTruncated in the response is true, and the value of NextMarker is the hosted zone ID of the first hosted zone that Route 53 will return if you submit another request.

Method

GoString

func (s ListHostedZonesInput) GoString() string

GoString returns the string representation

SetDelegationSetId

func (s *ListHostedZonesInput) SetDelegationSetId(v string) *ListHostedZonesInput

SetDelegationSetId sets the DelegationSetId field's value.

SetMarker

func (s *ListHostedZonesInput) SetMarker(v string) *ListHostedZonesInput

SetMarker sets the Marker field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

String

func (s ListHostedZonesInput) String() string

String returns the string representation

On this page: