GetJobOutput
Source:
src/AWS/Glacier/GetJobOutput.ts
Runtime binding for the GetJobOutput operation (IAM action
glacier:GetJobOutput on the vault ARN).
Downloads the output of a completed job on the bound Vault — the
archive bytes for an archive-retrieval job, or the JSON inventory for an
inventory-retrieval job. Supports ranged reads via the range header
field for chunked downloads.
Provide the implementation with
Effect.provide(AWS.Glacier.GetJobOutputHttp).
Retrieving Archives
Section titled “Retrieving Archives”const getJobOutput = yield* AWS.Glacier.GetJobOutput(vault);
const { body, status } = yield* getJobOutput({ jobId });