is_from_html_api_gateway {lambdr}R Documentation

Determine if a Lambda event is coming via an API Gateway

Description

Determine if a Lambda event is coming via an API Gateway

Usage

is_from_html_api_gateway(event_content)

Arguments

event_content

the content of the response received from querying the text invocation endpoint, as a character

Value

logical

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]