We announced the upcoming
end-of-support for AWS SDK for JavaScript v2.
We recommend that you migrate to AWS SDK for JavaScript v3.
For dates, additional details, and information on how to migrate, please refer to the linked announcement.
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.