The behavior the marshaller should exhibit when it encounters data that cannot be marshalled to a DynamoDB AttributeValue, such as a Symbol or Function object.
Possible values:
omit
- Remove any invalid values from the serialized output.
throw
- Throw an error when an unserializable value is encountered.
Determines if the provided argument is an ArrayBuffer object. Compatible with ArrayBuffers created in separate iframes and VMs.
Remove any invalid values from the serialized output.
Throw an error when an unserializable value is encountered.
The behavior the marshaller should exhibit when it encounters "empty" data that would be rejected as invalid by DynamoDB, such as 0-length buffers or the string
''
.Possible values:
omit
- Remove the empty value from the marshalled output (i.e., marshall this value toundefined
rather than to an {AttributeValue}).nullify
- Convert the value from its detected to data type tonull
. This allows marshalled data to preserve a sigil of emptiness in a way compatible with DynamoDB.This option will also cause empty strings and buffers to be dropped from string and binary sets, respectively.
leave
- Do not alter the value.