Aliyun.Oss.Bucket.RequestPayment.get

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

Specs

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

GetBucketRequestPayment接口用于获取请求者付费模式配置信息。

Examples

iex> Aliyun.Oss.Bucket.RequestPayment.get("some-bucket")
{:ok, %Aliyun.Oss.Client.Response{
    data: %{"RequestPaymentConfiguration" => %{"Payer" => "BucketOwner"}},
    headers: [
      {"Server", "AliyunOSS"},
      {"Date", "Fri, 01 Mar 2019 06:26:07 GMT"},
      ...
    ]
  }
}