aws.sagemaker.list_training_jobs
Example SQL Queries
SELECT * FROMaws.sagemaker.list_training_jobs;Description
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
Table Definition
| Column Name | Column Data Type |
|---|---|
| creation_time_after Input Column A filter that returns only training jobs created after the specified time (timestamp). | TIMESTAMP_S |
| creation_time_before Input Column A filter that returns only training jobs created before the specified time (timestamp). | TIMESTAMP_S |
| last_modified_time_after Input Column A filter that returns only training jobs modified after the specified time (timestamp). | TIMESTAMP_S |
| last_modified_time_before Input Column A filter that returns only training jobs modified before the specified time (timestamp). | TIMESTAMP_S |
| name_contains Input Column A string in the training job name. This filter returns only training jobs whose name contains the specified string. | VARCHAR |
| sort_by Input Column The field to sort results by. The default is CreationTime. | VARCHAR |
| sort_order Input Column The sort order for results. The default is Ascending. | VARCHAR |
| status_equals Input Column A filter that retrieves only training jobs with a specific status. | VARCHAR |
| warm_pool_status_equals Input Column A filter that retrieves only training jobs with a specific warm pool status. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| creation_time A timestamp that shows when the training job was created. | TIMESTAMP_S |
| last_modified_time Timestamp when the training job was last modified. | TIMESTAMP_S |
| training_end_time A timestamp that shows when the training job ended. This field is set only if the training job has one of the terminal statuses (Completed, Failed, or Stopped). | TIMESTAMP_S |
| training_job_arn The Amazon Resource Name (ARN) of the training job. | VARCHAR |
| training_job_name The name of the training job that you want a summary for. | VARCHAR |
| training_job_status The status of the training job. | VARCHAR |
| warm_pool_status The status of the warm pool associated with the training job. | STRUCT( |
Show child fields
| |