GetBucketLocation API is behaving wierdly with bucket with region us-east-1

0

Hi. I am using AWS's getbucketlocation api to find the region of a particular bucket. I am getting proper expected results with all regions except for buckets belonging to region us-east-1. Is there any reason for such behaviour?

1개 답변
0

The GetBucketLocation API is expected to return null for buckets in us-east-1 [1]. This likely has something to do with it being the original region, and main region for S3 [2].

[1] https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLocation.html#API_GetBucketLocation_ResponseElements
[2] https://github.com/aws/aws-cli/issues/3597#issuecomment-424167129

Ed
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠