DescribeVpnGateways
GET /?Action=DescribeVpnGateways
Description
Describes one or more virtual private gateways.
You can use the Filter.N
parameter to filter the virtual private gateways on the following properties:
-
attachment.state
: The current attachment state between the gateway and the VPC (attaching
|attached
|detaching
|detached
). -
attachment.vpc-id
: The ID of the VPC the virtual private gateway is attached to. -
state
: The state of the virtual private gateway (pending
|available
|deleting
|deleted
). -
tag-key
: The key of a tag associated with the resource. -
tag-value
: The value of a tag associated with the resource. -
tag:XXXX
: The value of a tag associated with the resource, whereXXXX
is the key of the tag. -
type
: The type of virtual private gateway (onlyipsec.1
is supported). -
vpn-gateway-id
: The ID of the virtual private gateway.
Note
|
If you exceed the number of identical requests allowed for a configured time period, the |
Body parameter
Required: false
Name: DescribeVpnGatewaysRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
DryRun |
If set to |
false |
boolean |
||
Filter.N |
One or more filters. Example: |
false |
|||
VpnGatewayId.N |
One or more virtual private gateways. |
false |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
DescribeVpnGatewaysResult |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
vpnGatewaySet.N |
Information about one or more virtual private gateways. |
false |