Every line of 'dynamodb documentclient' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
23 function dynamoDocClient() { 24 return new AWS.DynamoDB.DocumentClient(options) 25 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code
161 documentClient () { 162 if (this.dynamoDocumentClient) { 163 return this.dynamoDocumentClient; 164 } 165 if (this.endpointURL) { 166 debug('Setting dynamodb document client to %s', this.endpointURL); 167 this.AWS.config.update({'endpoint': this.endpointURL}); 168 } else { 169 debug('Getting default dynamodb document client'); 170 } 171 this.dynamoDocumentClient = new this.AWS.DynamoDB.DocumentClient(); 172 return this.dynamoDocumentClient; 173 }