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

main
ts 13 lines 469 Bytes
Raw
1 import * as detective from "@distilled.cloud/aws/detective";
2 import * as Layer from "effect/Layer";
3 import { makeDetectiveGraphHttpBinding } from "./BindingHttp.ts";
4 import { GetInvestigation } from "./GetInvestigation.ts";
5
6 export const GetInvestigationHttp = Layer.effect(
7 GetInvestigation,
8 makeDetectiveGraphHttpBinding({
9 tag: "AWS.Detective.GetInvestigation",
10 operation: detective.getInvestigation,
11 actions: ["detective:GetInvestigation"],
12 }),
13 );