AWS SDK for .NET Documentation
DeleteInternetGateway Method (request)
AmazonAmazon.EC2AmazonEC2DeleteInternetGateway(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
Parameters
request (DeleteInternetGatewayRequest)
Delete Internet Gateway request
Return Value
Delete Internet Gateway Response from the service
Exceptions

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