Module Values_2.UpdatePhoneNumberResponseSource

Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region. After using this API, you must verify that the phone number is attached to the correct flow in the target instance or traffic distribution group. You need to do this because the API switches only the phone number to a new instance or traffic distribution group. It doesn't migrate the flow configuration of the phone number, too. You can call DescribePhoneNumber API to verify the status of a previous UpdatePhoneNumber operation.

Sourcetype nonrec t = {
  1. phoneNumberId : Values_0.PhoneNumberId.t option;
    (*

    A unique identifier for the phone number.

    *)
  2. phoneNumberArn : Values_0.ARN.t option;
    (*

    The Amazon Resource Name (ARN) of the phone number.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `IdempotencyException of Values_0.IdempotencyException.t
  3. | `InternalServiceException of Values_0.InternalServiceException.t
  4. | `InvalidParameterException of Values_0.InvalidParameterException.t
  5. | `ResourceInUseException of Values_1.ResourceInUseException.t
  6. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  7. | `ThrottlingException of Values_0.ThrottlingException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?phoneNumberId:??? -> ?phoneNumberArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `IdempotencyException of Values_0.IdempotencyException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidParameterException of Values_0.InvalidParameterException.t | `ResourceInUseException of Values_1.ResourceInUseException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.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 | `IdempotencyException of Values_0.IdempotencyException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidParameterException of Values_0.InvalidParameterException.t | `ResourceInUseException of Values_1.ResourceInUseException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.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 * [> `String of Values_0.PhoneNumberId.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