Module Values.CheckDomainAvailabilityResponseSource

The CheckDomainAvailability response includes the following elements.

Sourcetype nonrec t = {
  1. availability : DomainAvailability.t option;
    (*

    Whether the domain name is available for registering. You can register only domains designated as AVAILABLE. Valid values: AVAILABLE The domain name is available. AVAILABLE_RESERVED The domain name is reserved under specific conditions. AVAILABLE_PREORDER The domain name is available and can be preordered. DONT_KNOW The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later. INVALID_NAME_FOR_TLD The TLD isn't valid. For example, it can contain characters that aren't allowed. PENDING The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately. RESERVED The domain name has been reserved for another person or organization. UNAVAILABLE The domain name is not available. UNAVAILABLE_PREMIUM The domain name is not available. UNAVAILABLE_RESTRICTED The domain name is forbidden.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidInput of InvalidInput.t
  2. | `TLDInMaintenance of TLDInMaintenance.t
  3. | `UnsupportedTLD of UnsupportedTLD.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?availability:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInput of InvalidInput.t | `TLDInMaintenance of TLDInMaintenance.t | `Unknown_operation_error of string * string option | `UnsupportedTLD of UnsupportedTLD.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInput of InvalidInput.t | `TLDInMaintenance of TLDInMaintenance.t | `Unknown_operation_error of string * string option | `UnsupportedTLD of UnsupportedTLD.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string ]) 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