import type * as memorydb from "@distilled.cloud/aws/memorydb"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Runtime binding for the `DeleteSnapshot` operation (IAM action * `memorydb:DeleteSnapshot` on the snapshot ARN wildcard — snapshot names * are runtime data). * * Deletes a snapshot by name — e.g. pruning old on-demand backups from a * scheduled cleanup Lambda. Provide the implementation with * `Effect.provide(AWS.MemoryDB.DeleteSnapshotHttp)`. * ### Managing Snapshots * **Example:** Delete an Old Snapshot * ```typescript * const deleteSnapshot = yield* MemoryDB.DeleteSnapshot(); * * yield* deleteSnapshot({ SnapshotName: "pre-migration" }).pipe( * Effect.catchTag("SnapshotNotFoundFault", () => Effect.void), * ); * ``` * * @binding */ export interface DeleteSnapshot extends Binding.Service Effect.Effect<(request: memorydb.DeleteSnapshotRequest) => Effect.Effect>> { } export declare const DeleteSnapshot: DeleteSnapshot; //# sourceMappingURL=DeleteSnapshot.d.ts.map