Skip to main content

validate_table_name

Function validate_table_name 

Source
pub fn validate_table_name(name: &str) -> Result<()>
Expand description

Validate a DynamoDB table name for a read/write operation.

Equivalent to table_name_constraint_errors(Some(name), TableNameContext::ReadWrite) followed by formatting into the multi-error envelope. CreateTable callers must use table_name_constraint_errors directly with TableNameContext::CreateTable because CreateTable’s full validation produces additional errors that need to be folded into a single envelope.