Aliyun.Oss.Object.ACL.put
You're seeing just the function
put
, go back to Aliyun.Oss.Object.ACL module for more information.
Link to this function
put(bucket, object, acl)
Specs
put(String.t(), String.t(), String.t()) :: {:error, error()} | {:ok, Aliyun.Oss.Client.Response.t()}
PutObjectACL接口用于修改Object的访问权限。
Examples
iex> Aliyun.Oss.Object.ACL.put("some-bucket", "some-object", "private")
{:ok, %Aliyun.Oss.Client.Response{
data: "",
headers: [
{"Server", "AliyunOSS"},
{"Date", "Wed, 05 Dec 2018 02:34:57 GMT"},
...
]
}
}