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