The following code example shows how to invoke an AWS Lambda function from a browser.
Note
The source code for these examples is in the AWS Code Examples GitHub repository. Have feedback on a code example? Create an Issue in the code examples repo.
SDK for JavaScript V2
You can create a browser-based application that uses an AWS Lambda function to update an Amazon DynamoDB table with user selections.
For complete source code and instructions on how to set up and run, see the full example on GitHub.
Services used in this example
- DynamoDB
- Lambda
SDK for JavaScript V3
You can create a browser-based application that uses an AWS Lambda function to update an Amazon DynamoDB table with user selections. This app uses AWS SDK for JavaScript v3.
For complete source code and instructions on how to set up and run, see the full example on GitHub.
Services used in this example
- DynamoDB
- Lambda
For a complete list of AWS SDK developer guides and code examples, see Using Lambda with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.