import type * as glacier from "@distilled.cloud/aws/glacier"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Vault } from "./Vault.ts"; /** * `DeleteArchive` request with `accountId` and `vaultName` injected from the bound * {@link Vault}. */ export interface DeleteArchiveRequest extends Omit { } /** * Runtime binding for the `DeleteArchive` operation (IAM action * `glacier:DeleteArchive` on the vault ARN). * * Deletes an archive from the bound {@link Vault}. The operation is * idempotent — deleting an already-deleted archive is not an error. * Provide the implementation with * `Effect.provide(AWS.Glacier.DeleteArchiveHttp)`. * ### Deleting Archives * **Example:** Delete an archive by ID * ```typescript * const deleteArchive = yield* AWS.Glacier.DeleteArchive(vault); * * yield* deleteArchive({ archiveId }); * ``` * * @binding */ export interface DeleteArchive extends Binding.Service Effect.Effect<(request: DeleteArchiveRequest) => Effect.Effect>> { } export declare const DeleteArchive: DeleteArchive; //# sourceMappingURL=DeleteArchive.d.ts.map