Searches for available phone numbers that you can claim 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 the traffic distribution group.
See https://www.paws-r-sdk.com/docs/connect_search_available_phone_numbers/ for full documentation.
connect_search_available_phone_numbers(
TargetArn = NULL,
InstanceId = NULL,
PhoneNumberCountryCode,
PhoneNumberType,
PhoneNumberPrefix = NULL,
MaxResults = NULL,
NextToken = NULL
)
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
.
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
.
[required] The ISO country code.
[required] The type of phone number.
The prefix of the phone number. If provided, it must contain +
as part
of the country code.
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.