2016-06-01 11 views

risposta

10

Non è possibile inserire un elemento con Key Range come valore vuoto o senza la chiave Range.

Se la chiave Gamma non è incluso. Si otterrebbe l'errore di seguito: -

"One of the required keys was not given a value" 

Se la chiave Range è popolato con '' (cioè stringa vuota)

"message": "One or more parameter values were invalid: An AttributeValue may not contain an empty string" 

Da AWS Doc: -

When you add an item, the primary key attribute(s) are the only required attributes. Attribute values cannot be null. String and Binary type attributes must have lengths greater than zero. Set type attributes cannot be empty. Requests with empty values will be rejected with a ValidationException exception.

+0

http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html –

Problemi correlati