library · inferred from evidence
boto3
The AWS SDK for Python, used to interact with AWS services programmatically.
- Textract rejects local PDFs: `Exception: PDF must be in S3 bucket`
The Textract async API (which is what multi-page PDFs need) only accepts documents stored as S3 objects — local files are rejected with exactly that exception. So the standard answer is: upload the PDF to an S3 bucket first, then pass the S