@Override
    public DeleteComputeEnvironmentResult deleteComputeEnvironment(DeleteComputeEnvironmentRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteComputeEnvironment(request);
    }
<p>
Deletes an Batch compute environment.
</p>
<p>
Before you can delete a compute environment, you must set its state to <code>DISABLED</code> with the
<a>UpdateComputeEnvironment</a> API operation and disassociate it from any job queues with the
<a>UpdateJobQueue</a> API operation. Compute environments that use Fargate resources must terminate all active
jobs on that compute environment before deleting the compute environment. If this isn't done, the compute
environment enters an invalid state.
</p>

@param deleteComputeEnvironmentRequest
       Contains the parameters for <code>DeleteComputeEnvironment</code>.
@return Result of the DeleteComputeEnvironment operation returned by the service.
@throws ClientException
        These errors are usually caused by a client action. One example cause is using an action or resource on
        behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying
        an identifier that's not valid.
@throws ServerException
        These errors are usually caused by a server issue.
@sample AWSBatch.DeleteComputeEnvironment
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment" target="_top">AWS
     API Documentation</a>
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/AWSBatchClient.java