title: DynamoDB DeleteItem apparently not working - no error given
body: <p>I'm using put and get without problems, but when it comes to delete, nothing happens. Here's my code:</p>
  
  <pre><code>async function resetUserIdDB(userId) {
    let params = {
      TableName: 'TableName',
      "Key": {
        "userId": {
          "S": userId.toString()
        }
      }
    };
    try {
      const dbResponse = await ddb.deleteItem(params).promise();
      console.log(`dbresponse has params of ${JSON.stringify(params)} and response of ${JSON.stringify(dbResponse)}`);
      if (dbResponse.Item) {
        console.log(`deleted row with userId of ${userId}`);
        return (dbResponse);
      }
    } catch (err) {
        console.log(`user reset failed with ${err}`);
      throw new Error(`failed to reset because of ${err}`);
    }
  }
  </code></pre>
  
  <p>The params all look fine, but I just get an empty response, and no error, but no deletion either. I'm using the same .promise() on all my other dynamodb actions.</p>
  
  <p>Any ideas?</p>