Aliyun.Oss.Bucket.WORM.get
You're seeing just the function
get
, go back to Aliyun.Oss.Bucket.WORM module for more information.
Link to this function
get(bucket)
Specs
GetBucketWorm用于获取指定存储空间(Bucket)的合规保留策略信息。
Examples
iex> Aliyun.Oss.Bucket.WORM.get("some-bucket")
{:ok, %Aliyun.Oss.Client.Response{
data: %{
"WormConfiguration" => %{
"CreationDate" => "2021-01-19T08:34:39.000Z",
"ExpirationDate" => "2021-01-20T08:34:39.000Z",
"RetentionPeriodInDays" => "1",
"State" => "InProgress",
"WormId" => "20000000000000000000000000000000"
}
},
headers: [
{"Date", "Wed, 05 Dec 2018 02:34:57 GMT"},
...
]
}}