DescribeVpcs
GET /?Action=DescribeVpcs
Description
Describes one or more Virtual Private Clouds (VPCs).
You can use the Filter.N parameter to filter the VPCs on the following properties:
-
vpc-id: The ID of the VPC. -
state: The state of the VPC (pending|available). -
cidr: The exact CIDR block of the VPC. -
cidr-block: The exact CIDR block of the VPC (similar tocidrandcidrBlock). -
cidrBlock: The exact CIDR block of the VPC (similar tocidrandcidr-block). -
dhcp-options-id: The ID of a set of DHCP options. -
is-default: Indicates whether the VPC is the default one. -
isDefault: Alias to is-default filter. -
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, whereXXXXis the key of the tag.
|
Note
|
If you exceed the number of identical requests allowed for a configured time period, the |
Body parameter
Required: false
Name: DescribeVpcsRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
Filter.N |
One or more filters. Example: |
false |
|||
VpcId.N |
One or more VPC IDs. |
false |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
DescribeVpcsResult |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
vpcSet |
Information about the specified and described VPCs. |
false |