StartLendingAnalysis
Source:
src/AWS/Textract/StartLendingAnalysis.ts
Runtime binding for textract:StartLendingAnalysis — start an
asynchronous lending-document analysis job (classifies pages and routes
them to the right extraction model) for a document stored in S3. Poll
the returned JobId with GetLendingAnalysis /
GetLendingAnalysisSummary. The caller needs s3:GetObject on the
input bucket.
Asynchronous Lending Analysis
Section titled “Asynchronous Lending Analysis”// initconst startLendingAnalysis = yield* AWS.Textract.StartLendingAnalysis();
// runtimeconst { JobId } = yield* startLendingAnalysis({ DocumentLocation: { S3Object: { Bucket: bucketName, Name: "loan.pdf" } },});