@Override
    public DeleteCarrierGatewayResult deleteCarrierGateway(DeleteCarrierGatewayRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteCarrierGateway(request);
    }
<p>
Deletes a carrier gateway.
</p>
<important>
<p>
If you do not delete the route that contains the carrier gateway as the Target, the route is a blackhole route.
For information about how to delete a route, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteRoute.html">DeleteRoute</a>.
</p>
</important>

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