Im Planning to create a program from laravel where in you can upload your pdf file and analyze it with Textract OCR. I want the user to upload the pdf file and analyze it with textract without uploading the PDF in S3 bucket. My Question is, Is that possible? or I really need to upload in s3 bucket first before it can analyze by textract?. because most of the tutorial I'm seeing in the internet the pdf file is in s3 bucket.
Thanks
The PDF file has to be uploaded to an S3 bucket. It does not mean that is has to be there forever. You could for example add a lifecycle rule on the bucket as a safeguard to delete all files after 1 day, in case you run into a problem deleting the file after processing.
The flow is asynchronous by the way: