Aliyun.Oss.Bucket.get_bucket_location
You're seeing just the function
get_bucket_location
, go back to Aliyun.Oss.Bucket module for more information.
Link to this function
get_bucket_location(bucket)
Specs
GetBucketLocation GetBucketLocation用于查看Bucket所属的数据中心位置信息。
Examples
iex> Aliyun.Oss.Bucket.get_bucket_location("some-bucket")
{:ok, %Aliyun.Oss.Client.Response{
data: %{"LocationConstraint" => "oss-cn-shenzhen"},
headers: [
{"Date", "Wed, 05 Dec 2018 02:34:57 GMT"}
]
}
}