import * as __aws_sdk_types from "@aws-sdk/types"; /** *

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

*/ export interface TestDNSAnswerOutput extends __aws_sdk_types.MetadataBearer { /** *

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

*/ Nameserver: string; /** *

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

*/ RecordName: string; /** *

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

*/ RecordType: "SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | string; /** *

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

*/ RecordData: Array; /** *

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 on the IANA website.

*/ ResponseCode: string; /** *

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

*/ Protocol: string; /** * Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK. */ $metadata: __aws_sdk_types.ResponseMetadata; }