@Override
    public DeleteInternetGatewayResult deleteInternetGateway(DeleteInternetGatewayRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteInternetGateway(request);
    }
<p>
Deletes the specified internet gateway. You must detach the internet gateway from the VPC before you can delete
it.
</p>

@param deleteInternetGatewayRequest
@return Result of the DeleteInternetGateway operation returned by the service.
@sample AmazonEC2.DeleteInternetGateway
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGateway" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java