-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DynamoDbEnhancedClient allow to request to return capacity on all data plane operations #4123
Comments
That's fair, feature request acknowledged. Community note: please show your support by adding a 👍 to the original description above to help us prioritize this request. |
Query and Scan now support |
Hi @debora-ito - Any plans on supporting BatchWriteItem and TransactWriteItem in the future? |
I can take a stab at it, if this has not been implemented yet |
Here's a PR for supporting ConsumedCapacity in BatchWriteItems and TransactWriteItems |
Describe the feature
#2095 added
ReturnConsumedCapacity
for putItem, updateItem and deleteItem operations, but other Data plane operations should allow you to request to return consumed capacity as offered by the DynamoDB API on their (paged) return.This should include the following Data plane operations:
Use Case
Common scenario is to request to the DynamoDB API to return the consumed capacity to log or debug the read or write capacity used by the data plane operation.
Proposed Solution
Continue by adding functionality introduced in #2095 by either adding *WithResponse methods to these classes or extend the existing response objects to include the consumed capacity.
Other Information
No response
Acknowledgements
AWS Java SDK version used
2.20.88
JDK version used
OpenJDK Runtime Environment Corretto-20.0.1.9.1 (build 20.0.1+9-FR)
Operating System and version
macOS Ventura 13.4
The text was updated successfully, but these errors were encountered: