| 1 | import * as neptunegraph from "@distilled.cloud/aws/neptune-graph"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { |
| 4 | makeNeptuneGraphAccountHttpBinding, |
| 5 | SNAPSHOT_ARN_WILDCARD, |
| 6 | } from "./BindingHttp.ts"; |
| 7 | import { DeleteGraphSnapshot } from "./DeleteGraphSnapshot.ts"; |
| 8 | |
| 9 | export const DeleteGraphSnapshotHttp = Layer.effect( |
| 10 | DeleteGraphSnapshot, |
| 11 | makeNeptuneGraphAccountHttpBinding({ |
| 12 | tag: "AWS.NeptuneGraph.DeleteGraphSnapshot", |
| 13 | operation: neptunegraph.deleteGraphSnapshot, |
| 14 | actions: ["neptune-graph:DeleteGraphSnapshot"], |
| 15 | resources: [SNAPSHOT_ARN_WILDCARD], |
| 16 | }), |
| 17 | ); |