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

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