Skip to content

Conversation

@green-nsk
Copy link

When accessing S3 buckets users need to specify a correct region, which seems like something AWS.jl should be able to handle by itself.

In practice, specifying incorrect region in ~/.aws/config results in 301 redirect, which AWS.jl doesn't handle (issue #397 is created for this). But using the correct bucket to start with seems like more appropriate fix.

using AWS.Compat
using AWS.UUIDs

const bucket_regions = Base.Lockable(Dict{String, String}())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is auto-generated, any modifications to this file will be undone when service definitions are re-generated.

Here's the beginning entrypoint for service generation where you can then fit these changes into,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants