Skip to content

UploadMultipartPart

Source: src/AWS/Glacier/UploadMultipartPart.ts

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

Uploads one part of a multipart upload to the bound Vault. The range field carries the part’s byte range (e.g. bytes 0-8388607/*) and checksum its SHA-256 tree hash. Provide the implementation with Effect.provide(AWS.Glacier.UploadMultipartPartHttp).

const uploadMultipartPart = yield* AWS.Glacier.UploadMultipartPart(vault);
yield* uploadMultipartPart({
uploadId,
range: "bytes 0-8388607/*",
checksum: partTreeHash,
body: partBytes,
});