aws / aws/aws-sdk-java-v2

Add possibility to initialize enhanced dynamodb WriteBatch with ImmutableTableSchema

Open
#6,194 0 comments 0 reactions 0 assignees View on GitHub
feature-request needs-triage
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.