I have 1 Lambda function which is configured to submit a given job to AWS Batch via a boto3 call. The lambda function gets triggered by a CloudWatch event, where the CloudWatch event passes the job information as a dictionary.
There are many CloudWatch events and each of them is for a different job. It is possible for more than one CloudWatch events to trigger the Lambda function at the same time. What will happen in this case? Will the Lambda function fail to submit some of the jobs or all of them?