Want more features on Pastebin? Sign Up, it's FREE!
Guest

DynamoDB batch request

By: a guest on Nov 28th, 2013  |  syntax: None  |  size: 0.28 KB  |  views: 59  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. db.client.batchGetItem(
  2. {"RequestItems":{
  3.      "Cluster":{
  4.            "Keys":[
  5.                {"HashKeyElement"  : {"key1":"value1"}},
  6.                {"HashKeyElement"  : {"key2":"value2"}}
  7.            ]
  8.        }
  9.     }
  10. }, function(err, result){ //handle error and result here  });
clone this paste RAW Paste Data