Validate inspects the fields of the type to determine if they are valid.
Validate is referenced in 0 repositories
// If you use ADD to increment or decrement a number value for an item that // doesn't exist before the update, DynamoDB uses 0 as the initial value. // // Similarly, if you use ADD for an existing item to increment or decrement // an attribute value that doesn't exist before the update, DynamoDB uses 0 // as the initial value. For example, suppose that the item you want to update // doesn't have an attribute named itemcount, but you decide to ADD the number // 3 to this attribute anyway. DynamoDB will create the itemcount attribute, // set its initial value to 0, and finally add 3 to it. The result will be a // new itemcount attribute, with a value of 3. // // If the existing data type is a set, and if Value is also a set, then // Value is appended to the existing set. For example, if the attribute value // is the set [1,2], and the ADD action specified , then the final attribute // value is [1,2,3]. An error occurs if an ADD action is specified for a set // attribute and the attribute type specified does not match the existing set // type.