The best way to control Claude Code, Codex and more from any computer or phone

main
ts 14 lines 559 Bytes
Raw
1 import * as neptunegraph from "@distilled.cloud/aws/neptune-graph";
2 import * as Layer from "effect/Layer";
3 import { makeNeptuneGraphAccountHttpBinding, SNAPSHOT_ARN_WILDCARD } from "./BindingHttp.ts";
4 import { GetGraphSnapshot } from "./GetGraphSnapshot.ts";
5
6 export const GetGraphSnapshotHttp = Layer.effect(
7 GetGraphSnapshot,
8 makeNeptuneGraphAccountHttpBinding({
9 tag: "AWS.NeptuneGraph.GetGraphSnapshot",
10 operation: neptunegraph.getGraphSnapshot,
11 actions: ["neptune-graph:GetGraphSnapshot"],
12 resources: [SNAPSHOT_ARN_WILDCARD],
13 }),
14 );