aws_credentials/ffi
Types
Type representing the aws_credentials gen_server process
pub type CredentialsProcess =
process.Subject(dynamic.Dynamic)
Values
pub fn force_refresh() -> dynamic.Dynamic
FFI binding to aws_credentials:force_credentials_refresh/0 Returns either a map of credentials, ‘undefined’ atom, or {error, Reason} tuple
pub fn force_refresh_with_options(
options: List(#(atom.Atom, dynamic.Dynamic)),
) -> dynamic.Dynamic
FFI binding to aws_credentials:force_credentials_refresh/1 Takes options as a proplist and returns either credentials, ‘undefined’, or {error, Reason}
pub fn get_credentials() -> dynamic.Dynamic
FFI binding to aws_credentials:get_credentials/0 Returns either a map of credentials or ‘undefined’ atom
pub fn is_undefined(
value: dynamic.Dynamic,
undefined: atom.Atom,
) -> Bool
FFI binding to check if a value is the ‘undefined’ atom