| 1 | import * as neptunegraph from "@distilled.cloud/aws/neptune-graph"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { |
| 4 | IMPORT_TASK_ARN_WILDCARD, |
| 5 | makeNeptuneGraphAccountHttpBinding, |
| 6 | } from "./BindingHttp.ts"; |
| 7 | import { CancelImportTask } from "./CancelImportTask.ts"; |
| 8 | |
| 9 | export const CancelImportTaskHttp = Layer.effect( |
| 10 | CancelImportTask, |
| 11 | makeNeptuneGraphAccountHttpBinding({ |
| 12 | tag: "AWS.NeptuneGraph.CancelImportTask", |
| 13 | operation: neptunegraph.cancelImportTask, |
| 14 | actions: ["neptune-graph:CancelImportTask"], |
| 15 | resources: [IMPORT_TASK_ARN_WILDCARD], |
| 16 | }), |
| 17 | ); |