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
| 1 | import * as neptunegraph from "@distilled.cloud/aws/neptune-graph"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { IMPORT_TASK_ARN_WILDCARD, makeNeptuneGraphGraphHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { StartImportTask } from "./StartImportTask.ts"; |
| 5 | |
| 6 | export const StartImportTaskHttp = Layer.effect( |
| 7 | StartImportTask, |
| 8 | makeNeptuneGraphGraphHttpBinding({ |
| 9 | tag: "AWS.NeptuneGraph.StartImportTask", |
| 10 | operation: neptunegraph.startImportTask, |
| 11 | actions: ["neptune-graph:StartImportTask"], |
| 12 | // StartImportTask authorizes against both the graph and the (not yet |
| 13 | // existing) import-task resource types. |
| 14 | extraResources: [IMPORT_TASK_ARN_WILDCARD], |
| 15 | passRole: true, |
| 16 | }), |
| 17 | ); |