These lambda functions back the API for the project.
Get all of the devices in the system. Returns a response in the form:
{
"status": "Success|Error Message",
"payload": [
{
"thing": {
"thingName": "MQTTfx",
"attributes": {}
},
"shadow": {}
},
//more devices
]
}
Used to get information about a specific device.
{
status: "Success|Error message",
payload: {
thing: {
//thing
},
shadow: {
}
}
}
All of these functions are deployed using grunt.
All lambda functions here are deployed to AWS using grunt.