Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

585 B
Raw Blame
import * as neptunegraph from "@distilled.cloud/aws/neptune-graph";
import * as Layer from "effect/Layer";
import {
  makeNeptuneGraphAccountHttpBinding,
  SNAPSHOT_ARN_WILDCARD,
} from "./BindingHttp.ts";
import { DeleteGraphSnapshot } from "./DeleteGraphSnapshot.ts";

export const DeleteGraphSnapshotHttp = Layer.effect(
  DeleteGraphSnapshot,
  makeNeptuneGraphAccountHttpBinding({
    tag: "AWS.NeptuneGraph.DeleteGraphSnapshot",
    operation: neptunegraph.deleteGraphSnapshot,
    actions: ["neptune-graph:DeleteGraphSnapshot"],
    resources: [SNAPSHOT_ARN_WILDCARD],
  }),
);