Returns a list of summary information about the objects in the specified buckets. List results are always returned in lexicographic (alphabetical) order.
Since buckets can contain a virtually unlimited number of keys, the complete results of a list query can be extremely large. To manage large result sets, Amazon S3 uses pagination to split them into multiple responses. Always check the {@link ObjectListing#isTruncated()} method to see if the returnedlisting is complete, or if additional calls are needed to get more results. Alternatively, use the {@link AmazonS3Client#listNextBatchOfObjects(ObjectListing)} method asan easy way to get the next page of object listings.
List performance is not substantially affected by the total number of keys in a bucket.
@param bucketName The name of the Amazon S3 bucket to list. @return A listing of the objects in the specified bucket, along with anyother associated information such as common prefixes (if a delimiter was specified), the original request parameters, etc. @throws AmazonClientException If any errors are encountered on the client while making the request or handling the response. @throws AmazonServiceException If any errors occurred in Amazon S3 while processing the request. @see {@link AmazonS3Client#listObjects(String bucketName,String prefix)} @see {@link AmazonS3Client#listObjects(ListObjectsRequest listObjectsRequest)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|