Searches for available phone numbers that you can claim to your Connect Customer instance or traffic distribution group
Source:R/connect_operations.R
connect_search_available_phone_numbers.RdSearches for available phone numbers that you can claim to your Connect Customer 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.
Usage
connect_search_available_phone_numbers(
TargetArn = NULL,
InstanceId = NULL,
PhoneNumberCountryCode,
PhoneNumberType,
PhoneNumberPrefix = NULL,
MaxResults = NULL,
NextToken = NULL
)Arguments
- 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
InstanceIdorTargetArn.- 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
InstanceIdorTargetArn.- PhoneNumberCountryCode
[required] The ISO country code.
- PhoneNumberType
[required] The type of phone number.
- PhoneNumberPrefix
The prefix of the phone number. If provided, it must contain
+as part of the country code.- MaxResults
The maximum number of results to return per page.
- NextToken
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.