Add possibility to initialize enhanced dynamodb WriteBatch with ImmutableTableSchema
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 1k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 51
Description
### Describe the feature
At the moment it's not possible to use batch operations in enhanced dynamodb client with immutable models.
### Use Case
If I use enhanced dynamodb client with immutable models I shouldn't fall back to low-level dynamodb client for a trivial operations.
### Proposed Solution
Add a new builder method to `software.amazon.awssdk.enhanced.dynamodb.model.WriteBatch` class which accepts `ImmutableTableSchema` instead of item class.
### 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.31.65
### JDK version used
java version "24" 2025-03-18
### Operating System and version
Linux 6.14.11
Contributor guide
Assessment
This issue has not been assessed yet.