In this tutorial, you will learn how to get the user who calls the AWS Lambda function. We will use function composition for Express middleware to pass the user to all requests. The tutorial covers accessing the users ID and user object using the AWS SDK for JavaScript, as well as efficiently composing Express middleware to give access to the user in all requests. This tutorial is applicable to Lambda functions where the caller is authenticated using Amazon Cognito User Pools and resources are generated using the Amplify CLI.