Cancels (stops) a task run. Machine learning task runs are asynchronous
tasks that AWS 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
.
glue_cancel_ml_task_run(TransformId, TaskRunId)
[required] The unique identifier of the machine learning transform.
[required] A unique identifier for the task run.
A list with the following syntax:
list( TransformId = "string", TaskRunId = "string", Status = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|"SUCCEEDED"|"FAILED"|"TIMEOUT" )
svc$cancel_ml_task_run( TransformId = "string", TaskRunId = "string" )