class Aws::Plugins::S3RequestSigner::BucketRegionErrorHandler
def region_from_body(body)
def region_from_body(body) region = body.match(/<Region>(.+?)<\/Region>/)[1] if region.nil? || region == "" raise "couldn't get region from body: #{body}" else region end end