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 Resposta
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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas