I have lambda function which I invoke in a loop (boto3) asynchronous.
for obj in somelist:
aws_lambda.invoke(FunctionName='lambda_name',
InvocationType='Event',
LogType='Tail',
Payload=bytes(obj))
It takes few seconds to process and I would like it to report back to my application.
How do I do that? I could send SNS message from lambda, there is also CloudWatch but it feels like there should be an easier way of doing it?