| 1 | { |
| 2 | "version":"2.0", |
| 3 | "metadata":{ |
| 4 | "apiVersion":"2018-10-23", |
| 5 | "endpointPrefix":"data.iotevents", |
| 6 | "protocol":"rest-json", |
| 7 | "serviceFullName":"AWS IoT Events Data", |
| 8 | "serviceId":"IoT Events Data", |
| 9 | "signatureVersion":"v4", |
| 10 | "signingName":"ioteventsdata", |
| 11 | "uid":"iotevents-data-2018-10-23" |
| 12 | }, |
| 13 | "operations":{ |
| 14 | "BatchAcknowledgeAlarm":{ |
| 15 | "name":"BatchAcknowledgeAlarm", |
| 16 | "http":{ |
| 17 | "method":"POST", |
| 18 | "requestUri":"/alarms/acknowledge", |
| 19 | "responseCode":202 |
| 20 | }, |
| 21 | "input":{"shape":"BatchAcknowledgeAlarmRequest"}, |
| 22 | "output":{"shape":"BatchAcknowledgeAlarmResponse"}, |
| 23 | "errors":[ |
| 24 | {"shape":"InvalidRequestException"}, |
| 25 | {"shape":"InternalFailureException"}, |
| 26 | {"shape":"ServiceUnavailableException"}, |
| 27 | {"shape":"ThrottlingException"} |
| 28 | ] |
| 29 | }, |
| 30 | "BatchDeleteDetector":{ |
| 31 | "name":"BatchDeleteDetector", |
| 32 | "http":{ |
| 33 | "method":"POST", |
| 34 | "requestUri":"/detectors/delete", |
| 35 | "responseCode":200 |
| 36 | }, |
| 37 | "input":{"shape":"BatchDeleteDetectorRequest"}, |
| 38 | "output":{"shape":"BatchDeleteDetectorResponse"}, |
| 39 | "errors":[ |
| 40 | {"shape":"InvalidRequestException"}, |
| 41 | {"shape":"InternalFailureException"}, |
| 42 | {"shape":"ServiceUnavailableException"}, |
| 43 | {"shape":"ThrottlingException"} |
| 44 | ] |
| 45 | }, |
| 46 | "BatchDisableAlarm":{ |
| 47 | "name":"BatchDisableAlarm", |
| 48 | "http":{ |
| 49 | "method":"POST", |
| 50 | "requestUri":"/alarms/disable", |
| 51 | "responseCode":202 |
| 52 | }, |
| 53 | "input":{"shape":"BatchDisableAlarmRequest"}, |
| 54 | "output":{"shape":"BatchDisableAlarmResponse"}, |
| 55 | "errors":[ |
| 56 | {"shape":"InvalidRequestException"}, |
| 57 | {"shape":"InternalFailureException"}, |
| 58 | {"shape":"ServiceUnavailableException"}, |
| 59 | {"shape":"ThrottlingException"} |
| 60 | ] |
| 61 | }, |
| 62 | "BatchEnableAlarm":{ |
| 63 | "name":"BatchEnableAlarm", |
| 64 | "http":{ |
| 65 | "method":"POST", |
| 66 | "requestUri":"/alarms/enable", |
| 67 | "responseCode":202 |
| 68 | }, |
| 69 | "input":{"shape":"BatchEnableAlarmRequest"}, |
| 70 | "output":{"shape":"BatchEnableAlarmResponse"}, |
| 71 | "errors":[ |
| 72 | {"shape":"InvalidRequestException"}, |
| 73 | {"shape":"InternalFailureException"}, |
| 74 | {"shape":"ServiceUnavailableException"}, |
| 75 | {"shape":"ThrottlingException"} |
| 76 | ] |
| 77 | }, |
| 78 | "BatchPutMessage":{ |
| 79 | "name":"BatchPutMessage", |
| 80 | "http":{ |
| 81 | "method":"POST", |
| 82 | "requestUri":"/inputs/messages", |
| 83 | "responseCode":200 |
| 84 | }, |
| 85 | "input":{"shape":"BatchPutMessageRequest"}, |
| 86 | "output":{"shape":"BatchPutMessageResponse"}, |
| 87 | "errors":[ |
| 88 | {"shape":"InvalidRequestException"}, |
| 89 | {"shape":"InternalFailureException"}, |
| 90 | {"shape":"ServiceUnavailableException"}, |
| 91 | {"shape":"ThrottlingException"} |
| 92 | ] |
| 93 | }, |
| 94 | "BatchResetAlarm":{ |
| 95 | "name":"BatchResetAlarm", |
| 96 | "http":{ |
| 97 | "method":"POST", |
| 98 | "requestUri":"/alarms/reset", |
| 99 | "responseCode":202 |
| 100 | }, |
| 101 | "input":{"shape":"BatchResetAlarmRequest"}, |
| 102 | "output":{"shape":"BatchResetAlarmResponse"}, |
| 103 | "errors":[ |
| 104 | {"shape":"InvalidRequestException"}, |
| 105 | {"shape":"InternalFailureException"}, |
| 106 | {"shape":"ServiceUnavailableException"}, |
| 107 | {"shape":"ThrottlingException"} |
| 108 | ] |
| 109 | }, |
| 110 | "BatchSnoozeAlarm":{ |
| 111 | "name":"BatchSnoozeAlarm", |
| 112 | "http":{ |
| 113 | "method":"POST", |
| 114 | "requestUri":"/alarms/snooze", |
| 115 | "responseCode":202 |
| 116 | }, |
| 117 | "input":{"shape":"BatchSnoozeAlarmRequest"}, |
| 118 | "output":{"shape":"BatchSnoozeAlarmResponse"}, |
| 119 | "errors":[ |
| 120 | {"shape":"InvalidRequestException"}, |
| 121 | {"shape":"InternalFailureException"}, |
| 122 | {"shape":"ServiceUnavailableException"}, |
| 123 | {"shape":"ThrottlingException"} |
| 124 | ] |
| 125 | }, |
| 126 | "BatchUpdateDetector":{ |
| 127 | "name":"BatchUpdateDetector", |
| 128 | "http":{ |
| 129 | "method":"POST", |
| 130 | "requestUri":"/detectors", |
| 131 | "responseCode":200 |
| 132 | }, |
| 133 | "input":{"shape":"BatchUpdateDetectorRequest"}, |
| 134 | "output":{"shape":"BatchUpdateDetectorResponse"}, |
| 135 | "errors":[ |
| 136 | {"shape":"InvalidRequestException"}, |
| 137 | {"shape":"InternalFailureException"}, |
| 138 | {"shape":"ServiceUnavailableException"}, |
| 139 | {"shape":"ThrottlingException"} |
| 140 | ] |
| 141 | }, |
| 142 | "DescribeAlarm":{ |
| 143 | "name":"DescribeAlarm", |
| 144 | "http":{ |
| 145 | "method":"GET", |
| 146 | "requestUri":"/alarms/{alarmModelName}/keyValues/" |
| 147 | }, |
| 148 | "input":{"shape":"DescribeAlarmRequest"}, |
| 149 | "output":{"shape":"DescribeAlarmResponse"}, |
| 150 | "errors":[ |
| 151 | {"shape":"InvalidRequestException"}, |
| 152 | {"shape":"ResourceNotFoundException"}, |
| 153 | {"shape":"ThrottlingException"}, |
| 154 | {"shape":"InternalFailureException"}, |
| 155 | {"shape":"ServiceUnavailableException"} |
| 156 | ] |
| 157 | }, |
| 158 | "DescribeDetector":{ |
| 159 | "name":"DescribeDetector", |
| 160 | "http":{ |
| 161 | "method":"GET", |
| 162 | "requestUri":"/detectors/{detectorModelName}/keyValues/" |
| 163 | }, |
| 164 | "input":{"shape":"DescribeDetectorRequest"}, |
| 165 | "output":{"shape":"DescribeDetectorResponse"}, |
| 166 | "errors":[ |
| 167 | {"shape":"InvalidRequestException"}, |
| 168 | {"shape":"ResourceNotFoundException"}, |
| 169 | {"shape":"ThrottlingException"}, |
| 170 | {"shape":"InternalFailureException"}, |
| 171 | {"shape":"ServiceUnavailableException"} |
| 172 | ] |
| 173 | }, |
| 174 | "ListAlarms":{ |
| 175 | "name":"ListAlarms", |
| 176 | "http":{ |
| 177 | "method":"GET", |
| 178 | "requestUri":"/alarms/{alarmModelName}" |
| 179 | }, |
| 180 | "input":{"shape":"ListAlarmsRequest"}, |
| 181 | "output":{"shape":"ListAlarmsResponse"}, |
| 182 | "errors":[ |
| 183 | {"shape":"InvalidRequestException"}, |
| 184 | {"shape":"ResourceNotFoundException"}, |
| 185 | {"shape":"ThrottlingException"}, |
| 186 | {"shape":"InternalFailureException"}, |
| 187 | {"shape":"ServiceUnavailableException"} |
| 188 | ] |
| 189 | }, |
| 190 | "ListDetectors":{ |
| 191 | "name":"ListDetectors", |
| 192 | "http":{ |
| 193 | "method":"GET", |
| 194 | "requestUri":"/detectors/{detectorModelName}" |
| 195 | }, |
| 196 | "input":{"shape":"ListDetectorsRequest"}, |
| 197 | "output":{"shape":"ListDetectorsResponse"}, |
| 198 | "errors":[ |
| 199 | {"shape":"InvalidRequestException"}, |
| 200 | {"shape":"ResourceNotFoundException"}, |
| 201 | {"shape":"ThrottlingException"}, |
| 202 | {"shape":"InternalFailureException"}, |
| 203 | {"shape":"ServiceUnavailableException"} |
| 204 | ] |
| 205 | } |
| 206 | }, |
| 207 | "shapes":{ |
| 208 | "AcknowledgeActionConfiguration":{ |
| 209 | "type":"structure", |
| 210 | "members":{ |
| 211 | "note":{"shape":"Note"} |
| 212 | } |
| 213 | }, |
| 214 | "AcknowledgeAlarmActionRequest":{ |
| 215 | "type":"structure", |
| 216 | "required":[ |
| 217 | "requestId", |
| 218 | "alarmModelName" |
| 219 | ], |
| 220 | "members":{ |
| 221 | "requestId":{"shape":"RequestId"}, |
| 222 | "alarmModelName":{"shape":"AlarmModelName"}, |
| 223 | "keyValue":{"shape":"KeyValue"}, |
| 224 | "note":{"shape":"Note"} |
| 225 | } |
| 226 | }, |
| 227 | "AcknowledgeAlarmActionRequests":{ |
| 228 | "type":"list", |
| 229 | "member":{"shape":"AcknowledgeAlarmActionRequest"}, |
| 230 | "min":1 |
| 231 | }, |
| 232 | "Alarm":{ |
| 233 | "type":"structure", |
| 234 | "members":{ |
| 235 | "alarmModelName":{"shape":"AlarmModelName"}, |
| 236 | "alarmModelVersion":{"shape":"AlarmModelVersion"}, |
| 237 | "keyValue":{"shape":"KeyValue"}, |
| 238 | "alarmState":{"shape":"AlarmState"}, |
| 239 | "severity":{"shape":"Severity"}, |
| 240 | "creationTime":{"shape":"Timestamp"}, |
| 241 | "lastUpdateTime":{"shape":"Timestamp"} |
| 242 | } |
| 243 | }, |
| 244 | "AlarmModelName":{ |
| 245 | "type":"string", |
| 246 | "max":128, |
| 247 | "min":1, |
| 248 | "pattern":"^[a-zA-Z0-9_-]+$" |
| 249 | }, |
| 250 | "AlarmModelVersion":{ |
| 251 | "type":"string", |
| 252 | "max":128, |
| 253 | "min":1 |
| 254 | }, |
| 255 | "AlarmState":{ |
| 256 | "type":"structure", |
| 257 | "members":{ |
| 258 | "stateName":{"shape":"AlarmStateName"}, |
| 259 | "ruleEvaluation":{"shape":"RuleEvaluation"}, |
| 260 | "customerAction":{"shape":"CustomerAction"}, |
| 261 | "systemEvent":{"shape":"SystemEvent"} |
| 262 | } |
| 263 | }, |
| 264 | "AlarmStateName":{ |
| 265 | "type":"string", |
| 266 | "enum":[ |
| 267 | "DISABLED", |
| 268 | "NORMAL", |
| 269 | "ACTIVE", |
| 270 | "ACKNOWLEDGED", |
| 271 | "SNOOZE_DISABLED", |
| 272 | "LATCHED" |
| 273 | ] |
| 274 | }, |
| 275 | "AlarmSummaries":{ |
| 276 | "type":"list", |
| 277 | "member":{"shape":"AlarmSummary"} |
| 278 | }, |
| 279 | "AlarmSummary":{ |
| 280 | "type":"structure", |
| 281 | "members":{ |
| 282 | "alarmModelName":{"shape":"AlarmModelName"}, |
| 283 | "alarmModelVersion":{"shape":"AlarmModelVersion"}, |
| 284 | "keyValue":{"shape":"KeyValue"}, |
| 285 | "stateName":{"shape":"AlarmStateName"}, |
| 286 | "creationTime":{"shape":"Timestamp"}, |
| 287 | "lastUpdateTime":{"shape":"Timestamp"} |
| 288 | } |
| 289 | }, |
| 290 | "BatchAcknowledgeAlarmRequest":{ |
| 291 | "type":"structure", |
| 292 | "required":["acknowledgeActionRequests"], |
| 293 | "members":{ |
| 294 | "acknowledgeActionRequests":{"shape":"AcknowledgeAlarmActionRequests"} |
| 295 | } |
| 296 | }, |
| 297 | "BatchAcknowledgeAlarmResponse":{ |
| 298 | "type":"structure", |
| 299 | "members":{ |
| 300 | "errorEntries":{"shape":"BatchAlarmActionErrorEntries"} |
| 301 | } |
| 302 | }, |
| 303 | "BatchAlarmActionErrorEntries":{ |
| 304 | "type":"list", |
| 305 | "member":{"shape":"BatchAlarmActionErrorEntry"} |
| 306 | }, |
| 307 | "BatchAlarmActionErrorEntry":{ |
| 308 | "type":"structure", |
| 309 | "members":{ |
| 310 | "requestId":{"shape":"RequestId"}, |
| 311 | "errorCode":{"shape":"ErrorCode"}, |
| 312 | "errorMessage":{"shape":"ErrorMessage"} |
| 313 | } |
| 314 | }, |
| 315 | "BatchDeleteDetectorErrorEntries":{ |
| 316 | "type":"list", |
| 317 | "member":{"shape":"BatchDeleteDetectorErrorEntry"} |
| 318 | }, |
| 319 | "BatchDeleteDetectorErrorEntry":{ |
| 320 | "type":"structure", |
| 321 | "members":{ |
| 322 | "messageId":{"shape":"MessageId"}, |
| 323 | "errorCode":{"shape":"ErrorCode"}, |
| 324 | "errorMessage":{"shape":"ErrorMessage"} |
| 325 | } |
| 326 | }, |
| 327 | "BatchDeleteDetectorRequest":{ |
| 328 | "type":"structure", |
| 329 | "required":["detectors"], |
| 330 | "members":{ |
| 331 | "detectors":{"shape":"DeleteDetectorRequests"} |
| 332 | } |
| 333 | }, |
| 334 | "BatchDeleteDetectorResponse":{ |
| 335 | "type":"structure", |
| 336 | "members":{ |
| 337 | "batchDeleteDetectorErrorEntries":{"shape":"BatchDeleteDetectorErrorEntries"} |
| 338 | } |
| 339 | }, |
| 340 | "BatchDisableAlarmRequest":{ |
| 341 | "type":"structure", |
| 342 | "required":["disableActionRequests"], |
| 343 | "members":{ |
| 344 | "disableActionRequests":{"shape":"DisableAlarmActionRequests"} |
| 345 | } |
| 346 | }, |
| 347 | "BatchDisableAlarmResponse":{ |
| 348 | "type":"structure", |
| 349 | "members":{ |
| 350 | "errorEntries":{"shape":"BatchAlarmActionErrorEntries"} |
| 351 | } |
| 352 | }, |
| 353 | "BatchEnableAlarmRequest":{ |
| 354 | "type":"structure", |
| 355 | "required":["enableActionRequests"], |
| 356 | "members":{ |
| 357 | "enableActionRequests":{"shape":"EnableAlarmActionRequests"} |
| 358 | } |
| 359 | }, |
| 360 | "BatchEnableAlarmResponse":{ |
| 361 | "type":"structure", |
| 362 | "members":{ |
| 363 | "errorEntries":{"shape":"BatchAlarmActionErrorEntries"} |
| 364 | } |
| 365 | }, |
| 366 | "BatchPutMessageErrorEntries":{ |
| 367 | "type":"list", |
| 368 | "member":{"shape":"BatchPutMessageErrorEntry"} |
| 369 | }, |
| 370 | "BatchPutMessageErrorEntry":{ |
| 371 | "type":"structure", |
| 372 | "members":{ |
| 373 | "messageId":{"shape":"MessageId"}, |
| 374 | "errorCode":{"shape":"ErrorCode"}, |
| 375 | "errorMessage":{"shape":"ErrorMessage"} |
| 376 | } |
| 377 | }, |
| 378 | "BatchPutMessageRequest":{ |
| 379 | "type":"structure", |
| 380 | "required":["messages"], |
| 381 | "members":{ |
| 382 | "messages":{"shape":"Messages"} |
| 383 | } |
| 384 | }, |
| 385 | "BatchPutMessageResponse":{ |
| 386 | "type":"structure", |
| 387 | "members":{ |
| 388 | "BatchPutMessageErrorEntries":{"shape":"BatchPutMessageErrorEntries"} |
| 389 | } |
| 390 | }, |
| 391 | "BatchResetAlarmRequest":{ |
| 392 | "type":"structure", |
| 393 | "required":["resetActionRequests"], |
| 394 | "members":{ |
| 395 | "resetActionRequests":{"shape":"ResetAlarmActionRequests"} |
| 396 | } |
| 397 | }, |
| 398 | "BatchResetAlarmResponse":{ |
| 399 | "type":"structure", |
| 400 | "members":{ |
| 401 | "errorEntries":{"shape":"BatchAlarmActionErrorEntries"} |
| 402 | } |
| 403 | }, |
| 404 | "BatchSnoozeAlarmRequest":{ |
| 405 | "type":"structure", |
| 406 | "required":["snoozeActionRequests"], |
| 407 | "members":{ |
| 408 | "snoozeActionRequests":{"shape":"SnoozeAlarmActionRequests"} |
| 409 | } |
| 410 | }, |
| 411 | "BatchSnoozeAlarmResponse":{ |
| 412 | "type":"structure", |
| 413 | "members":{ |
| 414 | "errorEntries":{"shape":"BatchAlarmActionErrorEntries"} |
| 415 | } |
| 416 | }, |
| 417 | "BatchUpdateDetectorErrorEntries":{ |
| 418 | "type":"list", |
| 419 | "member":{"shape":"BatchUpdateDetectorErrorEntry"} |
| 420 | }, |
| 421 | "BatchUpdateDetectorErrorEntry":{ |
| 422 | "type":"structure", |
| 423 | "members":{ |
| 424 | "messageId":{"shape":"MessageId"}, |
| 425 | "errorCode":{"shape":"ErrorCode"}, |
| 426 | "errorMessage":{"shape":"ErrorMessage"} |
| 427 | } |
| 428 | }, |
| 429 | "BatchUpdateDetectorRequest":{ |
| 430 | "type":"structure", |
| 431 | "required":["detectors"], |
| 432 | "members":{ |
| 433 | "detectors":{"shape":"UpdateDetectorRequests"} |
| 434 | } |
| 435 | }, |
| 436 | "BatchUpdateDetectorResponse":{ |
| 437 | "type":"structure", |
| 438 | "members":{ |
| 439 | "batchUpdateDetectorErrorEntries":{"shape":"BatchUpdateDetectorErrorEntries"} |
| 440 | } |
| 441 | }, |
| 442 | "ComparisonOperator":{ |
| 443 | "type":"string", |
| 444 | "enum":[ |
| 445 | "GREATER", |
| 446 | "GREATER_OR_EQUAL", |
| 447 | "LESS", |
| 448 | "LESS_OR_EQUAL", |
| 449 | "EQUAL", |
| 450 | "NOT_EQUAL" |
| 451 | ] |
| 452 | }, |
| 453 | "CustomerAction":{ |
| 454 | "type":"structure", |
| 455 | "members":{ |
| 456 | "actionName":{"shape":"CustomerActionName"}, |
| 457 | "snoozeActionConfiguration":{"shape":"SnoozeActionConfiguration"}, |
| 458 | "enableActionConfiguration":{"shape":"EnableActionConfiguration"}, |
| 459 | "disableActionConfiguration":{"shape":"DisableActionConfiguration"}, |
| 460 | "acknowledgeActionConfiguration":{"shape":"AcknowledgeActionConfiguration"}, |
| 461 | "resetActionConfiguration":{"shape":"ResetActionConfiguration"} |
| 462 | } |
| 463 | }, |
| 464 | "CustomerActionName":{ |
| 465 | "type":"string", |
| 466 | "enum":[ |
| 467 | "SNOOZE", |
| 468 | "ENABLE", |
| 469 | "DISABLE", |
| 470 | "ACKNOWLEDGE", |
| 471 | "RESET" |
| 472 | ] |
| 473 | }, |
| 474 | "DeleteDetectorRequest":{ |
| 475 | "type":"structure", |
| 476 | "required":[ |
| 477 | "messageId", |
| 478 | "detectorModelName" |
| 479 | ], |
| 480 | "members":{ |
| 481 | "messageId":{"shape":"MessageId"}, |
| 482 | "detectorModelName":{"shape":"DetectorModelName"}, |
| 483 | "keyValue":{"shape":"KeyValue"} |
| 484 | } |
| 485 | }, |
| 486 | "DeleteDetectorRequests":{ |
| 487 | "type":"list", |
| 488 | "member":{"shape":"DeleteDetectorRequest"}, |
| 489 | "min":1 |
| 490 | }, |
| 491 | "DescribeAlarmRequest":{ |
| 492 | "type":"structure", |
| 493 | "required":["alarmModelName"], |
| 494 | "members":{ |
| 495 | "alarmModelName":{ |
| 496 | "shape":"AlarmModelName", |
| 497 | "location":"uri", |
| 498 | "locationName":"alarmModelName" |
| 499 | }, |
| 500 | "keyValue":{ |
| 501 | "shape":"KeyValue", |
| 502 | "location":"querystring", |
| 503 | "locationName":"keyValue" |
| 504 | } |
| 505 | } |
| 506 | }, |
| 507 | "DescribeAlarmResponse":{ |
| 508 | "type":"structure", |
| 509 | "members":{ |
| 510 | "alarm":{"shape":"Alarm"} |
| 511 | } |
| 512 | }, |
| 513 | "DescribeDetectorRequest":{ |
| 514 | "type":"structure", |
| 515 | "required":["detectorModelName"], |
| 516 | "members":{ |
| 517 | "detectorModelName":{ |
| 518 | "shape":"DetectorModelName", |
| 519 | "location":"uri", |
| 520 | "locationName":"detectorModelName" |
| 521 | }, |
| 522 | "keyValue":{ |
| 523 | "shape":"KeyValue", |
| 524 | "location":"querystring", |
| 525 | "locationName":"keyValue" |
| 526 | } |
| 527 | } |
| 528 | }, |
| 529 | "DescribeDetectorResponse":{ |
| 530 | "type":"structure", |
| 531 | "members":{ |
| 532 | "detector":{"shape":"Detector"} |
| 533 | } |
| 534 | }, |
| 535 | "Detector":{ |
| 536 | "type":"structure", |
| 537 | "members":{ |
| 538 | "detectorModelName":{"shape":"DetectorModelName"}, |
| 539 | "keyValue":{"shape":"KeyValue"}, |
| 540 | "detectorModelVersion":{"shape":"DetectorModelVersion"}, |
| 541 | "state":{"shape":"DetectorState"}, |
| 542 | "creationTime":{"shape":"Timestamp"}, |
| 543 | "lastUpdateTime":{"shape":"Timestamp"} |
| 544 | } |
| 545 | }, |
| 546 | "DetectorModelName":{ |
| 547 | "type":"string", |
| 548 | "max":128, |
| 549 | "min":1, |
| 550 | "pattern":"^[a-zA-Z0-9_-]+$" |
| 551 | }, |
| 552 | "DetectorModelVersion":{ |
| 553 | "type":"string", |
| 554 | "max":128, |
| 555 | "min":1 |
| 556 | }, |
| 557 | "DetectorState":{ |
| 558 | "type":"structure", |
| 559 | "required":[ |
| 560 | "stateName", |
| 561 | "variables", |
| 562 | "timers" |
| 563 | ], |
| 564 | "members":{ |
| 565 | "stateName":{"shape":"StateName"}, |
| 566 | "variables":{"shape":"Variables"}, |
| 567 | "timers":{"shape":"Timers"} |
| 568 | } |
| 569 | }, |
| 570 | "DetectorStateDefinition":{ |
| 571 | "type":"structure", |
| 572 | "required":[ |
| 573 | "stateName", |
| 574 | "variables", |
| 575 | "timers" |
| 576 | ], |
| 577 | "members":{ |
| 578 | "stateName":{"shape":"StateName"}, |
| 579 | "variables":{"shape":"VariableDefinitions"}, |
| 580 | "timers":{"shape":"TimerDefinitions"} |
| 581 | } |
| 582 | }, |
| 583 | "DetectorStateSummary":{ |
| 584 | "type":"structure", |
| 585 | "members":{ |
| 586 | "stateName":{"shape":"StateName"} |
| 587 | } |
| 588 | }, |
| 589 | "DetectorSummaries":{ |
| 590 | "type":"list", |
| 591 | "member":{"shape":"DetectorSummary"} |
| 592 | }, |
| 593 | "DetectorSummary":{ |
| 594 | "type":"structure", |
| 595 | "members":{ |
| 596 | "detectorModelName":{"shape":"DetectorModelName"}, |
| 597 | "keyValue":{"shape":"KeyValue"}, |
| 598 | "detectorModelVersion":{"shape":"DetectorModelVersion"}, |
| 599 | "state":{"shape":"DetectorStateSummary"}, |
| 600 | "creationTime":{"shape":"Timestamp"}, |
| 601 | "lastUpdateTime":{"shape":"Timestamp"} |
| 602 | } |
| 603 | }, |
| 604 | "DisableActionConfiguration":{ |
| 605 | "type":"structure", |
| 606 | "members":{ |
| 607 | "note":{"shape":"Note"} |
| 608 | } |
| 609 | }, |
| 610 | "DisableAlarmActionRequest":{ |
| 611 | "type":"structure", |
| 612 | "required":[ |
| 613 | "requestId", |
| 614 | "alarmModelName" |
| 615 | ], |
| 616 | "members":{ |
| 617 | "requestId":{"shape":"RequestId"}, |
| 618 | "alarmModelName":{"shape":"AlarmModelName"}, |
| 619 | "keyValue":{"shape":"KeyValue"}, |
| 620 | "note":{"shape":"Note"} |
| 621 | } |
| 622 | }, |
| 623 | "DisableAlarmActionRequests":{ |
| 624 | "type":"list", |
| 625 | "member":{"shape":"DisableAlarmActionRequest"}, |
| 626 | "min":1 |
| 627 | }, |
| 628 | "EnableActionConfiguration":{ |
| 629 | "type":"structure", |
| 630 | "members":{ |
| 631 | "note":{"shape":"Note"} |
| 632 | } |
| 633 | }, |
| 634 | "EnableAlarmActionRequest":{ |
| 635 | "type":"structure", |
| 636 | "required":[ |
| 637 | "requestId", |
| 638 | "alarmModelName" |
| 639 | ], |
| 640 | "members":{ |
| 641 | "requestId":{"shape":"RequestId"}, |
| 642 | "alarmModelName":{"shape":"AlarmModelName"}, |
| 643 | "keyValue":{"shape":"KeyValue"}, |
| 644 | "note":{"shape":"Note"} |
| 645 | } |
| 646 | }, |
| 647 | "EnableAlarmActionRequests":{ |
| 648 | "type":"list", |
| 649 | "member":{"shape":"EnableAlarmActionRequest"}, |
| 650 | "min":1 |
| 651 | }, |
| 652 | "EphemeralInputName":{ |
| 653 | "type":"string", |
| 654 | "max":128, |
| 655 | "min":1, |
| 656 | "pattern":"^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" |
| 657 | }, |
| 658 | "EpochMilliTimestamp":{ |
| 659 | "type":"long", |
| 660 | "max":9223372036854775807, |
| 661 | "min":1 |
| 662 | }, |
| 663 | "ErrorCode":{ |
| 664 | "type":"string", |
| 665 | "enum":[ |
| 666 | "ResourceNotFoundException", |
| 667 | "InvalidRequestException", |
| 668 | "InternalFailureException", |
| 669 | "ServiceUnavailableException", |
| 670 | "ThrottlingException" |
| 671 | ] |
| 672 | }, |
| 673 | "ErrorMessage":{"type":"string"}, |
| 674 | "EventType":{ |
| 675 | "type":"string", |
| 676 | "enum":["STATE_CHANGE"] |
| 677 | }, |
| 678 | "InputPropertyValue":{"type":"string"}, |
| 679 | "InternalFailureException":{ |
| 680 | "type":"structure", |
| 681 | "members":{ |
| 682 | "message":{"shape":"errorMessage"} |
| 683 | }, |
| 684 | "error":{"httpStatusCode":500}, |
| 685 | "exception":true, |
| 686 | "fault":true |
| 687 | }, |
| 688 | "InvalidRequestException":{ |
| 689 | "type":"structure", |
| 690 | "members":{ |
| 691 | "message":{"shape":"errorMessage"} |
| 692 | }, |
| 693 | "error":{"httpStatusCode":400}, |
| 694 | "exception":true |
| 695 | }, |
| 696 | "KeyValue":{ |
| 697 | "type":"string", |
| 698 | "max":128, |
| 699 | "min":1, |
| 700 | "pattern":"^[a-zA-Z0-9\\-_:]+$" |
| 701 | }, |
| 702 | "ListAlarmsRequest":{ |
| 703 | "type":"structure", |
| 704 | "required":["alarmModelName"], |
| 705 | "members":{ |
| 706 | "alarmModelName":{ |
| 707 | "shape":"AlarmModelName", |
| 708 | "location":"uri", |
| 709 | "locationName":"alarmModelName" |
| 710 | }, |
| 711 | "nextToken":{ |
| 712 | "shape":"NextToken", |
| 713 | "location":"querystring", |
| 714 | "locationName":"nextToken" |
| 715 | }, |
| 716 | "maxResults":{ |
| 717 | "shape":"MaxResults", |
| 718 | "location":"querystring", |
| 719 | "locationName":"maxResults" |
| 720 | } |
| 721 | } |
| 722 | }, |
| 723 | "ListAlarmsResponse":{ |
| 724 | "type":"structure", |
| 725 | "members":{ |
| 726 | "alarmSummaries":{"shape":"AlarmSummaries"}, |
| 727 | "nextToken":{"shape":"NextToken"} |
| 728 | } |
| 729 | }, |
| 730 | "ListDetectorsRequest":{ |
| 731 | "type":"structure", |
| 732 | "required":["detectorModelName"], |
| 733 | "members":{ |
| 734 | "detectorModelName":{ |
| 735 | "shape":"DetectorModelName", |
| 736 | "location":"uri", |
| 737 | "locationName":"detectorModelName" |
| 738 | }, |
| 739 | "stateName":{ |
| 740 | "shape":"StateName", |
| 741 | "location":"querystring", |
| 742 | "locationName":"stateName" |
| 743 | }, |
| 744 | "nextToken":{ |
| 745 | "shape":"NextToken", |
| 746 | "location":"querystring", |
| 747 | "locationName":"nextToken" |
| 748 | }, |
| 749 | "maxResults":{ |
| 750 | "shape":"MaxResults", |
| 751 | "location":"querystring", |
| 752 | "locationName":"maxResults" |
| 753 | } |
| 754 | } |
| 755 | }, |
| 756 | "ListDetectorsResponse":{ |
| 757 | "type":"structure", |
| 758 | "members":{ |
| 759 | "detectorSummaries":{"shape":"DetectorSummaries"}, |
| 760 | "nextToken":{"shape":"NextToken"} |
| 761 | } |
| 762 | }, |
| 763 | "MaxResults":{ |
| 764 | "type":"integer", |
| 765 | "max":250, |
| 766 | "min":1 |
| 767 | }, |
| 768 | "Message":{ |
| 769 | "type":"structure", |
| 770 | "required":[ |
| 771 | "messageId", |
| 772 | "inputName", |
| 773 | "payload" |
| 774 | ], |
| 775 | "members":{ |
| 776 | "messageId":{"shape":"MessageId"}, |
| 777 | "inputName":{"shape":"EphemeralInputName"}, |
| 778 | "payload":{"shape":"Payload"}, |
| 779 | "timestamp":{"shape":"TimestampValue"} |
| 780 | } |
| 781 | }, |
| 782 | "MessageId":{ |
| 783 | "type":"string", |
| 784 | "max":64, |
| 785 | "min":1, |
| 786 | "pattern":"^[a-zA-Z0-9_-]+$" |
| 787 | }, |
| 788 | "Messages":{ |
| 789 | "type":"list", |
| 790 | "member":{"shape":"Message"}, |
| 791 | "min":1 |
| 792 | }, |
| 793 | "NextToken":{"type":"string"}, |
| 794 | "Note":{ |
| 795 | "type":"string", |
| 796 | "max":256 |
| 797 | }, |
| 798 | "Payload":{"type":"blob"}, |
| 799 | "RequestId":{ |
| 800 | "type":"string", |
| 801 | "max":64, |
| 802 | "min":1, |
| 803 | "pattern":"^[a-zA-Z0-9_-]+$" |
| 804 | }, |
| 805 | "ResetActionConfiguration":{ |
| 806 | "type":"structure", |
| 807 | "members":{ |
| 808 | "note":{"shape":"Note"} |
| 809 | } |
| 810 | }, |
| 811 | "ResetAlarmActionRequest":{ |
| 812 | "type":"structure", |
| 813 | "required":[ |
| 814 | "requestId", |
| 815 | "alarmModelName" |
| 816 | ], |
| 817 | "members":{ |
| 818 | "requestId":{"shape":"RequestId"}, |
| 819 | "alarmModelName":{"shape":"AlarmModelName"}, |
| 820 | "keyValue":{"shape":"KeyValue"}, |
| 821 | "note":{"shape":"Note"} |
| 822 | } |
| 823 | }, |
| 824 | "ResetAlarmActionRequests":{ |
| 825 | "type":"list", |
| 826 | "member":{"shape":"ResetAlarmActionRequest"}, |
| 827 | "min":1 |
| 828 | }, |
| 829 | "ResourceNotFoundException":{ |
| 830 | "type":"structure", |
| 831 | "members":{ |
| 832 | "message":{"shape":"errorMessage"} |
| 833 | }, |
| 834 | "error":{"httpStatusCode":404}, |
| 835 | "exception":true |
| 836 | }, |
| 837 | "RuleEvaluation":{ |
| 838 | "type":"structure", |
| 839 | "members":{ |
| 840 | "simpleRuleEvaluation":{"shape":"SimpleRuleEvaluation"} |
| 841 | } |
| 842 | }, |
| 843 | "Seconds":{"type":"integer"}, |
| 844 | "ServiceUnavailableException":{ |
| 845 | "type":"structure", |
| 846 | "members":{ |
| 847 | "message":{"shape":"errorMessage"} |
| 848 | }, |
| 849 | "error":{"httpStatusCode":503}, |
| 850 | "exception":true, |
| 851 | "fault":true |
| 852 | }, |
| 853 | "Severity":{ |
| 854 | "type":"integer", |
| 855 | "box":true, |
| 856 | "max":2147483647, |
| 857 | "min":0 |
| 858 | }, |
| 859 | "SimpleRuleEvaluation":{ |
| 860 | "type":"structure", |
| 861 | "members":{ |
| 862 | "inputPropertyValue":{"shape":"InputPropertyValue"}, |
| 863 | "operator":{"shape":"ComparisonOperator"}, |
| 864 | "thresholdValue":{"shape":"ThresholdValue"} |
| 865 | } |
| 866 | }, |
| 867 | "SnoozeActionConfiguration":{ |
| 868 | "type":"structure", |
| 869 | "members":{ |
| 870 | "snoozeDuration":{"shape":"SnoozeDuration"}, |
| 871 | "note":{"shape":"Note"} |
| 872 | } |
| 873 | }, |
| 874 | "SnoozeAlarmActionRequest":{ |
| 875 | "type":"structure", |
| 876 | "required":[ |
| 877 | "requestId", |
| 878 | "alarmModelName", |
| 879 | "snoozeDuration" |
| 880 | ], |
| 881 | "members":{ |
| 882 | "requestId":{"shape":"RequestId"}, |
| 883 | "alarmModelName":{"shape":"AlarmModelName"}, |
| 884 | "keyValue":{"shape":"KeyValue"}, |
| 885 | "note":{"shape":"Note"}, |
| 886 | "snoozeDuration":{"shape":"SnoozeDuration"} |
| 887 | } |
| 888 | }, |
| 889 | "SnoozeAlarmActionRequests":{ |
| 890 | "type":"list", |
| 891 | "member":{"shape":"SnoozeAlarmActionRequest"}, |
| 892 | "min":1 |
| 893 | }, |
| 894 | "SnoozeDuration":{"type":"integer"}, |
| 895 | "StateChangeConfiguration":{ |
| 896 | "type":"structure", |
| 897 | "members":{ |
| 898 | "triggerType":{"shape":"TriggerType"} |
| 899 | } |
| 900 | }, |
| 901 | "StateName":{ |
| 902 | "type":"string", |
| 903 | "max":128, |
| 904 | "min":1 |
| 905 | }, |
| 906 | "SystemEvent":{ |
| 907 | "type":"structure", |
| 908 | "members":{ |
| 909 | "eventType":{"shape":"EventType"}, |
| 910 | "stateChangeConfiguration":{"shape":"StateChangeConfiguration"} |
| 911 | } |
| 912 | }, |
| 913 | "ThresholdValue":{"type":"string"}, |
| 914 | "ThrottlingException":{ |
| 915 | "type":"structure", |
| 916 | "members":{ |
| 917 | "message":{"shape":"errorMessage"} |
| 918 | }, |
| 919 | "error":{"httpStatusCode":429}, |
| 920 | "exception":true |
| 921 | }, |
| 922 | "Timer":{ |
| 923 | "type":"structure", |
| 924 | "required":[ |
| 925 | "name", |
| 926 | "timestamp" |
| 927 | ], |
| 928 | "members":{ |
| 929 | "name":{"shape":"TimerName"}, |
| 930 | "timestamp":{"shape":"Timestamp"} |
| 931 | } |
| 932 | }, |
| 933 | "TimerDefinition":{ |
| 934 | "type":"structure", |
| 935 | "required":[ |
| 936 | "name", |
| 937 | "seconds" |
| 938 | ], |
| 939 | "members":{ |
| 940 | "name":{"shape":"TimerName"}, |
| 941 | "seconds":{"shape":"Seconds"} |
| 942 | } |
| 943 | }, |
| 944 | "TimerDefinitions":{ |
| 945 | "type":"list", |
| 946 | "member":{"shape":"TimerDefinition"} |
| 947 | }, |
| 948 | "TimerName":{ |
| 949 | "type":"string", |
| 950 | "max":128, |
| 951 | "min":1 |
| 952 | }, |
| 953 | "Timers":{ |
| 954 | "type":"list", |
| 955 | "member":{"shape":"Timer"} |
| 956 | }, |
| 957 | "Timestamp":{"type":"timestamp"}, |
| 958 | "TimestampValue":{ |
| 959 | "type":"structure", |
| 960 | "members":{ |
| 961 | "timeInMillis":{"shape":"EpochMilliTimestamp"} |
| 962 | } |
| 963 | }, |
| 964 | "TriggerType":{ |
| 965 | "type":"string", |
| 966 | "enum":["SNOOZE_TIMEOUT"] |
| 967 | }, |
| 968 | "UpdateDetectorRequest":{ |
| 969 | "type":"structure", |
| 970 | "required":[ |
| 971 | "messageId", |
| 972 | "detectorModelName", |
| 973 | "state" |
| 974 | ], |
| 975 | "members":{ |
| 976 | "messageId":{"shape":"MessageId"}, |
| 977 | "detectorModelName":{"shape":"DetectorModelName"}, |
| 978 | "keyValue":{"shape":"KeyValue"}, |
| 979 | "state":{"shape":"DetectorStateDefinition"} |
| 980 | } |
| 981 | }, |
| 982 | "UpdateDetectorRequests":{ |
| 983 | "type":"list", |
| 984 | "member":{"shape":"UpdateDetectorRequest"}, |
| 985 | "min":1 |
| 986 | }, |
| 987 | "Variable":{ |
| 988 | "type":"structure", |
| 989 | "required":[ |
| 990 | "name", |
| 991 | "value" |
| 992 | ], |
| 993 | "members":{ |
| 994 | "name":{"shape":"VariableName"}, |
| 995 | "value":{"shape":"VariableValue"} |
| 996 | } |
| 997 | }, |
| 998 | "VariableDefinition":{ |
| 999 | "type":"structure", |
| 1000 | "required":[ |
| 1001 | "name", |
| 1002 | "value" |
| 1003 | ], |
| 1004 | "members":{ |
| 1005 | "name":{"shape":"VariableName"}, |
| 1006 | "value":{"shape":"VariableValue"} |
| 1007 | } |
| 1008 | }, |
| 1009 | "VariableDefinitions":{ |
| 1010 | "type":"list", |
| 1011 | "member":{"shape":"VariableDefinition"} |
| 1012 | }, |
| 1013 | "VariableName":{ |
| 1014 | "type":"string", |
| 1015 | "max":128, |
| 1016 | "min":1, |
| 1017 | "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$" |
| 1018 | }, |
| 1019 | "VariableValue":{ |
| 1020 | "type":"string", |
| 1021 | "max":1024, |
| 1022 | "min":1 |
| 1023 | }, |
| 1024 | "Variables":{ |
| 1025 | "type":"list", |
| 1026 | "member":{"shape":"Variable"} |
| 1027 | }, |
| 1028 | "errorMessage":{"type":"string"} |
| 1029 | } |
| 1030 | } |