aws.connect.search_available_phone_numbers
Example SQL Queries
SELECT * FROMaws.connect.search_available_phone_numbersWHERE"phone_number_country_code" = 'VALUE'AND "phone_number_type" = 'VALUE';Description
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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| phone_number_country_code Required Input Column The ISO country code. | VARCHAR |
| phone_number_type Required Input Column The type of phone number. | VARCHAR |
| instance_id Input Column 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. | VARCHAR |
| phone_number_prefix Input Column The prefix of the phone number. If provided, it must contain + as part of the country code. | VARCHAR |
| target_arn Input Column 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. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| phone_number The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code]. | VARCHAR |