You are viewing the documentation for an older major version of the AWS SDK for JavaScript.
The modular AWS SDK for JavaScript (v3), the latest major version of AWS SDK for JavaScript, is now stable and recommended for general use.
For more information, see the
Migration Guide and
API Reference.
Module: AWS.DynamoDB.Converter
- Defined in:
- lib/dynamodb/converter.js
Method Summary collapse
-
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.
Method Details
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.