Skip to content

CancelJob

Source: src/AWS/Location/CancelJob.ts

Cancels a running Location batch metadata job.

Runtime binding for the CancelJob operation (IAM action geo:CancelJob), account-scoped — batch jobs are created at runtime so the grant is on *. Provide the implementation with Effect.provide(AWS.Location.CancelJobHttp).

const cancelJob = yield* Location.CancelJob();
yield* cancelJob({ JobId: jobId });