sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ NeptuneGraph/ CancelExportTaskHttp.ts

import * as neptunegraph from "@distilled.cloud/aws/neptune-graph";
import * as Layer from "effect/Layer";
import { EXPORT_TASK_ARN_WILDCARD, makeNeptuneGraphAccountHttpBinding } from "./BindingHttp.ts";
import { CancelExportTask } from "./CancelExportTask.ts";

export const CancelExportTaskHttp = Layer.effect(
  CancelExportTask,
  makeNeptuneGraphAccountHttpBinding({
    tag: "AWS.NeptuneGraph.CancelExportTask",
    operation: neptunegraph.cancelExportTask,
    actions: ["neptune-graph:CancelExportTask"],
    resources: [EXPORT_TASK_ARN_WILDCARD],
  }),
);