aws s3api list-object-versions
This operation is not supported for directory buckets. AWS CLI reference
10 options Its page in the AWS CLI reference
Options
--bucketThe bucket name that contains the objects.--delimiterA delimiter is a character that you specify to group keys.--encoding-typeEncoding type used by Amazon S3 to encode the object keys in the response.--expected-bucket-ownerThe account ID of the expected bucket owner.--key-markerSpecifies the key to start with when listing objects in a bucket.--max-keysSets the maximum number of keys returned in the response.--optional-object-attributesSpecifies the optional fields that you want returned in the response.--prefixUse this parameter to select only those keys that begin with the specified prefix.--request-payerConfirms that the requester knows that they will be charged for the request.--version-id-markerSpecifies the object version you want to start listing from.