serialise_result: Serialise a result

View source: R/serialise-result.R

serialise_resultR Documentation

Serialise a result

Description

This result is posted as is, and so all JSON serialisation, etc. must be performed here.

Usage

serialise_result(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

character.

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.