This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Here, there are GET, POST, PUT and DELETE implementations for Lambda functions with Nodejs CRUD using Dynamo DB. | |
Before the implementation using API Gateway, I used a passed parameter. This implementations are commented */ | |
// GET doesn't change if we are using API Gateway | |
'use strict'; | |
const AWS = require('aws-sdk'); // Load the AWS SDK for Node.js |