Files
floci/src/main/java/io
TATSUNO “Taz” Yasuhiro 809c003614 fix(dynamodb): list every CreateTable constraint error in one message (#7974)
* fix(dynamodb): list every CreateTable constraint error in one message

DynamoDB checks the members of a CreateTable request in a fixed order,
whatever order the request gives them: GlobalSecondaryIndexes,
BillingMode, SSESpecification, KeySchema, ProvisionedThroughput,
StreamSpecification, AttributeDefinitions and LocalSecondaryIndexes.
It lists every constraint error in one ValidationException and reports
the first 10. An index name gets its length error before its pattern
error.

* fix(dynamodb): count null list members in CreateTable constraint positions

DynamoDB skips a null list member in the CreateTable constraint checks,
but it still counts it in the positions and in the list length. So
[null] is not an empty list. A quoted NonKeyAttributes list shows the
member as null.

* fix(dynamodb): refuse an empty CreateTable KMSMasterKeyId

DynamoDB refuses a KMSMasterKeyId outside 1 to 2048 characters, counted
in code points, though the API reference gives no length for it.

The billing mode and SSE type checks now print their enum sets from the
same ordered lists as the CreateTable constraint checks.
2026-11-11 08:30:07 -04:00
..