aws-sdk-go-v2 icon indicating copy to clipboard operation
aws-sdk-go-v2 copied to clipboard

Add support for unmarshalling DynamoDB JSON into types.AttributeValue

Open RanVaknin opened this issue 1 year ago • 1 comments

Describe the feature

Related to #1652 Add functionality to directly unmarshal DynamoDB JSON format into map[string]types.AttributeValue

Use Case

When processing DynamoDB Streams events in Lambda functions, we receive event data in DynamoDB JSON format that needs to be unmarshalled into SDK types for further processing. Currently this requires complex workarounds or manual conversion code. In v1 of the SDK this was working, likely unintentionally and in v2 it does not work.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

AWS Go SDK V2 Module Versions Used

N/A

Go version used

N/A

RanVaknin avatar Dec 04 '24 18:12 RanVaknin