Aliyun.Oss.Object.ACL.get

You're seeing just the function get, go back to Aliyun.Oss.Object.ACL module for more information.
Link to this function

get(bucket, object)

Specs

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

GetObjectACL 用来获取某个Bucket下的某个Object的访问权限。

Examples

iex> Aliyun.Oss.Object.ACL.get("some-bucket", "some-object")
{:ok, %Aliyun.Oss.Client.Response{
    data: %{
      "AccessControlPolicy" => %{
        "AccessControlList" => %{"Grant" => "default"},
        "Owner" => %{
          "DisplayName" => "1111111111111111",
          "ID" => "1111111111111111"
        }
      }
    },
    headers: [
      {"Date", "Wed, 05 Dec 2018 02:34:57 GMT"}
    ]
  }
}