config_or_runtime_api {lambdr}R Documentation

Convert a config to a runtime API if necessary

Description

Endpoint functions need to accept either a config (as created by lambda_config) or a runtime API. This function will accept either and ensure that the runtime API is returned.

Usage

config_or_runtime_api(config)

Arguments

config

A list of configuration values as created by the lambda_config function.


[Package lambdr version 1.2.5 Index]