DescribeVpnConcentrators - Amazon Elastic Compute Cloud

DescribeVpnConcentrators

Describes one or more of your VPN concentrators.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No

Filter.N

One or more filters to limit the results.

Type: Array of Filter objects

Required: No

MaxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Type: Integer

Valid Range: Minimum value of 200. Maximum value of 1000.

Required: No

NextToken

The token for the next page of results.

Type: String

Required: No

VpnConcentratorId.N

One or more VPN concentrator IDs.

Type: Array of strings

Required: No

Response Elements

The following elements are returned by the service.

nextToken

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

requestId

The ID of the request.

Type: String

vpnConcentratorSet

Information about the VPN concentrators.

Type: Array of VpnConcentrator objects

Errors

For information about the errors that are common to all actions, see Common client error codes.

Examples

Example

This example describes all VPN Concentrators.

Sample Request

https://ec2.us-east-1.amazonaws.com/?Version=2016-11-15&Action=DescribeVpnConcentrators

Sample Response

<DescribeVpnConcentratorsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> <requestId>e1d4832f-cef7-4809-b9d4-3e54e50aff7a</requestId> <vpnConcentratorSet> <item> <state>available</state> <tagSet /> <transitGatewayAttachmentId>tgw-attach-04a445da95a6814cc</transitGatewayAttachmentId> <transitGatewayId>tgw-0eae06e326d7c27d8</transitGatewayId> <type>ipsec.1</type> <vpnConcentratorId>vcn-0767cb7521c5c4945</vpnConcentratorId> </item> </vpnConcentratorSet> </DescribeVpnConcentratorsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: