Skip to content

CancelSteps

Source: src/AWS/EMR/CancelSteps.ts

Runtime binding for elasticmapreduce:CancelSteps — cancels pending or running steps on the bound cluster. Cancellation is asynchronous — poll DescribeStep for the final state.

const cancelSteps = yield* AWS.EMR.CancelSteps(cluster);
const { CancelStepsInfoList } = yield* cancelSteps({
StepIds: [stepId],
StepCancellationOption: "SEND_INTERRUPT",
});