Concept Flow - Scan pagination
Start Scan
Fetch Page of Items
Check for LastEvaluatedKey
Yes No
Save LastEvaluatedKey
Use LastEvaluatedKey to Fetch Next Page
Fetch Page of Items
Scan reads items page by page. If more items exist, it returns a LastEvaluatedKey to fetch the next page.