Convenience wrapper around the AWS DynamoDB SDK in addition to BaseEntityClient functionality.

This class provides a number of enhanced AWS DynamoDB SDK methods. For everything else, both the DynamoDBClient and DynamoDBDocument instances are exposed for direct access on the client and doc properties, respectively.

For query operations, use the QueryBuilder class!

Type Parameters

Hierarchy

Constructors

Properties

batchProcessOptions: Omit<BatchProcessOptions<unknown, unknown>, "batchHandler" | "unprocessedItemExtractor">

Default batch process options.

AWS SDK DynamoDBClient instance.

AWS SDK DynamoDBDocument instance.

entityManager: EntityManager<C>

EntityManager instance.

logger: Pick<Console, "error" | "debug">

Injected logger object. Must support debug and error methods. Default: console

tableName: string

Table name.

Methods