Git Product home page Git Product logo

Comments (4)

prestomation avatar prestomation commented on June 12, 2024 1

Hi Johnny,
EU is the same as eu_west_1. This is an artifact from several years ago when S3 was available in the US and EU before AWS had modern region names. I do not know for sure, but I suspect the only time you'll see EU is if you create a bucket using the BucketLocationConstraint 'EU'. In terms of geography, it is exactly the same as eu_west_1 in Dublin.

NOT_SET is part of the C++ SDK and not modeled by Amazon S3 so you will see this in enums in all clients. It simply represents that the value deserialized the service does not exist in the enum in your client. I think the primary situations this happens is if the service introduces new enum values and you do not update the client and if the member is simply optional and the service does not return it(e.g. it is equivalent to the member not existing in the json or xml payload)

cn_north_1 is AWS China. It is supported by S3, thus you see it in their bucket constraints. We simply have not added it to the SDK's region list. China is a region that is totally separate from the rest of the regions, in that there are different AWS accounts in China.

from aws-sdk-cpp.

prestomation avatar prestomation commented on June 12, 2024 1

My apologies,

See the S3 documentation here: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html

'When the bucket's region is US Classic, Amazon S3 returns an empty string for the bucket's region:'

from aws-sdk-cpp.

johnny-guo avatar johnny-guo commented on June 12, 2024

Hi, Preston,

Thank you very much for you elaboration. One more question. In the region, we have US_EAST_1. What is the corresponding BucketLocationConstraint enum? This one seems to be missing.

Thanks,
Johnny

from aws-sdk-cpp.

johnny-guo avatar johnny-guo commented on June 12, 2024

No apology is needed:-) Thanks, Preston.

from aws-sdk-cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.