Module Values.SearchAvailablePhoneNumbersResponseSource

Searches for phone numbers that can be ordered. For US numbers, provide at least one of the following search filters: AreaCode, City, State, or TollFreePrefix. If you provide City, you must also provide State. Numbers outside the US only support the PhoneNumberType filter, which you must use.

Sourcetype nonrec t = {
  1. e164PhoneNumbers : E164PhoneNumberList.t option;
    (*

    List of phone numbers, in E.164 format.

    *)
  2. nextToken : String_.t option;
    (*

    The token used to retrieve the next page of search results.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `BadRequestException of BadRequestException.t
  3. | `ForbiddenException of ForbiddenException.t
  4. | `ServiceFailureException of ServiceFailureException.t
  5. | `ServiceUnavailableException of ServiceUnavailableException.t
  6. | `ThrottledClientException of ThrottledClientException.t
  7. | `UnauthorizedClientException of UnauthorizedClientException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?e164PhoneNumbers:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `ServiceFailureException of ServiceFailureException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottledClientException of ThrottledClientException.t | `UnauthorizedClientException of UnauthorizedClientException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `ServiceFailureException of ServiceFailureException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottledClientException of ThrottledClientException.t | `UnauthorizedClientException of UnauthorizedClientException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of E164PhoneNumber.t ] list | `String of String_.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