Skip to content
TypeScript
489 B
Raw Blame
import * as guardduty from "@distilled.cloud/aws/guardduty";
import * as Layer from "effect/Layer";
import { makeGuardDutyDetectorHttpBinding } from "./BindingHttp.ts";
import { ListInvestigations } from "./ListInvestigations.ts";

export const ListInvestigationsHttp = Layer.effect(
  ListInvestigations,
  makeGuardDutyDetectorHttpBinding({
    tag: "AWS.GuardDuty.ListInvestigations",
    operation: guardduty.listInvestigations,
    actions: ["guardduty:ListInvestigations"],
  }),
);