package smaws-lib

  1. Overview
  2. Docs

Module Smaws_Lib.ConfigSource

Sourcetype t = {
  1. resolveAuth : unit -> Auth.t;
  2. resolveRegion : unit -> string;
}
Sourceval defaultConfig : unit -> t

Create a default configuration which derives the region and authorization from the environment

Sourceval make : resolveRegion:(unit -> string) -> resolveAuth:(unit -> Auth.t) -> t