text: import AWS from "aws-sdk";
  
  export function call(action, params) {
      AWS.config.update({ region: "us-west-2" });
  
      const dynamoDb = new AWS.DynamoDB.DocumentClient();
  
      return dynamoDb[action](params).promise();
  }
  