Skip to content
TypeScript
475 B
Raw Blame
import * as comprehendmedical from "@distilled.cloud/aws/comprehendmedical";
import * as Layer from "effect/Layer";
import { makeComprehendMedicalHttpBinding } from "./BindingHttp.ts";
import { InferICD10CM } from "./InferICD10CM.ts";

export const InferICD10CMHttp = Layer.effect(
  InferICD10CM,
  makeComprehendMedicalHttpBinding({
    capability: "InferICD10CM",
    iamActions: ["comprehendmedical:InferICD10CM"],
    operation: comprehendmedical.inferICD10CM,
  }),
);