Skip to content

GetAdapter

Source: src/AWS/Textract/GetAdapter.ts

Runtime binding for textract:GetAdapter — read the configuration (name, feature types, auto-update, tags) of the bound adapter at runtime. The grant is scoped to the adapter’s ARN and the AdapterId is injected automatically.

// init
const getAdapter = yield* AWS.Textract.GetAdapter(adapter);
// runtime
const result = yield* getAdapter();
console.log(result.AdapterName, result.FeatureTypes);