text: exports.handler = function (event, context) {
    console.log('Received S3 event:', JSON.stringify(event, null, 2));
    const bucket = event.Records[0].s3.bucket.name;
    const key = event.Records[0].s3.object.key;
    console.log(`Bucket: ${bucket}`, `Key: ${key}`);
    context.done(null, 'Successfully processed S3 event');
  };