Closed agavrilov76 closed 1 year ago
The code snippet below returns an instance of ListObjectsV2Response with null keyCount regardless of the contents.
final ListObjectsV2Response objectsToCopy = amazonS3Client.listObjectsV2( ListObjectsV2Request.builder().bucket(masterBucket).prefix(key).build());
https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html
Many thanks for reporting this! 👍
The code snippet below returns an instance of ListObjectsV2Response with null keyCount regardless of the contents.