message: there is another level of nesting of events
diff: @@ -45,12 +45,18 @@ exports.handler = async function (event: any) {
  */
  for (let index in records) {
  let payload = records[index].body;
  - console.log('processing s3 event ' + payload);
  + console.log('processing s3 events ' + payload);
  +
  + let s3eventRecords = event.Records;
  +
  + for (let i in s3eventRecords) {
  +
  + let s3event = s3eventRecords[i];
  //Extract variables from event
  - const objectKey = payload?.s3?.object?.key;
  - const bucketName = payload?.s3?.bucket?.name;
  - const bucketARN = payload?.s3?.bucket?.arn;
  + const objectKey = s3event?.s3?.object?.key;
  + const bucketName = s3event?.s3?.bucket?.name;
  + const bucketARN = s3event?.s3?.bucket?.arn;
  console.log('Object Key - ' + objectKey);
  console.log('Bucket Name - ' + bucketName);
  @@ -86,4 +92,5 @@ exports.handler = async function (event: any) {
  console.log('not an s3 event...')
  }
  }
  + }
  };
  \ No newline at end of file
  