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

main
ts 13 lines 517 Bytes
Raw
1 import * as frauddetector from "@distilled.cloud/aws/frauddetector";
2 import * as Layer from "effect/Layer";
3 import { makeFraudDetectorDetectorHttpBinding } from "./BindingHttp.ts";
4 import { GetEventPrediction } from "./GetEventPrediction.ts";
5
6 export const GetEventPredictionHttp = Layer.effect(
7 GetEventPrediction,
8 makeFraudDetectorDetectorHttpBinding({
9 tag: "AWS.FraudDetector.GetEventPrediction",
10 operation: frauddetector.getEventPrediction,
11 actions: ["frauddetector:GetEventPrediction"],
12 }),
13 );