generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 266
Closed
smithy-lang/smithy-rs
#985Labels
feature-requestA feature should be added or improved.A feature should be added or improved.good first issueGood for newcomersGood for newcomers
Description
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
It would help me if DynamoDB fluent builders implemented Clone
.
I've encountered two points where I've wanted to be able to clone fluent builders.
- When trying to scan a table and go through all the pages.
- It would be helpful to be able to call
.set_exclusive_start_key(...)
and clone theScan
instance before calling.send()
to get the next page so that theScan
instance could be re-used to get the next page. - Currently, I have to build a new
Scan
instance for every page.
- It would be helpful to be able to call
- When updating many items, and you encounter errors that should be retried (
500
s,ThrottlingException
s, etc).- It would be nice to be able to clone the UpdateItem and just retry the
.send()
call. - Currently, I have to build a new
UpdateItem
for every attempt.
- It would be nice to be able to clone the UpdateItem and just retry the
I'm sure I will find more cases when being able to clone a struct from that module would be useful. I've only been using the SDK for two days.
dspatoulas, rustrial, Veetaha and stephenstubbs
Metadata
Metadata
Assignees
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.good first issueGood for newcomersGood for newcomers