Aliyun.Oss.Bucket.WORM.abort

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

Specs

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

AbortBucketWorm用于删除未锁定的合规保留策略。

Examples

iex> Aliyun.Oss.Bucket.WORM.abort("some-bucket", "report1")
{:ok, %Aliyun.Oss.Client.Response{
  data: "",
  headers: [
    {"Server", "AliyunOSS"},
    ...
  ]
}}