@Override
    public DeleteTrialResult deleteTrial(DeleteTrialRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteTrial(request);
    }
<p>
Deletes the specified trial. All trial components that make up the trial must be deleted first. Use the <a
href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeTrialComponent.html"
>DescribeTrialComponent</a> API to get the list of trial components.
</p>

@param deleteTrialRequest
@return Result of the DeleteTrial operation returned by the service.
@throws ResourceNotFoundException
        Resource being access is not found.
@sample AmazonSageMaker.DeleteTrial
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial" target="_top">AWS API
     Documentation</a>
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/AmazonSageMakerClient.java