AWS SDK for .NET Documentation
DeleteInternetGateway Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2Client ► DeleteInternetGateway(DeleteInternetGatewayRequest)
Did this page help you? Yes No Tell us about it...
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 |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)