title: Dynamodb scan stops and results are returned with LastEvaluatedKey
body: <p>I have a http end point - when i hit the end point with my table name as query string parameter - i only get partial results with <code>LastEvaluatedKey</code></p>
  
  <pre><code>import boto3
  import json
  
  print('Loading function')
  dynamo = boto3.client('dynamodb')
  
  
  def respond(err, res=None):
      return {
          'statusCode': '400' if err else '200',
          'body': err.message if err else json.dumps(res),
          'headers': {
              'Content-Type': 'application/json',
          },
      }
  
  
  def lambda_handler(event, context):
  
      operations = {
          'DELETE': lambda dynamo, x: dynamo.delete_item(**x),
          'GET': lambda dynamo, x: dynamo.scan(**x),
          'POST': lambda dynamo, x: dynamo.put_item(**x),
          'PUT': lambda dynamo, x: dynamo.update_item(**x),
      }
  
      operation = event['httpMethod']
      if operation in operations:
          payload = event['queryStringParameters'] if operation == 'GET' else json.loads(event['body'])
          return respond(None, operations[operation](dynamo, payload))
      else:
          return respond(ValueError('Unsupported method "{}"'.format(operation)))
  </code></pre>
  
  <p>How do i make sure to scan all pages of the table.</p>