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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Connect.AmazonConnectRequest
      Amazon.Connect.Model.SearchAvailablePhoneNumbersRequest

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

Syntax

C#
public class SearchAvailablePhoneNumbersRequest : AmazonConnectRequest
         IAmazonWebServiceRequest

The SearchAvailablePhoneNumbersRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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 InstanceId or TargetArn.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return per page.

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

Public Property PhoneNumberCountryCode Amazon.Connect.PhoneNumberCountryCode

Gets and sets the property PhoneNumberCountryCode.

The ISO country code.

Public Property PhoneNumberPrefix System.String

Gets and sets the property PhoneNumberPrefix.

The prefix of the phone number. If provided, it must contain + as part of the country code.

Public Property PhoneNumberType Amazon.Connect.PhoneNumberType

Gets and sets the property PhoneNumberType.

The type of phone number.

Public Property 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 InstanceId or TargetArn.

Version Information

.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