Aliyun.Oss.Bucket.Logging.put

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

put(bucket, target_bucket, target_prefix \\ "oss-accesslog/")

Specs

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

PutBucketLogging接口用于为 Bucket 开启访问日志记录功能。

Examples

iex> Aliyun.Oss.Bucket.Logging.put("some-bucket", "target-bucket", "target-prefix")
{:ok,
%Aliyun.Oss.Client.Response{
  data: "",
  headers: [
    {"Server", "AliyunOSS"},
    {"Date", "Fri, 11 Jan 2019 05:05:50 GMT"},
    {"Content-Length", "0"},
    {"Connection", "keep-alive"},
    {"x-oss-request-id", "5C0000000000000000000000"},
    {"x-oss-server-time", "63"}
  ]
}}