Note: You are viewing the documentation for an older major version of the AWS SDK for JavaScript (v2).
The modular AWS SDK for JavaScript (v3) is now General Available. For more information see the Developer Guide or API Reference.
Module: AWS.DynamoDB.Converter
- Defined in:
- lib/dynamodb/converter.js
Method Summary
-
input(data, options) ⇒ map
Convert a JavaScript value to its equivalent DynamoDB AttributeValue type.
-
marshall(data, options) ⇒ map
Convert a JavaScript object into a DynamoDB record.
-
output(data, options) ⇒ Object|Array|String|Number|Boolean|null
Convert a DynamoDB AttributeValue object to its equivalent JavaScript type.
-
unmarshall(data, options) ⇒ map
Convert a DynamoDB record into a JavaScript object.