AWS DynamoDB document client.

new DynamodbDocumentClient(parameters: Object)
Parameters
parameters (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.
Properties
db (Object) : Raw DynamoDBClient.
tableName (Object) : Configured table name.
Related
@aws-sdk/client-dynamodb
Instance Members
get(key, params)
put(item, params)
update(key, params)
delete(key, params)
query(params)
transactGet(transactItems, params)
transactWrite(transactItems, params)

AWS DynamoDB missing key error.

new DynamodbMissingKeyError(keyType: string, keyName: string)

Extends Error

Parameters
keyType (string) The type of key that is missing: hashKey or rangeKey.
keyName (string) The corresponding key name for this table.
Properties
keyType (string) : The type of key that is missing: hashKey or rangeKey.
keyName (string) : The corresponding key name for this table.

AWS EventBridge client.

new EventbridgeClient(parameters: Object)
Parameters
parameters (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.
Related
@aws-sdk/client-eventbridge
Instance Members
putEvents(events, params)

EventbridgeFailedEntriesError

lib/clients/eventbridge.doc.js

AWS EventBridge failed entries error.

new EventbridgeFailedEntriesError(res: PutEventsCommandOutput)

Extends Error

Parameters
Properties
failedEntryCount (number) : Number of failed entries.
data (Array<Object>) : Event entries response normalized to camel case.

PutEventsCommandOutput

lib/clients/eventbridge.doc.js
PutEventsCommandOutput
Related
PutEventsCommandOutput

AWS Lambda client.

new LambdaClient(parameters: Object)
Parameters
parameters (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.
Related
@aws-sdk/client-lambda
Instance Members
invokeJson(payload, params)

LambdaFunctionError

lib/clients/lambda.doc.js

AWS Lambda function error.

new LambdaFunctionError(res: InvokeCommandOutput)

Extends Error

Parameters
Properties
data (Object) : Lambda function response payload parsed as JSON.

LambdaStatusCodeError

lib/clients/lambda.doc.js

AWS Lambda status code error.

new LambdaStatusCodeError(res: InvokeCommandOutput)

Extends Error

Parameters
Properties
statusCode (number) : Status code from invoking the Lambda function.

InvokeCommandOutput

lib/clients/lambda.doc.js
InvokeCommandOutput
Related
InvokeCommandOutput

AWS S3 client.

new S3Client(parameters: Object)
Parameters
parameters (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.
Related
@aws-sdk/client-s3
Instance Members
putObjectJson(key, body, params)
getObjectJson(key, params)

AWS SchedulerClient client.

new SchedulerClient(parameters: Object)
Parameters
parameters (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.
Related
@aws-sdk/client-scheduler
Instance Members
getSchedule(name?, params)
createSchedule(name?, params)
deleteSchedule(name?, params)
deleteSchedule(name?, params)

AWS SQS client.

new SqsClient(parameters: Object)
Parameters
parameters (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.
Related
@aws-sdk/client-sqs
Instance Members
sendMessageJson(message, params)