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 phone numbers that can be ordered. For US numbers, provide at least one
of the following search filters: AreaCode
, City
, State
, or TollFreePrefix
.
If you provide City
, you must also provide State
. Numbers outside the
US only support the PhoneNumberType
filter, which you must use.
Namespace: Amazon.Chime.Model
Assembly: AWSSDK.Chime.dll
Version: 3.x.y.z
public class SearchAvailablePhoneNumbersRequest : AmazonChimeRequest IAmazonWebServiceRequest
The SearchAvailablePhoneNumbersRequest type exposes the following members
Name | Description | |
---|---|---|
SearchAvailablePhoneNumbersRequest() |
Name | Type | Description | |
---|---|---|---|
AreaCode | System.String |
Gets and sets the property AreaCode. The area code used to filter results. Only applies to the US. |
|
City | System.String |
Gets and sets the property City. The city used to filter results. Only applies to the US. |
|
Country | System.String |
Gets and sets the property Country. The country used to filter results. Defaults to the US Format: ISO 3166-1 alpha-2. |
|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of results to return in a single call. |
|
NextToken | System.String |
Gets and sets the property NextToken. The token used to retrieve the next page of results. |
|
PhoneNumberType | Amazon.Chime.PhoneNumberType |
Gets and sets the property PhoneNumberType. The phone number type used to filter results. Required for non-US numbers. |
|
State | System.String |
Gets and sets the property State.
The state used to filter results. Required only if you provide |
|
TollFreePrefix | System.String |
Gets and sets the property TollFreePrefix. The toll-free prefix that you use to filter results. Only applies to the US. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5