()
| 33 | } |
| 34 | |
| 35 | private static createDefaultDocumentClient() { |
| 36 | const marshallOptions = { convertEmptyValues: true, removeUndefinedValues: true, convertClassInstanceToMap: true }; |
| 37 | return DynamoDBDocumentClient.from(new DynamoDBClient({}), { marshallOptions }); |
| 38 | } |
| 39 | |
| 40 | put(tableName: string, item: any): Put { return new Put(tableName, item).client(DOCUMENT_CLIENT); } |
| 41 | update(tableName: string, key: any): Update { return new Update(tableName, key).client(DOCUMENT_CLIENT); } |
no outgoing calls
no test coverage detected