-
Notifications
You must be signed in to change notification settings - Fork 490
Open
Labels
bugThis issue is a bug.This issue is a bug.module/lambda-client-libp2This is a standard priority issueThis is a standard priority issue
Description
Discussed in #1654
Originally posted by Dreamescaper January 16, 2024
I have a lambda subscribed to dynamoDb events. I want to convert event's records to regular JSON, currently we use something like that:
public async Task FunctionHandler(DynamoDBEvent input, ILambdaContext context)
{
foreach (var record in input.Records)
{
var image = record.Dynamodb.NewImage;
var document = Document.FromAttributeMap(image);
var json = document.ToJson();
/* .... */
}
}
However, it doesn't work after the #1648 is merged.
Could anyone suggest what is the easiest way to do same after the update?
SeijiSuenaga, somebodyiam, starkcolin, charliefoxtwo and Lanayx
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.module/lambda-client-libp2This is a standard priority issueThis is a standard priority issue