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

main
ts 14 lines 551 Bytes
Raw
1 import * as comprehendmedical from "@distilled.cloud/aws/comprehendmedical";
2 import * as Layer from "effect/Layer";
3 import { makeComprehendMedicalHttpBinding } from "./BindingHttp.ts";
4 import { StartPHIDetectionJob } from "./StartPHIDetectionJob.ts";
5
6 export const StartPHIDetectionJobHttp = Layer.effect(
7 StartPHIDetectionJob,
8 makeComprehendMedicalHttpBinding({
9 capability: "StartPHIDetectionJob",
10 iamActions: ["comprehendmedical:StartPHIDetectionJob"],
11 operation: comprehendmedical.startPHIDetectionJob,
12 passRole: true,
13 }),
14 );