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
feita há um ano488 visualizações
1 Resposta
0
Resposta aceita

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
ESPECIALISTA
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas