I would like retrieve a list of all objects in a versioned bucket along with their versions in a list similar to how the AWS S3 Console does it:
I am able to list objects in a non-versioned bucket using the advice from this SO question. However, it is not all that clear how to list them along with version IDs as S3ObjectSummary
contains no versioning information. It would seem cumbersome to make separate calls to versioning methods and then try to put them together with the information contained within an S3ObjectSummary