AttachInternetGateway
GET /?Action=AttachInternetGateway
Description
Attaches an Internet gateway to a Virtual Private Cloud (VPC).
To enable the connection between the Internet and a VPC, you must attach an Internet gateway to this VPC.
Body parameter
Required: false
Name: AttachInternetGatewayRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
InternetGatewayId |
The ID of the Internet gateway. |
true |
string |
||
VpcId |
The ID of the VPC. |
true |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
AttachInternetGatewayResult |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
return |
If |
false |
boolean |