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 ListPhoneNumbersV2 operation.
Lists phone numbers claimed 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 traffic distribution
group.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
When given an instance ARN, ListPhoneNumbersV2
returns only the phone numbers
claimed to the instance.
When given a traffic distribution group ARN ListPhoneNumbersV2
returns only
the phone numbers claimed to the traffic distribution group.
Namespace: Amazon.Connect.Model
Assembly: AWSSDK.Connect.dll
Version: 3.x.y.z
public class ListPhoneNumbersV2Request : AmazonConnectRequest IAmazonWebServiceRequest
The ListPhoneNumbersV2Request type exposes the following members
Name | Description | |
---|---|---|
ListPhoneNumbersV2Request() |
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. If both |
|
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. |
|
PhoneNumberCountryCodes | System.Collections.Generic.List<System.String> |
Gets and sets the property PhoneNumberCountryCodes. The ISO country code. |
|
PhoneNumberPrefix | System.String |
Gets and sets the property PhoneNumberPrefix.
The prefix of the phone number. If provided, it must contain |
|
PhoneNumberTypes | System.Collections.Generic.List<System.String> |
Gets and sets the property PhoneNumberTypes. 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. If both |
.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