wait_for_event {lambdr} | R Documentation |
Query the next invocation endpoint to get the next input
Description
The query will receive a response when an input is queued up. If there is no input waiting, the Lambda instance will be shut down after a period of inactivity.
Usage
wait_for_event(config = lambda_config())
Arguments
config |
A list of configuration values as created by the
|
Details
The Request ID is unique for each input of a Lambda. It is carried by the
"lambda-runtime-aws-request-id" header of the response from the next
invocation endpoint (see endpoints
).
If an error occurs when extracting the Request ID it is impossible to post it to the invocation error endpoint as that is determined by the Request ID. We log the error and move on.
[Package lambdr version 1.2.5 Index]