The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 489 Bytes
Raw
1 import * as guardduty from "@distilled.cloud/aws/guardduty";
2 import * as Layer from "effect/Layer";
3 import { makeGuardDutyDetectorHttpBinding } from "./BindingHttp.ts";
4 import { ListInvestigations } from "./ListInvestigations.ts";
5
6 export const ListInvestigationsHttp = Layer.effect(
7 ListInvestigations,
8 makeGuardDutyDetectorHttpBinding({
9 tag: "AWS.GuardDuty.ListInvestigations",
10 operation: guardduty.listInvestigations,
11 actions: ["guardduty:ListInvestigations"],
12 }),
13 );