Forum Academy Marketplace Showcase Pricing Features

Sending input from Bubble to AWS Lambda function

I am building a calculator in Bubble and I saw a video where someone uses AWS Rekognition and Lambda as the back-end and Bubble as the front-end. He uploads an image which somehow gets passed to API Gateway and from there into the Lambda function

My question is, how can I send an Input to the Lambda function similar to how he sent the image?