How to get, upload and delete an object from s3 using aws-sdk for nodejs