completed RESTFUL api for aws s3