Enum ReturnValue
- Namespace
- DynaSharp
- Assembly
- DynaSharp.dll
Which item attributes a write operation returns.
public enum ReturnValue
Fields
None = 0Return nothing. Sends no
ReturnValues, which DynamoDB treats asNONE.AllOld = 1Return the whole item as it was before the write, DynamoDB name
ALL_OLD.UpdatedOld = 2Return only the updated attributes, as they were before the write, DynamoDB name
UPDATED_OLD.AllNew = 3Return the whole item as it is after the write, DynamoDB name
ALL_NEW.UpdatedNew = 4Return only the updated attributes, as they are after the write, DynamoDB name
UPDATED_NEW.
Remarks
None (the default) sends nothing, and DynamoDB returns nothing, which is also what its NONE means.
PutItem and DeleteItem accept only None and AllOld; UpdateItem accepts all.
DynamoDB rejects other combinations with a ValidationException.