1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hello, you may have already tried the prefix
parameter that's part of the list_object_versions
call, that can be used to filter down the results, if the prefix is known or common.
CLI example:
$ aws s3api list-object-versions --bucket EXAMPLE-BUCKET --prefix EXAMPLE-PREFIX
If you know the object and versiondID you can directly call get-object-attributes
with the object-attributes
parameter. This will return the values specified in the object-attributes
parameter, along with the LastModified and VersionID values.
CLI example:
$ aws s3api get-object-attributes --bucket EXAMPLE-BUCKET --key EXAMPLE-PREFIX/OBJECT.html --object-attributes "ETag"
Hope this somewhat helped.
beantwortet vor 6 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren