Attaches a virtual private gateway to a VPC.
            
 Declaration Syntax
 Declaration Syntax| C# | 
AttachVpnGatewayResponse AttachVpnGateway( AttachVpnGatewayRequest request )
 Parameters
 Parameters- request (AttachVpnGatewayRequest)
- Attach Vpn Gateway request
 Return Value
 Return ValueAttach Vpn Gateway  Response from the service
 Remarks
 Remarks
            This is the last step required to get your VPC fully connected
            to your data center before launching instances in it.
            
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| WebException | |
| AmazonEC2Exception |