Aliyun.Oss.Bucket.Logging.get
You're seeing just the function
get
, go back to Aliyun.Oss.Bucket.Logging module for more information.
Link to this function
get(bucket)
Specs
GetBucketLogging 用于查看Bucket的访问日志配置情况。
Examples
iex> Aliyun.Oss.Bucket.Logging.get("some-bucket")
{:ok, %Aliyun.Oss.Client.Response{
data: %{
"BucketLoggingStatus" => %{
"LoggingEnabled" => %{
"TargetBucket" => "some-bucket",
"TargetPrefix" => "oss-accesslog/"
}
}
},
headers: [
{"Date", "Wed, 05 Dec 2018 02:34:57 GMT"},
...
]
}}