CompleteMultipartUpload
Source:
src/AWS/Glacier/CompleteMultipartUpload.ts
Runtime binding for the CompleteMultipartUpload operation (IAM action
glacier:CompleteMultipartUpload on the vault ARN).
Assembles the uploaded parts of a multipart upload into an archive in
the bound Vault. archiveSize is the total size in bytes (as a
string) and checksum the SHA-256 tree hash of the whole archive; the
response carries the new archiveId.
Provide the implementation with
Effect.provide(AWS.Glacier.CompleteMultipartUploadHttp).
Uploading Archives
Section titled “Uploading Archives”const completeMultipartUpload = yield* AWS.Glacier.CompleteMultipartUpload(vault);
const { archiveId } = yield* completeMultipartUpload({ uploadId, archiveSize: String(totalSize), checksum: treeHash,});