fix(aws-serverless): Prevent crash in isPromiseAllSettledResult with null/undefined array elements
#19346
+26
−0