1.8.0
AWS DynamoDB document client.
(Object)
Name | Description |
---|---|
parameters.tableName string
|
Table name. |
parameters.hashKey string
|
Table hash key. |
parameters.rangeKey string?
|
Table range key. |
parameters.translateConfig Object
(default defaultTranslateConfig )
|
Translate config. |
parameters.createAwsDynamoDBDocumentClient function
(default DynamoDBDocumentClient.from )
|
Factory to create a DynamoDBDocumentClient. |
parameters.name string
(default dynamodb-document )
|
Client name. |
parameters.reqId string
(default <uuid> )
|
Request id. |
parameters.log Object
(default <logger> )
|
Pino compatible logger. |
parameters.AwsDynamoDBClient Constructor
(default DynamoDBClient )
|
Constructor for a DynamoDBClient from the AWS SDK. |
parameters.params Object
(default {} )
|
Additional params to pass to the AwsDynamoDBClient constructor. |
Get an item from the DynamoDB table.
(Object)
Item hash and range key.
(Object
= {}
)
Additional params to pass to the GetCommand.
Promise<[Object, Object]>
:
Tuple of the item
and other response properties normalized to camel case.
Put an item into the DynamoDB table.
Promise<Object>
:
Response normalized to camel case.
Update an item from the DynamoDB table.
(Object)
Item hash and range key.
(Object
= {}
)
Additional params to pass to the UpdateCommand.
Promise<Object>
:
Response normalized to camel case.
Delete an item from the DynamoDB table.
(Object)
Item hash and range key.
(Object
= {}
)
Additional params to pass to the DeleteCommand.
Promise<Object>
:
Response normalized to camel case.
Get items from one or more DynamoDB tables using a transaction.
(Object
= {}
)
Additional params to pass to the TransactGetCommand.
Promise<[Array<Object>, Array<Object>]>
:
Tuple of the array of transaction-ordered items
and array of transaction-ordered metrics normalized to camel case.
AWS DynamoDB missing key error.
Extends Error
(string)
The type of key that is missing: hashKey or rangeKey.
(string)
The corresponding key name for this table.
AWS EventBridge client.
(Object)
Name | Description |
---|---|
parameters.eventBusName string
|
Event bus name. |
parameters.name string
(default eventbridge )
|
Client name. |
parameters.reqId string
(default <uuid> )
|
Request id. |
parameters.log Object
(default <logger> )
|
Pino compatible logger. |
parameters.AwsEventBridgeClient Constructor
(default EventBridgeClient )
|
Constructor for an EventBridgeClient from the AWS SDK. |
parameters.params Object
(default {} )
|
Additional params to pass to the AwsEventBridgeClient constructor. |
Send events to the EventBridge Event Bus.
(Object
= []
)
Additional params to pass to the PutEventsCommand.
Promise<Object>
:
Response normalized to camel case.
AWS EventBridge failed entries error.
Extends Error
(PutEventsCommandOutput)
AWS Lambda client.
(Object)
Name | Description |
---|---|
parameters.functionName string
|
Lambda function name. |
parameters.name string
(default lambda )
|
Client name. |
parameters.reqId string
(default <uuid> )
|
Request id. |
parameters.log Object
(default <logger> )
|
Pino compatible logger. |
parameters.AwsLambdaClient Constructor
(default LambdaClient )
|
Constructor for a LambdaClient from the AWS SDK. |
parameters.params Object
(default {} )
|
Additional params to pass to the AwsLambdaClient constructor. |
Invoke the Lambda function with a JSON payload.
(Object)
JSON serializable request payload.
(Object
= {}
)
Additional params to pass to the InvokeCommand.
Promise<Object>
:
Lambda function response payload parsed as JSON.
AWS Lambda function error.
Extends Error
(InvokeCommandOutput)
(Object)
: Lambda function response payload parsed as JSON.
AWS Lambda status code error.
Extends Error
(InvokeCommandOutput)
(number)
: Status code from invoking the Lambda function.
AWS S3 client.
(Object)
Name | Description |
---|---|
parameters.bucket string
|
Bucket name. |
parameters.name string
(default s3 )
|
Client name. |
parameters.reqId string
(default <uuid> )
|
Request id. |
parameters.log Object
(default <logger> )
|
Pino compatible logger. |
parameters.AwsS3Client Constructor
(default S3Client )
|
Constructor for an S3Client from the AWS SDK. |
parameters.params Object
(default {} )
|
Additional params to pass to the AwsS3Client constructor. |
Put a JSON serializable object to the S3 bucket. If a gzip Content-Encoding is set, automatically compress.
(string)
S3 object key.
(Object)
JSON serializable S3 object body.
(Object
= {}
)
Additional params to pass to the PutObjectCommand.
Promise<Object>
:
Response normalized to camel case.
AWS SchedulerClient client.
(Object)
Name | Description |
---|---|
parameters.groupName string
(default default )
|
Schedule group name. |
parameters.name string
(default scheduler )
|
Client name. |
parameters.reqId string
(default <uuid> )
|
Request id. |
parameters.log Object
(default <logger> )
|
Pino compatible logger. |
parameters.AwsSdkSchedulerClient Constructor
(default SchedulerClient )
|
Constructor for a SchedulerClient from the AWS SDK. |
parameters.params Object
(default {} )
|
Additional params to pass to the AwsSdkSchedulerClient constructor. |
AWS SQS client.
(Object)
Name | Description |
---|---|
parameters.queueUrl string
|
Queue URL. |
parameters.name string
(default sqs )
|
Client name. |
parameters.reqId string
(default <uuid> )
|
Request id. |
parameters.log Object
(default <logger> )
|
Pino compatible logger. |
parameters.AwsSQSClient Constructor
(default SQSClient )
|
Constructor for an SQSClient from the AWS SDK. |
parameters.params Object
(default {} )
|
Additional params to pass to the AwsSQSClient constructor. |