title: Limit is not working for AWS Lambda function
body: <p>I have a lambda function to fetch the items from dynamoDB. I have already set <code>Limit: 100</code> but its not working and it gives the response as <code>413 - Payload Too Large</code>.</p>
  <p>Here is my code and I am using it with <code>documentClient.query</code>:</p>
  <pre><code>   {
        TableName: &lt;tableName&gt;,
        IndexName: &lt;index-value&gt;',
        ScanIndexForward: false,  
        KeyConditionExpression: '#status = :status',
        FilterExpression: filterExpression,
        ExpressionAttributeNames: {
          &quot;#status&quot;: &quot;status&quot;
        },
        ExpressionAttributeValues: expressionAttributeValues,
        Limit: 100
      }; 
  
  </code></pre>
  <p>Kindly share your inputs.</p>
  <p>Thank you.</p>