title: How to update item by Composite Primary Key in Dynamodb
body: <p>I have a table called friends:</p>
  
  <pre><code>Friend 1 | Friend 2 | Status
  </code></pre>
  
  <p>Friend 1 is my HASH attribute and Friend 2 is my range attribute.</p>
  
  <p>I would like to update an item's staus attribute where friend 1 = 'Bob' and friend 2 = 'Joe'. Reading through the documentation on <a href="http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/JavaDocumentAPICRUDExample.html" rel="nofollow">http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/JavaDocumentAPICRUDExample.html</a> I can only see how to update an item by 1 key, how do I include the other key?</p>