Skip to content

DeleteArchive

Source: src/AWS/Glacier/DeleteArchive.ts

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

Deletes an archive from the bound Vault. The operation is idempotent — deleting an already-deleted archive is not an error. Provide the implementation with Effect.provide(AWS.Glacier.DeleteArchiveHttp).

const deleteArchive = yield* AWS.Glacier.DeleteArchive(vault);
yield* deleteArchive({ archiveId });