Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val get :
?profile:string ->
?aws_access_key_id:string ->
?aws_secret_access_key:string ->
?region:Awsm.Region.t ->
?output:string ->
unit ->
(Awsm.Cfg.t, string) Core.Result.t Lwt.t
Get a configuration, following a provider chain as follows:
config_file
argument to this function if any, environment variable AWS_CONFIG_FILE if set, and finally "~/.aws/config". It is okay for none to exist.profile
, which is taken as the first one of the following: profile
argument to this function if given, environment variable AWS_DEFAULT_PROFILE if set, and finally "default".val get_exn :
?profile:string ->
?aws_access_key_id:string ->
?aws_secret_access_key:string ->
?region:Awsm.Region.t ->
?output:string ->
unit ->
Awsm.Cfg.t Lwt.t