'Restore previous version - S3 object

I would like to restore a previous version and make it the current version. I can see the previous version (version ID: sAK..) but when I select Actions, the copy button is greyed out. I have also tried deleting current version (version id: CKu...) but that made my prefix disappear and created a delete marker. I ended up downloading the sAK version and uploading it (which has a new version id, I assume this is expected).

enter image description here Is there another way to delete current version and promote previous version as current?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source