-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or requestp2This is a standard priority issueThis is a standard priority issue
Description
Self-service
- I'd be willing to implement this feature
Problem
As I'm processing DynamoDB notifications with a lambda function, I have the following code:
const keys = AWS.DynamoDB.Converter.unmarshall(record.dynamodb.Keys);
But this is not being converted, just left as is.
Note that the const AWS = require("aws-sdk");
line is not removed in that case leading to a non running code.
Solution
Ideally, this should add the following import
const { unmarshall } = require("@aws-sdk/util-dynamodb");
and change the code to this
const keys = unmarshall(record.dynamodb.Keys);
Alternatives
Converting manually was easy enough in my case
Additional context
No response
rajatraj733
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestp2This is a standard priority issueThis is a standard priority issue