Skip to content

CancelJobRun

Source: src/AWS/EMRServerless/CancelJobRun.ts

Runtime binding for emr-serverless:CancelJobRun.

Cancels a running or queued job run on the bound Application — the kill switch for a runaway or superseded job. Provide the implementation with Effect.provide(AWS.EMRServerless.CancelJobRunHttp).

// init
const cancelJobRun = yield* AWS.EMRServerless.CancelJobRun(app);
// runtime
yield* cancelJobRun({ jobRunId });