Returns an IUNID: IDEA's Unique Nano IDentifier, which is an id unique through an IDEA's AWS account and region. 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
Protected
IUNIDHelperDelete 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
Optional
ignoreErr: booleanif set, ignore the errors and continue the bulk op.
Protected
batchPut 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
Protected
batchProtected
batchProtected
queryConvert a JSON object from DynamoDB format to simple JSON.
the data in DynamoDB's original format to convert in plain objects
Optional
options: unmarshallOptionsthe options to use to convert the data
A wrapper for AWS DynamoDB.