AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Chime.AmazonChimeRequest
      Amazon.Chime.Model.SearchAvailablePhoneNumbersRequest

Namespace: Amazon.Chime.Model
Assembly: AWSSDK.Chime.dll
Version: 3.x.y.z

Syntax

C#
public class SearchAvailablePhoneNumbersRequest : AmazonChimeRequest
         IAmazonWebServiceRequest

The SearchAvailablePhoneNumbersRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AreaCode System.String

Gets and sets the property AreaCode.

The area code used to filter results. Only applies to the US.

Public Property City System.String

Gets and sets the property City.

The city used to filter results. Only applies to the US.

Public Property 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.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return in a single call.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token used to retrieve the next page of results.

Public Property PhoneNumberType Amazon.Chime.PhoneNumberType

Gets and sets the property PhoneNumberType.

The phone number type used to filter results. Required for non-US numbers.

Public Property State System.String

Gets and sets the property State.

The state used to filter results. Required only if you provide City. Only applies to the US.

Public Property TollFreePrefix System.String

Gets and sets the property TollFreePrefix.

The toll-free prefix that you use to filter results. Only applies to the US.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5