You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UpdateItem API call defines the ReturnItems member of the Request structure that allows callers to specify NONE | ALL_OLD | UPDATED_OLD | ALL_NEW | UPDATED_NEW for the values returned by the updateItem API call.
Use Case
I have a use case where I need to modify another table based on the changes between one column of a table when a row gets updated and would like to use the old values that were consistent prior to the update request, e.g. the ALL_OLD or UPDATED_OLD.
Proposed Solution
Add a member to the UpdateItemEnhancedRequest.Builder named returnItems, that accepts values from the com.amazonaws.services.dynamodbv2.model.ReturnValue enum, and defaults to the current behaviour ALL_NEW, and pass it to the request instead of the constant ALL_NEW.
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
AWS Java SDK version used
2
JDK version used
17
Operating System and version
AL2012
The text was updated successfully, but these errors were encountered:
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Describe the feature
The UpdateItem API call defines the ReturnItems member of the Request structure that allows callers to specify NONE | ALL_OLD | UPDATED_OLD | ALL_NEW | UPDATED_NEW for the values returned by the updateItem API call.
Use Case
I have a use case where I need to modify another table based on the changes between one column of a table when a row gets updated and would like to use the old values that were consistent prior to the update request, e.g. the ALL_OLD or UPDATED_OLD.
Proposed Solution
Add a member to the UpdateItemEnhancedRequest.Builder named returnItems, that accepts values from the com.amazonaws.services.dynamodbv2.model.ReturnValue enum, and defaults to the current behaviour ALL_NEW, and pass it to the request instead of the constant ALL_NEW.
Other Information
No response
Acknowledgements
AWS Java SDK version used
2
JDK version used
17
Operating System and version
AL2012
The text was updated successfully, but these errors were encountered: