title: AWS node.js automatic retry on failed batchWrite()
body: <p>According to this aws doc <a href="http://docs.aws.amazon.com/general/latest/gr/api-retries.html" rel="nofollow noreferrer">http://docs.aws.amazon.com/general/latest/gr/api-retries.html</a> automatic retry feature is build in the aws sdk in my case node.js aws sdk. I configured the DocumentClient object like this:</p>
  <pre class="lang-js prettyprint-override"><code>var dynamodb = new AWS.DynamoDB.DocumentClient({
      region: 'us-west-2',
      retryDelayOptions: {base: 50},
      maxRetries: 20
  });
  </code></pre>
  <p>but I still cannot make it auto-retry for me. I want to auto-retry with all UnprocessedItems as well.
  Can you point me to where is my mistake?</p>
  <p>Thanks</p>