pub struct ListTrainingJobs<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description

Fluent builder constructing a request to ListTrainingJobs.

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

Implementations

Sends the request and returns the response.

If an error occurs, an SdkError will be returned with additional details that can be matched against.

By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.

Create a paginator for this request

Paginators are used by calling send().await which returns a Stream.

If the result of the previous ListTrainingJobs request was truncated, the response includes a NextToken. To retrieve the next set of training jobs, use the token in the next request.

If the result of the previous ListTrainingJobs request was truncated, the response includes a NextToken. To retrieve the next set of training jobs, use the token in the next request.

The maximum number of training jobs to return in the response.

The maximum number of training jobs to return in the response.

A filter that returns only training jobs created after the specified time (timestamp).

A filter that returns only training jobs created after the specified time (timestamp).

A filter that returns only training jobs created before the specified time (timestamp).

A filter that returns only training jobs created before the specified time (timestamp).

A filter that returns only training jobs modified after the specified time (timestamp).

A filter that returns only training jobs modified after the specified time (timestamp).

A filter that returns only training jobs modified before the specified time (timestamp).

A filter that returns only training jobs modified before the specified time (timestamp).

A string in the training job name. This filter returns only training jobs whose name contains the specified string.

A string in the training job name. This filter returns only training jobs whose name contains the specified string.

A filter that retrieves only training jobs with a specific status.

A filter that retrieves only training jobs with a specific status.

The field to sort results by. The default is CreationTime.

The field to sort results by. The default is CreationTime.

The sort order for results. The default is Ascending.

The sort order for results. The default is Ascending.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more