I'm trying to use 'LastEvaluatedKey' with a scan method in dynamo, but I'm not able to pull data from other pages, just one.
I also asked to print the value of 'LastEvaluatedKey' and the values always remain the same, it's as if it doesn't leave the first pagination and I don't understand why,
resp = table.scan(AttributesToGet=['name','email'])`
while 'LastEvaluatedKey' resp:
count=0
while count < len(resp.get('Items')):
print(resp.get('Items')[count].get('name'), ",",
resp.get('Items')[count].get('email'))
count +=1