title: query dynamodb function using gsi with more than 1MB of data
body: <p>I'm trying to find a timely and cost-effective way to query a dynamodb table using a lambda function that will scan the table and return 1MB+ values using a sort key to determine which values to return. I read that parallel scans are a thing but since I have to use a sort key + GSI to narrow it down I'm not sure how much time that would save. I also saw that I could query the table into batches(by finding the LastEvaluatedKey) but considering that would be 10+ calls to the database every time(function is called every 10 mins) I don't think that would help as well!</p>
  <p>If anyone has alternatives/advice it would be much appreciated!</p>