Gives you information about your VPN gateways.

C# |
DescribeVpnGatewaysResponse DescribeVpnGateways( DescribeVpnGatewaysRequest request )

- request (DescribeVpnGatewaysRequest)
- Describe Vpn Gateways request

Describe Vpn Gateways Response from the service

You can filter the results to return information
only about VPN gateways that match criteria you specify. For example,
you could ask to get information about a particular VPN gateway (or all) only
if the gateway's state is pending or available. You can specify
multiple filters (e.g., the VPN gateway is in a particular
Availability Zone and the gateway's state is pending or available).
The result includes information for a particular VPN gateway only if
the gateway matches all your filters. If there's no match, no
special message is returned; the response is simply empty.
The returned information consists of:
1. The VPN gateway ID - The current state of the VPN gateway
(pending, available, deleting, deleted)
2. The type of VPN connection the VPN gateway supports.
3. The Availability Zone where the VPN gateway was created.
4. The VPCs the VPN gateway is attached to and the state of each
attachment (attaching, attached, detaching, detached)

Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |