For very small files, the AWS synchronous APIs are called. However, for many files (see limits above) we may need to call the AWS asynchronous APIs. In this case, you'll need to set up an S3 bucket for asynchronous AWS calls, such that the AWS services can read the files to be processed.
We recommend the following setup:
- Use a different bucket than the one used by Content Services (when using Alfresco Content Connector for AWS S3).
- Create an S3 bucket in the same region as the Amazon AI services.
- For Comprehend, you also need to enable Comprehend to have write access to your S3 bucket for returning the results. This can be done by setting up an IAM role.
See Set up services in AWS to configure AWS Identity and Access Management and the Amazon AI services.