Skip to content

DescribeJob

Source: src/AWS/S3Control/DescribeJob.ts

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

Reads an S3 Batch Operations job’s configuration, status and progress summary — e.g. a controller polling a bulk copy it submitted with CreateJob. The account id is resolved once via sts:GetCallerIdentity. Provide the implementation with Effect.provide(AWS.S3Control.DescribeJobHttp).

// init — account-level binding, no resource argument
const describeJob = yield* AWS.S3Control.DescribeJob();
// runtime
const { Job } = yield* describeJob({ JobId: jobId });
// Job?.Status === "Complete"