Dynamically change the AWS API Gateway Integration to S3 Put Object or lambda invocation
We have created an AWS API Gateway which is integrated to S3 object put. Such that whenever call is made we save the request body in S3. The response is sent back from integration mapping configuration using velocity template language.
Afterwards, from S3 event bridge triggers the lambda invocation.