import type * as s3control from "@distilled.cloud/aws/s3-control"; import type * as sts from "@distilled.cloud/aws/sts"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.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 * {@link CreateJob}. The account id is resolved once via * `sts:GetCallerIdentity`. Provide the implementation with * `Effect.provide(AWS.S3Control.DescribeJobHttp)`. * ### Running Batch Operations Jobs * **Example:** Poll a Job's Status * ```typescript * // init — account-level binding, no resource argument * const describeJob = yield* AWS.S3Control.DescribeJob(); * * // runtime * const { Job } = yield* describeJob({ JobId: jobId }); * // Job?.Status === "Complete" * ``` * * @binding */ export interface DescribeJob extends Binding.Service Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const DescribeJob: DescribeJob; //# sourceMappingURL=DescribeJob.d.ts.map