Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC.
            
 Declaration Syntax
 Declaration Syntax| C# | 
public AttachInternetGatewayResponse AttachInternetGateway( AttachInternetGatewayRequest request )
 Parameters
 Parameters- request (AttachInternetGatewayRequest)
- Attach Internet Gateway request
 Return Value
 Return ValueAttach Internet Gateway  Response from the service
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| WebException | |
| AmazonEC2Exception |