Skip to content

Cancels a job run

Description

Cancels a job run.

Usage

emrserverless_cancel_job_run(applicationId, jobRunId,
  shutdownGracePeriodInSeconds)

Arguments

  • applicationId

    [required] The ID of the application on which the job run will be canceled.

  • jobRunId

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

  • shutdownGracePeriodInSeconds

    The duration in seconds to wait before forcefully terminating the job after cancellation is requested.

Value

A list with the following syntax:

list(
  applicationId = "string",
  jobRunId = "string"
)

Request syntax

svc$cancel_job_run(
  applicationId = "string",
  jobRunId = "string",
  shutdownGracePeriodInSeconds = 123
)