Skip to content

AbortMultipartUpload

Source: src/AWS/Glacier/AbortMultipartUpload.ts

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

Aborts an in-progress multipart upload on the bound Vault, freeing its uploaded parts. Aborting an already-aborted or completed upload fails with the typed ResourceNotFoundException. Provide the implementation with Effect.provide(AWS.Glacier.AbortMultipartUploadHttp).

const abortMultipartUpload = yield* AWS.Glacier.AbortMultipartUpload(vault);
yield* abortMultipartUpload({ uploadId });