Module Values.TestDNSAnswerResponseSource

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

Sourcetype nonrec t = {
  1. nameserver : Nameserver.t option;
    (*

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

    *)
  2. recordName : DNSName.t option;
    (*

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

    *)
  3. recordType : RRType.t option;
    (*

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

    *)
  4. recordData : RecordData.t option;
    (*

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

    *)
  5. responseCode : DNSRCode.t option;
    (*

    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.

    *)
  6. protocol : TransportProtocol.t option;
    (*

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

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidInput of InvalidInput.t
  2. | `NoSuchHostedZone of NoSuchHostedZone.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?nameserver:??? -> ?recordName:??? -> ?recordType:??? -> ?recordData:??? -> ?responseCode:??? -> ?protocol:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInput of InvalidInput.t | `NoSuchHostedZone of NoSuchHostedZone.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInput of InvalidInput.t | `NoSuchHostedZone of NoSuchHostedZone.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of RecordDataEntry.t ] list | `String of Nameserver.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t