sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Detective/ StartInvestigationHttp.ts

import * as detective from "@distilled.cloud/aws/detective";
import * as Layer from "effect/Layer";
import { makeDetectiveGraphHttpBinding } from "./BindingHttp.ts";
import { StartInvestigation } from "./StartInvestigation.ts";

export const StartInvestigationHttp = Layer.effect(
  StartInvestigation,
  makeDetectiveGraphHttpBinding({
    tag: "AWS.Detective.StartInvestigation",
    operation: detective.startInvestigation,
    actions: ["detective:StartInvestigation"],
  }),
);