mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
14 lines
339 B
JavaScript
14 lines
339 B
JavaScript
'use strict';
|
|
|
|
// NOTE: the `utils.js` file is bundled into the deployment package
|
|
// eslint-disable-next-line
|
|
const { log } = require('./utils');
|
|
|
|
function iotBasic(event, context, callback) {
|
|
const functionName = 'iotBasic';
|
|
log(functionName, JSON.stringify(event));
|
|
return callback(null, event);
|
|
}
|
|
|
|
module.exports = { iotBasic };
|