Module Smaws_Lib.Config

type custom_endpoint = {
  1. uri : Uri.t option;
  2. headers : (string * string) list option;
}
type t = {
  1. resolveAuth : unit -> Auth.t;
  2. resolveRegion : unit -> string;
  3. endpoint : custom_endpoint option;
}
val defaultConfig : unit -> t

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

val make : ?endpoint:custom_endpoint -> resolveRegion:(unit -> string) -> resolveAuth:(unit -> Auth.t) -> unit -> t