@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 17 lines 698 Bytes
Raw
1 import * as neptunegraph from "@distilled.cloud/aws/neptune-graph";
2 import * as Layer from "effect/Layer";
3 import { EXPORT_TASK_ARN_WILDCARD, makeNeptuneGraphGraphHttpBinding } from "./BindingHttp.ts";
4 import { StartExportTask } from "./StartExportTask.ts";
5
6 export const StartExportTaskHttp = Layer.effect(
7 StartExportTask,
8 makeNeptuneGraphGraphHttpBinding({
9 tag: "AWS.NeptuneGraph.StartExportTask",
10 operation: neptunegraph.startExportTask,
11 actions: ["neptune-graph:StartExportTask"],
12 // StartExportTask authorizes against both the graph and the (not yet
13 // existing) export-task resource types.
14 extraResources: [EXPORT_TASK_ARN_WILDCARD],
15 passRole: true,
16 }),
17 );