dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
12 lines (11 loc) • 609 B
TypeScript
import type { BatchWriteCommandInput } from '@aws-sdk/lib-dynamodb';
import { EntityAction } from '../../../entity/index.js';
import type { Entity, InputItem } from '../../../entity/index.js';
import { $item } from './constants.js';
export declare class BatchPutRequest<ENTITY extends Entity = Entity> extends EntityAction<ENTITY> {
static actionName: "batchPut";
[$item]?: InputItem<ENTITY>;
constructor(entity: ENTITY, item?: InputItem<ENTITY>);
item(nextItem: InputItem<ENTITY>): BatchPutRequest<ENTITY>;
params(): NonNullable<BatchWriteCommandInput['RequestItems']>[string][number];
}