Skip to content

DescribeJob

Source: src/AWS/Glacier/DescribeJob.ts

Runtime binding for the DescribeJob operation (IAM action glacier:DescribeJob on the vault ARN).

Reads the status of a job previously started with InitiateJob on the bound Vault — its action, status code, and completion flag. Provide the implementation with Effect.provide(AWS.Glacier.DescribeJobHttp).

const describeJob = yield* AWS.Glacier.DescribeJob(vault);
const job = yield* describeJob({ jobId });
if (job.Completed) {
// fetch with GetJobOutput
}