Skip to content

ListJobs

Source: src/AWS/S3Control/ListJobs.ts

Runtime binding for s3:ListJobs (S3 Batch Operations).

Lists the account’s current jobs and the jobs that ended within the last 90 days, optionally filtered by status — e.g. an operations dashboard summarizing in-flight bulk operations. The account id is resolved once via sts:GetCallerIdentity. Provide the implementation with Effect.provide(AWS.S3Control.ListJobsHttp).

// init — account-level binding, no resource argument
const listJobs = yield* AWS.S3Control.ListJobs();
// runtime
const { Jobs } = yield* listJobs({ JobStatuses: ["Active"] });