Skip to content

GetAdapterVersion

Source: src/AWS/Textract/GetAdapterVersion.ts

Runtime binding for textract:GetAdapterVersion — read the training status, dataset configuration, and evaluation metrics of a version of the bound adapter.

// init
const getAdapterVersion = yield* AWS.Textract.GetAdapterVersion(adapter);
// runtime
const result = yield* getAdapterVersion({ AdapterVersion: "1" });
if (result.Status === "ACTIVE") {
// ready for AnalyzeDocument AdaptersConfig
}