@Override
    public CreateInternetGatewayResult createInternetGateway(CreateInternetGatewayRequest request) {
        request = beforeClientExecution(request);
        return executeCreateInternetGateway(request);
    }
<p>
Creates an internet gateway for use with a VPC. After creating the internet gateway, you attach it to a VPC using
<a>AttachInternetGateway</a>.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html">Internet gateways</a> in the
<i>Amazon VPC User Guide</i>.
</p>

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