@Override
    public StopTrainingJobResult stopTrainingJob(StopTrainingJobRequest request) {
        request = beforeClientExecution(request);
        return executeStopTrainingJob(request);
    }
<p>
Stops a training job. To stop a job, SageMaker sends the algorithm the <code>SIGTERM</code> signal, which delays
job termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the
results of the training is not lost.
</p>
<p>
When it receives a <code>StopTrainingJob</code> request, SageMaker changes the status of the job to
<code>Stopping</code>. After SageMaker stops the job, it sets the status to <code>Stopped</code>.
</p>

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