Aliyun.Oss.Service (aliyun_oss v1.0.0)

Internal module

Link to this section Summary

Link to this section Types

Specs

error() ::
  %Aliyun.Oss.Client.Error{
    body: String.t(),
    parsed_details: map(),
    status_code: integer()
  }
  | atom()

Link to this section Functions

Link to this function

delete(bucket, object, opts \\ [])

Specs

delete(String.t(), String.t() | nil, keyword()) ::
  {:error, error()} | {:ok, Aliyun.Oss.Client.Response.t()}
Link to this function

get(bucket, object, opts \\ [])

Specs

get(String.t() | nil, String.t() | nil, keyword()) ::
  {:error, error()} | {:ok, Aliyun.Oss.Client.Response.t()}
Link to this function

head(bucket, object, opts \\ [])

Specs

head(String.t(), String.t() | nil, keyword()) ::
  {:error, error()} | {:ok, Aliyun.Oss.Client.Response.t()}
Link to this function

post(bucket, object, body, opts \\ [])

Specs

post(String.t(), String.t() | nil, String.t(), keyword()) ::
  {:error, error()} | {:ok, Aliyun.Oss.Client.Response.t()}
Link to this function

put(bucket, object, body, opts \\ [])

Specs

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