Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC. For
more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
Declaration Syntax
C# |
public DeleteInternetGatewayResponse DeleteInternetGateway( DeleteInternetGatewayRequest request )
Parameters
- request (DeleteInternetGatewayRequest)
- Delete Internet Gateway request
Return Value
Delete Internet Gateway Response from the service
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |