Cancels (stops) a task run¶
Description¶
Cancels (stops) a task run. Machine learning task runs are asynchronous tasks that Glue runs on your behalf as part of various machine learning workflows. You can cancel a machine learning task run at any time by calling cancel_ml_task_run with a task run's parent transform's TransformID and the task run's TaskRunId.
Usage¶
Arguments¶
-
TransformId[required] The unique identifier of the machine learning transform.
-
TaskRunId[required] A unique identifier for the task run.
Value¶
A list with the following syntax:
list(
TransformId = "string",
TaskRunId = "string",
Status = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|"SUCCEEDED"|"FAILED"|"TIMEOUT"
)