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

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

export const UpdateInvestigationStateHttp = Layer.effect(
  UpdateInvestigationState,
  makeDetectiveGraphHttpBinding({
    tag: "AWS.Detective.UpdateInvestigationState",
    operation: detective.updateInvestigationState,
    actions: ["detective:UpdateInvestigationState"],
  }),
);