I have a bucket on the Amazon S3 with the folder in it. I\'m trying to access it the following way via aws-sdk gem:
s3 = AWS::S3.new( :
The answer by Godsaur is essentially correct. However, it appears to be outdated, perhaps for SDK version 1?
This worked for me for version 2:
s3 = Aws::S3::Client.new(endpoint:'https://s3-ap-southeast-1.amazonaws.com')
See docs.