Commit Graph
3 Commits
Author SHA1 Message Date
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
Rashen Anupama b3de4b3179 fix(cloudformation): honor DynamoDB on-demand billing mode (#7931) 2026-11-10 17:06:48 -04:00
Hector Ventura 7cf443fcee chore: rename the package to io.floci.aws (#7689)
Move the Java sources from io.github.hectorvent.floci to io.floci.aws, matching io.floci.gcp, io.floci.az and io.floci.oci. Generated by tools/rename/rename_package.py apply on the base commit, with no other edits.

Logger categories and the arn.fail-on-blank-region property move to the io.floci.aws prefix. The pom groupId becomes io.floci; the artifactId stays floci.

Refs #6589

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-06 11:07:21 -04:00