parse_event_content: Parse the body of the Lambda event

View source: R/parse-event-content.R

parse_event_contentR 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.


lambdr documentation built on Nov. 25, 2023, 5:08 p.m.