It is a legit case that ListObjectV2 returns a result that contains only CommonPrefix[] and without a Content, and NextContinuationToken can be returned as well.
The current implementation omits nextToken for this case, and makes listing next page impossible.
Description of changes
It is a legit case that
ListObjectV2
returns a result that contains onlyCommonPrefix[]
and without aContent
, andNextContinuationToken
can be returned as well.The current implementation omits
nextToken
for this case, and makes listing next page impossible.Fix: surface the
nextToken
Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesChecklist for repo maintainers
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.