Skip to contents

Updates your claimed phone number from its current Connect Customer instance or traffic distribution group to another Connect Customer instance or traffic distribution group in the same Amazon Web Services Region.

See https://www.paws-r-sdk.com/docs/connect_update_phone_number/ for full documentation.

Usage

connect_update_phone_number(
  PhoneNumberId,
  TargetArn = NULL,
  InstanceId = NULL,
  ClientToken = NULL
)

Arguments

PhoneNumberId

[required] A unique identifier for the phone number.

TargetArn

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

InstanceId

The identifier of the Connect Customer 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.

ClientToken

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.