DSmartHome: Difference between revisions

From dtype.org
(code for api gateway)
(No difference)

Revision as of 00:44, 30 July 2017

API Gateway

{ 
    "TableName": "dsmarthome",
    "Item": {
        "device": {
            "S": "$input.path('$.device')"
            },
        "time": {
            "N": "$input.path('$.time')"
        },
        "value": {
            "N": "$input.path('$.value')"
        },
        "description": {
            "S": "$input.path('$.description')"
        }
    }
}