DynamoDB EntityClient constructor.
EntityClientOptions object.
ReadonlybatchDefault batch process options.
ReadonlyclientAWS SDK DynamoDBClient instance.
ReadonlydocAWS SDK DynamoDBDocument instance.
ReadonlyentityEntityManager instance.
ReadonlyloggerInjected logger object. Must support debug and error methods. Default: console
ReadonlytableTable name.
Creates a DynamoDB table and waits for it to become active.
CreateTableCommandInput; TableName defaults to this.tableName.
Waiter configuration (default maxWaitTime 60s).
Deletes an item from a DynamoDB table.
EntityKey object.
Optionaloptions: MakeOptional<Omit<DeleteCommandInput, "Item">, "TableName">DeleteCommandInput with Key omitted; TableName optional.
Deletes an item from a DynamoDB table.
DeleteCommandInput; TableName optional.
Deletes multiple items from a DynamoDB table in batches.
Array of EntityKey.
Optionaloptions: BatchWriteOptionsBatchWriteOptions.
Deletes a DynamoDB table and waits for it to be confirmed deleted.
DeleteTableCommandInput; TableName defaults to this.tableName.
Waiter configuration (default maxWaitTime 60s).
Token-aware getItem overloads (records). Strip keys in handlers when needed via entityManager.removeKeys.
Token-aware with tuple projection (attributes as const) -> projected DB record
Optionaloptions: MakeOptional<Token-aware getItem overloads (records). Strip keys in handlers when needed via entityManager.removeKeys.
Token-aware with tuple projection (attributes as const) -> projected DB record
Optionaloptions: MakeOptional<Token-aware getItem overloads (records). Strip keys in handlers when needed via entityManager.removeKeys.
Token-aware with tuple projection (attributes as const) -> projected DB record
Optionaloptions: MakeOptional<Token-aware getItem overloads (records). Strip keys in handlers when needed via entityManager.removeKeys.
Token-aware with tuple projection (attributes as const) -> projected DB record
Gets multiple items from a DynamoDB table in batches (records). Token-aware; strip keys in handlers when needed via entityManager.removeKeys.
Array of EntityKey.
Optional list of attributes to project.
Optionaloptions: BatchGetOptionsBatchGetOptions.
Gets multiple items from a DynamoDB table in batches (records). Token-aware; strip keys in handlers when needed via entityManager.removeKeys.
Array of EntityKey.
Optional list of attributes to project.
Optionaloptions: BatchGetOptionsBatchGetOptions.
Gets multiple items from a DynamoDB table in batches (records). Token-aware; strip keys in handlers when needed via entityManager.removeKeys.
Array of EntityKey.
Optionaloptions: BatchGetOptionsBatchGetOptions.
Purge all items from a DynamoDB table.
Optionaloptions: BatchWriteOptionsBatchWriteOptions.
Number of items purged.
Puts an item to a DynamoDB table.
EntityRecord object (storage-facing).
Optionaloptions: MakeOptional<Omit<PutCommandInput, "Item">, "TableName">PutCommandInput with Item omitted; TableName optional.
Puts an item to a DynamoDB table.
PutCommandInput; TableName optional.
Puts multiple items to a DynamoDB table in batches.
Array of EntityRecord.
Optionaloptions: BatchWriteOptionsBatchWriteOptions.
Deletes multiple items as a single transaction.
Puts multiple items as a single transaction.
Array of EntityRecord.
Convenience wrapper around the AWS DynamoDB SDK in addition to BaseEntityClient functionality.
This class exposes DynamoDBClient and DynamoDBDocument for direct access, and delegates high-level operations to small helper modules.
For query operations, use the QueryBuilder class.