in traffic_mirroring/backfill_handler.py [0:0]
def describe_instances(next_token):
if not next_token or next_token == START_BACKFILL_TOKEN:
return ec2.describe_instances(MaxResults=MAX_RESULTS)
return ec2.describe_instances(MaxResults=MAX_RESULTS, NextToken=next_token)