Aliyun.Oss.Bucket.Tags.get

You're seeing just the function get, go back to Aliyun.Oss.Bucket.Tags module for more information.

Specs

get(String.t()) :: {:error, error()} | {:ok, Aliyun.Oss.Client.Response.t()}

GetBucketTags用于获取存储空间(Bucket)的标签信息。

Examples

iex> Aliyun.Oss.Bucket.Tagging.get("some-bucket")
{:ok, %Aliyun.Oss.Client.Response{
    data: %{"Tagging" => %{"TagSet" => [%{"Key" => "key", "Value" => "value"}]}},
    headers: [
      {"Server", "AliyunOSS"},
      {"Date", "Fri, 01 Mar 2019 06:26:07 GMT"},
      ...
    ]
  }
}