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 Risposta
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande