The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import * as memorydb from "@distilled.cloud/aws/memorydb"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeMemoryDBAccountHttpBinding, SNAPSHOT_ARN_WILDCARD } from "./BindingHttp.ts"; |
| 4 | import { DeleteSnapshot } from "./DeleteSnapshot.ts"; |
| 5 | |
| 6 | export const DeleteSnapshotHttp = Layer.effect( |
| 7 | DeleteSnapshot, |
| 8 | makeMemoryDBAccountHttpBinding({ |
| 9 | tag: "AWS.MemoryDB.DeleteSnapshot", |
| 10 | operation: memorydb.deleteSnapshot, |
| 11 | actions: ["memorydb:DeleteSnapshot"], |
| 12 | resources: [SNAPSHOT_ARN_WILDCARD], |
| 13 | }), |
| 14 | ); |