(private client: DynamoDBDocumentClient)
| 15 | public get length() { return this.batchWriteItems.length; } |
| 16 | |
| 17 | constructor(private client: DynamoDBDocumentClient) { } |
| 18 | |
| 19 | push(...writes: BatchWritable[]): BatchWrite { this.batchWriteItems.push(...writes); return this; } |
| 20 | async run(): Promise<BatchWriteCommandOutput> { return await this.client.send(new BatchWriteCommand(this.build())); } |
nothing calls this directly
no outgoing calls
no test coverage detected