Aliyun.Oss.Bucket.RequestPayment.put

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

put(bucket, payer)

Specs

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

PutBucketRequestPayment接口用于设置请求者付费模式。

Examples

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