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:UpdateJobStatus` (S3 Batch Operations). * * Confirms a suspended job so it runs (`Ready`) or cancels it * (`Cancelled`) — e.g. an approval workflow that releases a bulk delete * only after a human signs off. The account id is resolved once via * `sts:GetCallerIdentity`. Provide the implementation with * `Effect.provide(AWS.S3Control.UpdateJobStatusHttp)`. * ### Running Batch Operations Jobs * **Example:** Cancel a Job * ```typescript * // init — account-level binding, no resource argument * const updateJobStatus = yield* AWS.S3Control.UpdateJobStatus(); * * // runtime * yield* updateJobStatus({ * JobId: jobId, * RequestedJobStatus: "Cancelled", * StatusUpdateReason: "superseded by newer manifest", * }); * ``` * * @binding */ export interface UpdateJobStatus extends Binding.Service Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const UpdateJobStatus: UpdateJobStatus; //# sourceMappingURL=UpdateJobStatus.d.ts.map