aws-sdk-rust
aws-sdk-rust copied to clipboard
add new option `overwrite_by_pkeys` for DynamoDB `batch_write_item`
trafficstars
Describe the feature
like boto3: https://github.com/boto/boto3/blob/5eaa86735c78be7332fbc340813ba286a629f92b/boto3/dynamodb/table.py#L91 Avoid validation error "Provided list of item keys contains duplicates" when batch write item by auto de-dup.
Use Case
Now I have to manually remove duplicates, but AttributeValue does not implement the Eq, Ord and Hash traits, which complicates the implementation.
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
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