aws_credentials/ffi

Types

Type representing the aws_credentials gen_server process

pub type CredentialsProcess =
  process.Subject(dynamic.Dynamic)

Values

pub fn error_atom() -> atom.Atom

Get the ‘error’ atom

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

pub fn ok_atom() -> atom.Atom

Get the ‘ok’ atom

pub fn start_link() -> dynamic.Dynamic

FFI binding to aws_credentials:start_link/0

pub fn stop() -> atom.Atom

FFI binding to aws_credentials:stop/0

pub fn undefined_atom() -> atom.Atom

Get the ‘undefined’ atom

Search Document