Skip to content
TypeScript
483 B
Raw Blame
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"],
  }),
);