text: 'use strict';
  console.log('Loading function');
  
  exports.handler = (event, context, callback) => {
      /* Process the list of records and transform them */
      const output = event.records.map((record) => ({
          /* This transformation is the "identity" transformation, the data is left intact */
          recordId: record.recordId,
          result: 'Ok',
          data: record.data,
      }));
      console.log(`Processing completed.  Successful records ${output.length}.`);
      callback(null, { records: output });
  };
  