Skip to main content

Module validation

Module validation 

Source

Enums§

TableNameContext
Per-operation context for table-name validation.

Functions§

format_validation_errors
Format a list of constraint validation errors into the DynamoDB multi-error format.
normalize_item_sets
Normalize sets within an item by deduplicating them in-place.
partition_key_name
Extract the partition key name from a key schema.
sort_key_name
Extract the sort key name from a key schema (if present).
table_name_constraint_errors
Collect table-name constraint errors for the multi-error validation format.
validate_attribute_definitions
Validate attribute definitions: types must be S, N, or B.
validate_gsi
Validate a Global Secondary Index definition.
validate_item_attribute_values
Validate all attribute values in an item.
validate_key_attribute_values
Validate Key attribute values before table-level checks.
validate_key_attributes_in_definitions
Validate that all key schema attributes are defined in attribute definitions.
validate_key_schema
Validate key schema: exactly one HASH key, optionally one RANGE key.
validate_lsi
Validate a Local Secondary Index definition.
validate_projection
Validate a Projection (for GSI or LSI).
validate_table_name
Validate a DynamoDB table name for a read/write operation.