MCPcopy Create free account
hub / github.com/Parana-Games/tinymo / createDefaultDocumentClient

Method createDefaultDocumentClient

src/client.ts:35–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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); }

Callers 2

setDocumentClientMethod · 0.80
defaultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected