I have to fetch the version of an object after it is uploaded to s3 and store it in local. After that I will have to use that version to fetch the object from s3. How to do