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

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