Why? When working with Lambda functions, there are various different things to take into consideration.
- Is this function being invoked from an HTTP trigger?
- Is this function using API Gateway?
- Are you calling this function from a client-side application?
- Are you running into CORS issues when fetching data from your Lambda function?
If you answered yes to these questions, then these copy-paste examples should help you to get up and running with many of the most popular runtimes.
Here are the supported runtimes that I will be creating examples for:
Check out this serverless example for a full Java implementation
For more examples of Lambda integrations in different languages, check out the Serverless Examples