ExOss.Client (ExOss v1.0.0)

Copy Markdown View Source

Client builder for runtime configuration.

Use new/1 to create a client, or new/2 to merge options into an existing client.

Example

client = ExOss.Client.new(
  provider: :aws,
  access_key_id: "...",
  secret_access_key: "...",
  bucket: "my-bucket"
)

# Merge options
other = ExOss.Client.new(client, bucket: "other-bucket")

See ExOss.Client.Client for all available options.

Summary

Functions

Creates a new client with the given options.

Creates a new client by merging options into an existing client.

Types

t()

@type t() :: ExOss.Client.Client.t()

Functions

new(opts)

@spec new(keyword()) :: t()

Creates a new client with the given options.

new(base, overrides)

@spec new(
  t(),
  keyword()
) :: t()

Creates a new client by merging options into an existing client.

Note: provider cannot be overridden.