Skip to main content

ml_task_runs

Creates, updates, deletes, gets or lists a ml_task_runs resource.

Overview

Nameml_task_runs
TypeResource
Idaws.glue.ml_task_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
completed_onstring (date-time)The date and time when this task run was completed.
error_stringstringThe error strings that are associated with the task run.
execution_timeintegerThe amount of time (in seconds) that the task run consumed resources.
last_modified_onstring (date-time)The date and time when this task run was last modified.
log_group_namestringThe names of the log groups that are associated with the task run.
propertiesobjectThe list of properties that are associated with the task run.
started_onstring (date-time)The date and time when this task run started.
statusstringThe status for this task run. (STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT)
task_run_idstringThe unique run identifier associated with this run. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>)
transform_idstringThe unique identifier of the task run. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ml_task_runselectregionGets 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_runsselectregionGets 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;