Module Values.UpdatePhoneNumberResponseSource

Updates phone number details, such as product type or calling name, for the specified phone number ID. You can update one phone number detail at a time. For example, you can update either the product type or the calling name in one action. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type. Updates to outbound calling names can take 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.

Sourcetype nonrec t = {
  1. phoneNumber : PhoneNumber.t option;
    (*

    The updated phone number details.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ConflictException of ConflictException.t
  3. | `ForbiddenException of ForbiddenException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `ServiceFailureException of ServiceFailureException.t
  6. | `ServiceUnavailableException of ServiceUnavailableException.t
  7. | `ThrottledClientException of ThrottledClientException.t
  8. | `UnauthorizedClientException of UnauthorizedClientException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?phoneNumber:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `ForbiddenException of ForbiddenException.t | `NotFoundException of NotFoundException.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 -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `ForbiddenException of ForbiddenException.t | `NotFoundException of NotFoundException.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 * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t | `Timestamp of Iso8601Timestamp.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of NullableBoolean.t ]) list | `Timestamp of Iso8601Timestamp.t ]) list ]) 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