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.

ListResourceRecordSetsInput

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

type ListResourceRecordSetsInput struct { HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` StartRecordIdentifier *string `location:"querystring" locationName:"identifier" min:"1" type:"string"` StartRecordName *string `location:"querystring" locationName:"name" type:"string"` StartRecordType *string `location:"querystring" locationName:"type" type:"string" enum:"RRType"` }

A request for the resource record sets that are associated with a specified hosted zone.

HostedZoneId

Type: *string

The ID of the hosted zone that contains the resource record sets that you want to list.

HostedZoneId is a required field

MaxItems

Type: *string

(Optional) The maximum number of resource records sets to include in the response body for this request. If the response includes more than maxitems resource record sets, the value of the IsTruncated element in the response is true, and the values of the NextRecordName and NextRecordType elements in the response identify the first resource record set in the next group of maxitems resource record sets.

StartRecordIdentifier

Type: *string

Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.

StartRecordName

Type: *string

The first name in the lexicographic ordering of resource record sets that you want to list.

StartRecordType

Type: *string

The type of resource record set to begin the record listing from.

Valid values for basic resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | NS | PTR | SOA | SPF | SRV | TXT

Values for weighted, latency, geolocation, and failover resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | PTR | SPF | SRV | TXT

Values for alias resource record sets:

  • CloudFront distribution: A or AAAA

  • Elastic Beanstalk environment that has a regionalized subdomain: A

  • ELB load balancer: A | AAAA

  • Amazon S3 bucket: A

  • Another resource record set in this hosted zone: The type of the resource record set that the alias references.

Constraint: Specifying type without specifying name returns an InvalidInput error.

Method

GoString

func (s ListResourceRecordSetsInput) GoString() string

GoString returns the string representation

SetHostedZoneId

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

SetHostedZoneId sets the HostedZoneId field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetStartRecordIdentifier

func (s *ListResourceRecordSetsInput) SetStartRecordIdentifier(v string) *ListResourceRecordSetsInput

SetStartRecordIdentifier sets the StartRecordIdentifier field's value.

SetStartRecordName

func (s *ListResourceRecordSetsInput) SetStartRecordName(v string) *ListResourceRecordSetsInput

SetStartRecordName sets the StartRecordName field's value.

SetStartRecordType

func (s *ListResourceRecordSetsInput) SetStartRecordType(v string) *ListResourceRecordSetsInput

SetStartRecordType sets the StartRecordType field's value.

String

func (s ListResourceRecordSetsInput) String() string

String returns the string representation

Validate

func (s *ListResourceRecordSetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: