3 ms·
It is possible to use the InvocationType "Event" [1] when invoking a Lambda. Then the API returns immediately, but you will never know if there was an error dur
by civ0 5y ago
It is possible to use the InvocationType "Event" [1] when invoking a Lambda. Then the API returns immediately, but you will never know if there was an error during the execution of the Lambda.
The author would problaly argue to use Step Functions in this case, but using "Event" can also work fine.
[1] https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda.html#Lambda.Client.invoke https://boto3.amazonaws.com/v1/documentation/api/latest/refe...
- andrew_ 5y agoLambda + SNS + CloudWatch (with alarms) is a successful pattern for invoking other lambas very async and still being notified of problems. Swap in SQS if you're in need of message retry.