generate_result {lambdr}R Documentation

Parse the content of an event and pass it through the handler function

Description

Parse the content of an event and pass it through the handler function

Usage

generate_result(event, config = lambda_config(), deserialiser = NULL)

Arguments

event

the response received from querying the next invocation endpoint.

config

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

Value

An object of class the same as event. The object contains a result value, and the result_calculated attribute is set to TRUE.


[Package lambdr version 1.2.5 Index]