Values.SearchAvailablePhoneNumbersRequestSourceSearches 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.
type nonrec t = {areaCode : String_.t option;The area code used to filter results. Only applies to the US.
*)city : String_.t option;The city used to filter results. Only applies to the US.
*)country : Alpha2CountryCode.t option;The country used to filter results. Defaults to the US Format: ISO 3166-1 alpha-2.
*)state : String_.t option;The state used to filter results. Required only if you provide City. Only applies to the US.
*)tollFreePrefix : TollFreePrefix.t option;The toll-free prefix that you use to filter results. Only applies to the US.
*)phoneNumberType : PhoneNumberType.t option;The phone number type used to filter results. Required for non-US numbers.
*)maxResults : PhoneNumberMaxResults.t option;The maximum number of results to return in a single call.
*)nextToken : String_.t option;The token used to retrieve the next page of results.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of PhoneNumberMaxResults.t
| `String of String_.t ])
list ]