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