I have been trying to use AWS API Gateway and AWS Lambda to implement a  serverless architecture. Have been going through various blogs and AWS documentation. Even  tried out sample GET/POST operations. But, I have the following requirements w.r.t tracking user events from my custom application:
- Events are posted from my application to API end point
 
- I wanted the API to respond back with a custom response(acknowledging that the request has been received)
 
- After the response is sent, hand over the event payload to a AWS Lambda function
 
 As per the documentation, I understand, a) I can post events to API end point b) On GET/POST trigger an AWS Lambda Function - Respond back from AWS Lambda function to API request.
But what i want is 
a) Post events to API end point a.0) Respond back acknowledging that request is received [Say {'fine'} ] b) Trigger AWS Lambda function to process the event payload.
Any kind of suggestions are welcome.