Below is my code:
dynamodb-lib.js
import AWS from "aws-sdk"; const client = new AWS.DynamoDB.DocumentClient(); export default {