View Source aws_credentials_ec2 (aws_credentials v0.3.4)
Summary
Types
-type field() :: string().
-type not200(Tag) :: {Tag, {not200, aws_credentials_httpc:status_code(), aws_credentials_httpc:body(), aws_credentials_httpc:headers()}} | {Tag, aws_credentials_httpc:response_error()}.
-type request_headers() :: [request_header()].
-type role() :: binary().
-type session_token() :: binary().
-type value() :: string().
Functions
-spec fetch(aws_credentials_provider:options()) -> {error, _} | {ok, aws_credentials:credentials(), aws_credentials_provider:expiration()}.