Insert and retrieve data from an Amazon DynamoDB table.
This App is a wrapper of Amazon DynamoDB's DocumentClient for simple operations. All methods except createSet
are supported.
- action = name of the method
- params = parameters as required by the method
Examples
App("amazon/dynamodb", action="put", params={"Item":{"HashKey": "abcd", "myval": 1234}})
App("amazon/dynamodb", action="get", params={"Key":{"HashKey": "abcd"}})
App("amazon/dynamodb", action="update", params={"Key":{"HashKey": "abcd"}, "UpdateExpression":"set myval = :newval", "ExpressionAttributeValues": {":newval": 42}})