is_from_html_api_gateway: Determine if a Lambda event is coming via an API Gateway

View source: R/html-api-gateway-events.R

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


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