How to fetch and update S3 files with AWS Lambda, Serverless Framework, and TypeScript