UNPKG

serverless

Version:

Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more

14 lines (10 loc) 339 B
'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 };