Lambda will return success status and this status will be passed to API Gateway to return it to the application.
The client which is the mobile application will send this parameter to a defined endpoint (API Gateway link), and Lambda will receive this email within the event variable to store it at a defined location.
API Gateway API calls are the most favorite way, at least for me, to trigger Lambda.
As I promised, this is the second part of that article, we will dive into the technical part of triggering Lambda with SQS, API Gateway, and S3 notifications.
S3 will send a notification to Lambda with the file information.