AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Lists training jobs.

When StatusEquals and MaxResults are set at the same time, the MaxResults number of training jobs are first retrieved ignoring the StatusEquals parameter and then they are filtered by the StatusEquals parameter, which is returned as a response.

For example, if ListTrainingJobs is invoked with the following parameters:

{ ... MaxResults: 100, StatusEquals: InProgress ... }

First, 100 trainings jobs with any status, including those other than InProgress, are selected (sorted according to the creation time, from the most current to the oldest). Next, those with a status of InProgress are returned.

You can quickly test the API using the following Amazon Web Services CLI code.

aws sagemaker list-training-jobs --max-results 100 --status-equals InProgress

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListTrainingJobsAsync.

Namespace: Amazon.SageMaker
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z

Syntax

C#
public abstract ListTrainingJobsResponse ListTrainingJobs(
         ListTrainingJobsRequest request
)

Parameters

request
Type: Amazon.SageMaker.Model.ListTrainingJobsRequest

Container for the necessary parameters to execute the ListTrainingJobs service method.

Return Value


The response from the ListTrainingJobs service method, as returned by SageMaker.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also