use aws-sdk to access s3 programmatically