s3cp icon indicating copy to clipboard operation
s3cp copied to clipboard

S3 Endpoints

Open rjocoleman opened this issue 11 years ago • 2 comments

I spotted this: https://github.com/aboisvert/s3cp/blob/master/lib/s3cp/utils.rb#L47

FYI: aws/s3 has got a method to get this programatically: https://github.com/aws/aws-sdk-ruby/blob/master/lib/aws/s3/bucket.rb#L257

It maps to this: http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html

rjocoleman avatar May 19 '13 07:05 rjocoleman