Lists phone numbers claimed 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 traffic distribution group.
See https://www.paws-r-sdk.com/docs/connect_list_phone_numbers_v2/ for full documentation.
connect_list_phone_numbers_v2(
TargetArn = NULL,
InstanceId = NULL,
MaxResults = NULL,
NextToken = NULL,
PhoneNumberCountryCodes = NULL,
PhoneNumberTypes = NULL,
PhoneNumberPrefix = NULL
)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
distribution groups that phone number inbound traffic is routed through.
If both TargetArn
and InstanceId
input are not provided, this API
lists numbers claimed to all the Amazon Connect instances belonging to
your account in the same Amazon Web Services Region as the request.
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. If both TargetArn
and InstanceId
are not provided, this API lists numbers claimed to all
the Amazon Connect instances belonging to your account in the same AWS
Region as the request.
The maximum number of results to return per page.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
The ISO country code.
The type of phone number.
The prefix of the phone number. If provided, it must contain +
as part
of the country code.