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

main
ts 13 lines 573 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 { GetEventPredictionMetadata } from "./GetEventPredictionMetadata.ts";
5
6 export const GetEventPredictionMetadataHttp = Layer.effect(
7 GetEventPredictionMetadata,
8 makeFraudDetectorDetectorHttpBinding({
9 tag: "AWS.FraudDetector.GetEventPredictionMetadata",
10 operation: frauddetector.getEventPredictionMetadata,
11 actions: ["frauddetector:GetEventPredictionMetadata"],
12 }),
13 );