sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ FraudDetector/ GetEventPredictionHttp.ts

import * as frauddetector from "@distilled.cloud/aws/frauddetector";
import * as Layer from "effect/Layer";
import { makeFraudDetectorDetectorHttpBinding } from "./BindingHttp.ts";
import { GetEventPrediction } from "./GetEventPrediction.ts";

export const GetEventPredictionHttp = Layer.effect(
  GetEventPrediction,
  makeFraudDetectorDetectorHttpBinding({
    tag: "AWS.FraudDetector.GetEventPrediction",
    operation: frauddetector.getEventPrediction,
    actions: ["frauddetector:GetEventPrediction"],
  }),
);