@Override
    public ListTrainingJobsResult listTrainingJobs(ListTrainingJobsRequest request) {
        request = beforeClientExecution(request);
        return executeListTrainingJobs(request);
    }
<p>
Lists training jobs.
</p>
<note>
<p>
When <code>StatusEquals</code> and <code>MaxResults</code> are set at the same time, the <code>MaxResults</code>
number of training jobs are first retrieved ignoring the <code>StatusEquals</code> parameter and then they are
filtered by the <code>StatusEquals</code> parameter, which is returned as a response.
</p>
<p>
For example, if <code>ListTrainingJobs</code> is invoked with the following parameters:
</p>
<p>
<code>{ ... MaxResults: 100, StatusEquals: InProgress ... }</code>
</p>
<p>
First, 100 trainings jobs with any status, including those other than <code>InProgress</code>, are selected
(sorted according to the creation time, from the most current to the oldest). Next, those with a status of
<code>InProgress</code> are returned.
</p>
<p>
You can quickly test the API using the following Amazon Web Services CLI code.
</p>
<p>
<code>aws sagemaker list-training-jobs --max-results 100 --status-equals InProgress</code>
</p>
</note>

@param listTrainingJobsRequest
@return Result of the ListTrainingJobs operation returned by the service.
@sample AmazonSageMaker.ListTrainingJobs
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs" target="_top">AWS API
     Documentation</a>
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/AmazonSageMakerClient.java