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.

TestDNSAnswerOutput

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

type TestDNSAnswerOutput struct { Nameserver *string `type:"string" required:"true"` Protocol *string `type:"string" required:"true"` RecordData []*string `locationNameList:"RecordDataEntry" type:"list" required:"true"` RecordName *string `type:"string" required:"true"` RecordType *string `type:"string" required:"true" enum:"RRType"` ResponseCode *string `type:"string" required:"true"` }

A complex type that contains the response to a TestDNSAnswer request.

Nameserver

Type: *string

The Amazon Route 53 name server used to respond to the request.

Nameserver is a required field

Protocol

Type: *string

The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP.

Protocol is a required field

RecordData

Type: []*string

A list that contains values that Amazon Route 53 returned for this resource record set.

RecordData is a required field

RecordName

Type: *string

The name of the resource record set that you submitted a request for.

RecordName is a required field

RecordType

Type: *string

The type of the resource record set that you submitted a request for.

RecordType is a required field

ResponseCode

Type: *string

A code that indicates whether the request is valid or not. The most common response code is NOERROR, meaning that the request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. For a list of possible response codes, see DNS RCODES (http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6) on the IANA website.

ResponseCode is a required field

Method

GoString

func (s TestDNSAnswerOutput) GoString() string

GoString returns the string representation

SetNameserver

func (s *TestDNSAnswerOutput) SetNameserver(v string) *TestDNSAnswerOutput

SetNameserver sets the Nameserver field's value.

SetProtocol

func (s *TestDNSAnswerOutput) SetProtocol(v string) *TestDNSAnswerOutput

SetProtocol sets the Protocol field's value.

SetRecordData

func (s *TestDNSAnswerOutput) SetRecordData(v []*string) *TestDNSAnswerOutput

SetRecordData sets the RecordData field's value.

SetRecordName

func (s *TestDNSAnswerOutput) SetRecordName(v string) *TestDNSAnswerOutput

SetRecordName sets the RecordName field's value.

SetRecordType

func (s *TestDNSAnswerOutput) SetRecordType(v string) *TestDNSAnswerOutput

SetRecordType sets the RecordType field's value.

SetResponseCode

func (s *TestDNSAnswerOutput) SetResponseCode(v string) *TestDNSAnswerOutput

SetResponseCode sets the ResponseCode field's value.

String

func (s TestDNSAnswerOutput) String() string

String returns the string representation

On this page: