CreateAdapterVersion
Source:
src/AWS/Textract/CreateAdapterVersion.ts
Runtime binding for textract:CreateAdapterVersion — train a new
version of the bound adapter from an annotated dataset manifest in S3
(automated retraining pipelines). The AdapterId is injected
automatically; the caller also needs read access to the manifest and
write access to the output bucket.
Managing Adapters
Section titled “Managing Adapters”// initconst createAdapterVersion = yield* AWS.Textract.CreateAdapterVersion(adapter);
// runtimeconst { AdapterVersion } = yield* createAdapterVersion({ DatasetConfig: { ManifestS3Object: { Bucket: bucketName, Name: "manifest.jsonl" }, }, OutputConfig: { S3Bucket: bucketName, S3Prefix: "training-output/" },});