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

GetAdapterVersionHttp.ts

13 lines470 Bytes

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