aws-sdk-rust
aws-sdk-rust copied to clipboard
Include dynamodb expression builders
Describe the feature
The AWS SDK for Go provides an expression package that serves as a really nice tool for building dynamodb queries/filters/conditions/etc.
It would be nice to have equivalent functionality in the Rust SDK.
Use Case
In the current version of the SDK for Rust, you have to explicitly declare the member fields of the DynamoDB operations. That means the syntax and rules of DynamoDB Expressions are up to the end user to figure out and are error-prone and not well type-checked.
Proposed Solution
I'm not sure if the AWS SDK for Go autogenerates the expression library through Smithy, or if this is a custom implementation. Given it already exists in the AWS ecosystem, I think this would be nice though.
Other Information
No response
Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
A note for the community
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue, please leave a comment
This is a cool idea and I agree that we should set users up for success when they set out to write DynamoDB expressions. I'm not sure when the team will be able to look at it but if anyone is interested in implementing this, please start a discussion thread with a proposal for an API and the team can walk you through our RFC process.