spring-cloud-aws
spring-cloud-aws copied to clipboard
DynamoDbEnhancedClient: Add `StreamSpecification` to `CreateTableEnhancedRequest`
Type: Feature
Is your feature request related to a problem? Please describe.
Right now when using table.createTable
we cannot specify any StreamSpecification
.
This means that you must create the schema using CreateTableRequest
instead.
Describe the solution you'd like
The CreateTableEnhancedRequest
should provide a streamSpecification
method to allow the user to specify a StreamSpecification
to generate the table schema.
Describe alternatives you've considered
Using CreateTableRequest
instead. But I'm not sure what I should create to have the same behavior as the DynamoDbTable.createTable
method.
Blocked by https://github.com/aws/aws-sdk-java-v2/pull/4011