AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the SearchAvailablePhoneNumbers operation.
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.
Namespace: Amazon.Connect.Model
Assembly: AWSSDK.Connect.dll
Version: 3.x.y.z
public class SearchAvailablePhoneNumbersRequest : AmazonConnectRequest IAmazonWebServiceRequest
The SearchAvailablePhoneNumbersRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
SearchAvailablePhoneNumbersRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
InstanceId | System.String |
Gets and sets the property InstanceId.
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
|
![]() |
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of results to return per page. |
![]() |
NextToken | System.String |
Gets and sets the property 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. |
![]() |
PhoneNumberCountryCode | Amazon.Connect.PhoneNumberCountryCode |
Gets and sets the property PhoneNumberCountryCode. The ISO country code. |
![]() |
PhoneNumberPrefix | System.String |
Gets and sets the property PhoneNumberPrefix.
The prefix of the phone number. If provided, it must contain |
![]() |
PhoneNumberType | Amazon.Connect.PhoneNumberType |
Gets and sets the property PhoneNumberType. The type of phone number. |
![]() |
TargetArn | System.String |
Gets and sets the property TargetArn.
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution
groups that phone number inbound traffic is routed through. You must enter |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5