ml_task_runs
Creates, updates, deletes, gets or lists a ml_task_runs resource.
Overview
| Name | ml_task_runs |
| Type | Resource |
| Id | aws.glue.ml_task_runs |
Fields
The following fields are returned by SELECT queries:
- get_ml_task_run
- get_ml_task_runs
| Name | Datatype | Description |
|---|---|---|
completed_on | string (date-time) | The date and time when this task run was completed. |
error_string | string | The error strings that are associated with the task run. |
execution_time | integer | The amount of time (in seconds) that the task run consumed resources. |
last_modified_on | string (date-time) | The date and time when this task run was last modified. |
log_group_name | string | The names of the log groups that are associated with the task run. |
properties | object | The list of properties that are associated with the task run. |
started_on | string (date-time) | The date and time when this task run started. |
status | string | The status for this task run. (STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT) |
task_run_id | string | The unique run identifier associated with this run. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>) |
transform_id | string | The unique identifier of the task run. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>) |
| Name | Datatype | Description |
|---|---|---|
next_token | string | A pagination token, if more results are available. |
task_runs | array | A list of task runs that are associated with the transform. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_ml_task_run | select | region | Gets details for a specific task run on a machine learning transform. Machine learning task runs are asynchronous tasks that Glue runs on your behalf as part of various machine learning workflows. You can check the stats of any task run by calling GetMLTaskRun with the TaskRunID and its parent transform's TransformID. | |
get_ml_task_runs | select | region | Gets a list of runs for a machine learning transform. Machine learning task runs are asynchronous tasks that Glue runs on your behalf as part of various machine learning workflows. You can get a sortable, filterable list of machine learning task runs by calling GetMLTaskRuns with their parent transform's TransformID and other optional parameters as documented in this section. This operation returns a list of historic runs and must be paginated. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_ml_task_run
- get_ml_task_runs
Gets details for a specific task run on a machine learning transform. Machine learning task runs are asynchronous tasks that Glue runs on your behalf as part of various machine learning workflows. You can check the stats of any task run by calling GetMLTaskRun with the TaskRunID and its parent transform's TransformID.
SELECT
completed_on,
error_string,
execution_time,
last_modified_on,
log_group_name,
properties,
started_on,
status,
task_run_id,
transform_id
FROM aws.glue.ml_task_runs
WHERE region = '{{ region }}' -- required
;
Gets a list of runs for a machine learning transform. Machine learning task runs are asynchronous tasks that Glue runs on your behalf as part of various machine learning workflows. You can get a sortable, filterable list of machine learning task runs by calling GetMLTaskRuns with their parent transform's TransformID and other optional parameters as documented in this section. This operation returns a list of historic runs and must be paginated.
SELECT
next_token,
task_runs
FROM aws.glue.ml_task_runs
WHERE region = '{{ region }}' -- required
;