There are more AWS SDK examples available in the AWS Doc SDK Examples
Lambda examples using SDK for JavaScript (v2)
The following code examples show you how to perform actions and implement common scenarios by using the AWS SDK for JavaScript (v2) with Lambda.
Scenarios are code examples that show you how to accomplish specific tasks by calling multiple functions within a service or combined with other AWS services.
Each example includes a link to the complete source code, where you can find instructions on how to set up and run the code in context.
Topics
Scenarios
The following code example shows how to invoke an AWS Lambda function from a browser.
- 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