Aliyun.Oss.Bucket.Replication.delete

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

delete(bucket, rule_id)

Specs

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

DeleteBucketReplication接口用来停止某个存储空间(Bucket)的跨区域复制并删除Bucket的复制配置,此时源Bucket中的任何操作都不会被同步到目标Bucket。

Examples

iex> Aliyun.Oss.Bucket.Replication.delete("some-bucket", "rule1")
{:ok,
%Aliyun.Oss.Client.Response{
  data: "",
  headers: [
    {"Server", "AliyunOSS"},
    {"Date", "Fri, 11 Jan 2019 05:19:45 GMT"},
    {"Content-Length", "0"},
    {"Connection", "keep-alive"},
    {"x-oss-request-id", "5C3000000000000000000000"},
    {"x-oss-server-time", "90"}
  ]
}}