import type * as textract from "@distilled.cloud/aws/textract"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Adapter } from "./Adapter.ts"; /** * Runtime binding for `textract:GetAdapterVersion` — read the training * status, dataset configuration, and evaluation metrics of a version of * the bound adapter. * * ### Managing Adapters * **Example:** Poll Adapter Version Training * ```typescript * // init * const getAdapterVersion = yield* AWS.Textract.GetAdapterVersion(adapter); * * // runtime * const result = yield* getAdapterVersion({ AdapterVersion: "1" }); * if (result.Status === "ACTIVE") { * // ready for AnalyzeDocument AdaptersConfig * } * ``` * * @binding */ export interface GetAdapterVersion extends Binding.Service(adapter: A) => Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const GetAdapterVersion: GetAdapterVersion; //# sourceMappingURL=GetAdapterVersion.d.ts.map