parse_event_content {lambdr}R Documentation

Parse the body of the Lambda event

Description

Parse the body of the Lambda event

Usage

parse_event_content(event, config)

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

A list containing the arguments to be passed to the handler function

Invocations via an API Gateway

Events coming from an API Gateway need to be treated a little differently, both in parsing the event content and in posting the results. Refer to vignette("api-gateway-invocations", package = "lambdr") for details.


[Package lambdr version 1.2.5 Index]