I have a query that fetches all the items inside an S3 bucket, and it takes a very long time to load if there are a lot of items in that bucket.
bucket.objects(prefix: 'path/to/items').collect(&:key)
Based on the docs, I see it's possible to limit the number of items in that fetch.
bucket.objects(prefix: 'path/to/items').limit(10).collect(&:key)
However, I don't see any offset parameter for this function. Any idea how I could do pagination with this so it doesn't take so long to load the first few results?