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

main
ts 14 lines 565 Bytes
Raw
1 import * as textract from "@distilled.cloud/aws/textract";
2 import * as Layer from "effect/Layer";
3 import { makeTextractHttpBinding } from "./BindingHttp.ts";
4 import { StartDocumentTextDetection } from "./StartDocumentTextDetection.ts";
5
6 export const StartDocumentTextDetectionHttp = Layer.effect(
7 StartDocumentTextDetection,
8 makeTextractHttpBinding({
9 capability: "StartDocumentTextDetection",
10 // No resource-level IAM for this action.
11 iamActions: ["textract:StartDocumentTextDetection"],
12 operation: textract.startDocumentTextDetection,
13 }),
14 );