summaryrefslogtreecommitdiff
path: root/Homework/cs5260/widgetrequesthandler/lambda-test-events.txt
blob: 009342a570cd4e5d9c3d9c9c39dd86c2a308cc58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
-- CreateWidget
{
  "type": "create",
  "requestId": "9cba45e8-ff0f-4ab1-b847-48ac3f0ea77a",
  "widgetId": "7ed25344-bfde-4b78-9403-37d0a5fa59cd",
  "owner": "simponic",
  "label": "lambda widget test 01",
  "description": "a test lambda widget",
  "otherAttributes": [
    {
      "name": "lambdaFn",
      "value": "widget-api-handler"
    }
  ]
}

-- UpdateWidget
{
  "type": "update",
  "requestId": "9cba45e8-ff0f-4ab1-b847-48ac3f0ea77c",
  "widgetId": "7ed25344-bfde-4b78-9403-37d0a5fa59cd",
  "owner": "simponic",
  "label": "lambda widget test 02",
  "description": "a new updated test lambda widget"
}

-- DeleteWidget
{
  "type": "delete",
  "requestId": "9cba45e8-ff0f-4ab1-b847-48ac3f0ea77b",
  "widgetId": "7ed25344-bfde-4b78-9403-37d0a5fa59cd",
  "owner": "simponic"
}