Delete an array of items from a DynamoDB table, avoiding the limits of DynamoDB's BatchWriteItem. In case of errors, it will retry with a random back-off mechanism until the timeout. Therefore, in case of timeout, there may be some elements deleted and some not.
the target DynamoDB table
the keys to delete
Get group of items based on their keys from DynamoDB table, avoiding the limits of DynamoDB's BatchGetItem.
the target DynamoDB table
the keys of the objects to retrieve
OptionalignoreErr: booleanif set, ignore the errors and continue the bulk op.
ProtectedbatchPut an array of items in a DynamoDB table, avoiding the limits of DynamoDB's BatchWriteItem. In case of errors, it will retry with a random back-off mechanism until the timeout. Therefore, in case of timeout, there may be some elements written and some not.
the target DynamoDB table
the objects to insert
ProtectedbatchProtectedbatchDelete an item of a DynamoDB table.
the params to apply to DynamoDB's function
Get an item of a DynamoDB table.
the params to apply to DynamoDB's function
Manage atomic counters (atomic autoincrement values) in IDEA's projects.
They key of an atomic counter should be composed as the following: DynamoDBTableName_uniqueKey.
the key of the counter
Returns an IUNID: IDEA's Unique Nano IDentifier, which is an id unique through an AWS region inside an account. Note: no need of an auth check for external uses: the permissions depend from the context in which it's executed.
project code
the IUNID
ProtectedIUNIDPut an item in a DynamoDB table.
the params to apply to DynamoDB's function
Query a DynamoDB table, avoiding the limits of DynamoDB's Query.
the params to apply to DynamoDB's function
Query a DynamoDB table in the traditional way (no pagination or data mapping).
the params to apply to DynamoDB's function
ProtectedqueryScan a DynamoDB table, avoiding the limits of DynamoDB's Query.
the params to apply to DynamoDB's function
Scan a DynamoDB table in the traditional way (no pagination or data mapping).
the params to apply to DynamoDB's function
Execute a series of write operations in a single transaction.
the operations to execute in the transaction
Convert a JSON object from DynamoDB format to simple JSON.
the data in DynamoDB's original format to convert in plain objects
Optionaloptions: unmarshallOptionsthe options to use to convert the data
Update an item of a DynamoDB table.
the params to apply to DynamoDB's function
A wrapper for AWS DynamoDB.