It returns successfully, but the buffer that is supposed to contain the object comes back as undefined. I have tried many things over the last few weeks with no success. Any help would be appreciated.
Not used it myself, however have a read of these if not already done so.
Plus make sure that you are using version 2 and not still using version 1.
https://www.wix.com/corvid/forum/community-discussion/upload-files-directly-from-public-to-aws-s3
https://github.com/wix/media-platform-dropfolder-lambda
https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html
https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/s3-example-creating-buckets.html
https://docs.aws.amazon.com/sdk-for-java/v2/developer-guide/s3-examples.html
https://docs.aws.amazon.com/sdk-for-java/v2/developer-guide/welcome.html
https://github.com/aws/aws-sdk-java-v2/
Uploading a File to Amazon Web Services (AWS) S3 Bucket with Node.js
Simple Image Upload with Node on Amazon S3