| 1 | import * as guardduty from "@distilled.cloud/aws/guardduty"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeGuardDutyDetectorHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetInvestigation } from "./GetInvestigation.ts"; |
| 5 | |
| 6 | export const GetInvestigationHttp = Layer.effect( |
| 7 | GetInvestigation, |
| 8 | makeGuardDutyDetectorHttpBinding({ |
| 9 | tag: "AWS.GuardDuty.GetInvestigation", |
| 10 | operation: guardduty.getInvestigation, |
| 11 | actions: ["guardduty:GetInvestigation"], |
| 12 | }), |
| 13 | ); |