DSmartHome

From dtype.org
Revision as of 00:44, 30 July 2017 by Drew (talk | contribs) (code for api gateway)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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')"
        }
    }
}