Skip to content

Cancel Ml Task Run

glue_cancel_ml_task_run R Documentation

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

glue_cancel_ml_task_run(TransformId, TaskRunId)

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"
)

Request syntax

svc$cancel_ml_task_run(
  TransformId = "string",
  TaskRunId = "string"
)