Skip to content

Cancels a job run

Description

Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.

Usage

emrcontainers_cancel_job_run(id, virtualClusterId)

Arguments

  • id

    [required] The ID of the job run to cancel.

  • virtualClusterId

    [required] The ID of the virtual cluster for which the job run will be canceled.

Value

A list with the following syntax:

list(
  id = "string",
  virtualClusterId = "string"
)

Request syntax

svc$cancel_job_run(
  id = "string",
  virtualClusterId = "string"
)