@Override
    public DetachInternetGatewayResult detachInternetGateway(DetachInternetGatewayRequest request) {
        request = beforeClientExecution(request);
        return executeDetachInternetGateway(request);
    }
<p>
Detaches an internet gateway from a VPC, disabling connectivity between the internet and the VPC. The VPC must
not contain any running instances with Elastic IP addresses or public IPv4 addresses.
</p>

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