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
Implement support for ReturnValuesOnConditionCheckFailure (#2688)
* Implement return values on TransactWriteItems
This change gives customer the ability to specify
ReturnValuesOnConditionCheckFailure on the TransactWriteItems operation, i.e.
for PutItem, DeleteItem, UpdateItem, and ConditionCheck.
In order to support this feature, new Transact*EnhancedRequest objects have been
introduced because ReturnValuesOnConditionCheckFailure does not make any sense
for the non-TransactWrite operations. Conversely, other options on the
non-transact versions like ReturnConsumedCapacity do not make sense for the
Transact* versions.
As a result of "splitting" off the TransactWrite versions of the operations, the
methods on TransactWriteItemsEnhancedRequest that take the non-transact versions
have been deprecated.
Fixes#2283
* Review comments
"description": "Allow customers to specify `ReturnValuesOnConditionCheckFailure` for `TransactWriteItems`. Addresses [#2283](https://github.com/aws/aws-sdk-java-v2/issues/2283)."
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/operations/DeleteItemOperation.java
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/operations/PutItemOperation.java
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/operations/UpdateItemOperation.java
0 commit comments