Module Values_2.UpdatePhoneNumberRequestSource

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;
    (*

    A unique identifier for the phone number.

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

    The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter InstanceId or TargetArn.

    *)
  3. instanceId : Values_0.InstanceId.t option;
    (*

    The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId or TargetArn.

    *)
  4. clientToken : Values_0.ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    *)
}
Sourceval context_ : string
Sourceval make : ?targetArn:??? -> ?instanceId:??? -> ?clientToken:??? -> phoneNumberId:Values_0.PhoneNumberId.t -> unit -> 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