Module Values_2.SearchAvailablePhoneNumbersResponseSource

Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with the traffic distribution group.

Sourcetype nonrec t = {
  1. nextToken : Values_1.LargeNextToken.t option;
    (*

    If there are additional results, this is the token for the next set of results.

    *)
  2. availableNumbersList : Values_0.AvailableNumbersList.t option;
    (*

    A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `InternalServiceException of Values_0.InternalServiceException.t
  3. | `InvalidParameterException of Values_0.InvalidParameterException.t
  4. | `ThrottlingException of Values_0.ThrottlingException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?nextToken:??? -> ?availableNumbersList:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidParameterException of Values_0.InvalidParameterException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidParameterException of Values_0.InvalidParameterException.t | `ThrottlingException of Values_0.ThrottlingException.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 [> `Structure of (string * [> `Enum of string | `String of string ]) list ] list | `String of Values_1.LargeNextToken.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