If you want to obtain the content of a Cold object, restore the object first. Then, you can download the object.
By default, the object of the latest version is restored. If the object has a delete marker, status code 404 is returned. To restore an object of a specified version, the versionId parameter can be used to specify the desired version.