Is it safe to rely on versions ordering in ListObjectVersions response?

0

I have tried calling ListObjectVersions several times and it looks like versions are always sorted from newest to oldest. Is it safe to rely on the assumption that ListObjectVersions will always return all object versions and versions will be sorted from newest to oldest?

Mojex
質問済み 1年前512ビュー
1回答
0
承認された回答

Hello,

The second example in the documentation states that objects are returned in the order they are stored: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions.html#API_ListObjectVersions_Examples

Regards, Jon

profile pictureAWS
エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ