| 1 | import * as textract from "@distilled.cloud/aws/textract"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeTextractAdapterHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { CreateAdapterVersion } from "./CreateAdapterVersion.ts"; |
| 5 | |
| 6 | export const CreateAdapterVersionHttp = Layer.effect( |
| 7 | CreateAdapterVersion, |
| 8 | makeTextractAdapterHttpBinding({ |
| 9 | capability: "CreateAdapterVersion", |
| 10 | iamActions: ["textract:CreateAdapterVersion"], |
| 11 | operation: textract.createAdapterVersion, |
| 12 | }), |
| 13 | ); |