Aliyun.Oss.Bucket.WORM.complete

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

complete(bucket, worm_id)

Specs

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

CompleteBucketWorm用于锁定合规保留策略。

Examples

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