1
The method IAmazonS3.ListObjects
that you can check out here limits the return by 1000 items per request but does not say if it is possible to make pagination, I have Buckets with more than 10 million files and I need to go through each of them. The description of the method in Portuguese is this:
Returns some or all (at most 1000) of the objects in a Bucket. You can use request parameters as a selection criterion to return a set of objects in a Bucket
Is it possible to complete this request? I haven’t found anything in Google or in the documentation.
My job is this:
static ListObjectsResponse GetBucketObjects(string bucketName)
{
ListObjectsRequest request = new ListObjectsRequest();
request.BucketName = bucketName;
request.MaxKeys = 1000; //Mesmo que eu coloque 90000000000, o sistema considera 1000
ListObjectsResponse response = client.ListObjects(request);
return response;
}