Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

ClassifyDocumentHttp.ts

13 lines466 Bytes

1import * as comprehend from "@distilled.cloud/aws/comprehend";
2import * as Layer from "effect/Layer";
3import { makeComprehendHttpBinding } from "./BindingHttp.ts";
4import { ClassifyDocument } from "./ClassifyDocument.ts";
5​
6export const ClassifyDocumentHttp = Layer.effect(
7 ClassifyDocument,
8 makeComprehendHttpBinding({
9 tag: "AWS.Comprehend.ClassifyDocument",
10 operation: comprehend.classifyDocument,
11 actions: ["comprehend:ClassifyDocument"],
12 }),
13);