Skip to content

CancelJob

Source: src/AWS/DataExchange/CancelJob.ts

Runtime binding for dataexchange:CancelJob.

Cancels a job that has not yet been started (WAITING state). Provide the implementation with Effect.provide(AWS.DataExchange.CancelJobHttp).

const cancelJob = yield* AWS.DataExchange.CancelJob();
// runtime
yield* cancelJob({ JobId: job.Id! });