Skip to content

Add possibility to initialize enhanced dynamodb WriteBatch with ImmutableTableSchema #6194

@andrej-urvantsev

Description

@andrej-urvantsev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions