iotevents-2018-07-27.min.json 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2018-07-27",
  5. "endpointPrefix": "iotevents",
  6. "protocol": "rest-json",
  7. "serviceFullName": "AWS IoT Events",
  8. "serviceId": "IoT Events",
  9. "signatureVersion": "v4",
  10. "signingName": "iotevents",
  11. "uid": "iotevents-2018-07-27"
  12. },
  13. "operations": {
  14. "CreateAlarmModel": {
  15. "http": {
  16. "requestUri": "/alarm-models"
  17. },
  18. "input": {
  19. "type": "structure",
  20. "required": [
  21. "alarmModelName",
  22. "roleArn",
  23. "alarmRule"
  24. ],
  25. "members": {
  26. "alarmModelName": {},
  27. "alarmModelDescription": {},
  28. "roleArn": {},
  29. "tags": {
  30. "shape": "S5"
  31. },
  32. "key": {},
  33. "severity": {
  34. "type": "integer"
  35. },
  36. "alarmRule": {
  37. "shape": "Sb"
  38. },
  39. "alarmNotification": {
  40. "shape": "Sg"
  41. },
  42. "alarmEventActions": {
  43. "shape": "S13"
  44. },
  45. "alarmCapabilities": {
  46. "shape": "S23"
  47. }
  48. }
  49. },
  50. "output": {
  51. "type": "structure",
  52. "members": {
  53. "creationTime": {
  54. "type": "timestamp"
  55. },
  56. "alarmModelArn": {},
  57. "alarmModelVersion": {},
  58. "lastUpdateTime": {
  59. "type": "timestamp"
  60. },
  61. "status": {}
  62. }
  63. }
  64. },
  65. "CreateDetectorModel": {
  66. "http": {
  67. "requestUri": "/detector-models"
  68. },
  69. "input": {
  70. "type": "structure",
  71. "required": [
  72. "detectorModelName",
  73. "detectorModelDefinition",
  74. "roleArn"
  75. ],
  76. "members": {
  77. "detectorModelName": {},
  78. "detectorModelDefinition": {
  79. "shape": "S2f"
  80. },
  81. "detectorModelDescription": {},
  82. "key": {},
  83. "roleArn": {},
  84. "tags": {
  85. "shape": "S5"
  86. },
  87. "evaluationMethod": {}
  88. }
  89. },
  90. "output": {
  91. "type": "structure",
  92. "members": {
  93. "detectorModelConfiguration": {
  94. "shape": "S35"
  95. }
  96. }
  97. }
  98. },
  99. "CreateInput": {
  100. "http": {
  101. "requestUri": "/inputs",
  102. "responseCode": 201
  103. },
  104. "input": {
  105. "type": "structure",
  106. "required": [
  107. "inputName",
  108. "inputDefinition"
  109. ],
  110. "members": {
  111. "inputName": {},
  112. "inputDescription": {},
  113. "inputDefinition": {
  114. "shape": "S3b"
  115. },
  116. "tags": {
  117. "shape": "S5"
  118. }
  119. }
  120. },
  121. "output": {
  122. "type": "structure",
  123. "members": {
  124. "inputConfiguration": {
  125. "shape": "S3f"
  126. }
  127. }
  128. }
  129. },
  130. "DeleteAlarmModel": {
  131. "http": {
  132. "method": "DELETE",
  133. "requestUri": "/alarm-models/{alarmModelName}",
  134. "responseCode": 204
  135. },
  136. "input": {
  137. "type": "structure",
  138. "required": [
  139. "alarmModelName"
  140. ],
  141. "members": {
  142. "alarmModelName": {
  143. "location": "uri",
  144. "locationName": "alarmModelName"
  145. }
  146. }
  147. },
  148. "output": {
  149. "type": "structure",
  150. "members": {}
  151. }
  152. },
  153. "DeleteDetectorModel": {
  154. "http": {
  155. "method": "DELETE",
  156. "requestUri": "/detector-models/{detectorModelName}",
  157. "responseCode": 204
  158. },
  159. "input": {
  160. "type": "structure",
  161. "required": [
  162. "detectorModelName"
  163. ],
  164. "members": {
  165. "detectorModelName": {
  166. "location": "uri",
  167. "locationName": "detectorModelName"
  168. }
  169. }
  170. },
  171. "output": {
  172. "type": "structure",
  173. "members": {}
  174. }
  175. },
  176. "DeleteInput": {
  177. "http": {
  178. "method": "DELETE",
  179. "requestUri": "/inputs/{inputName}"
  180. },
  181. "input": {
  182. "type": "structure",
  183. "required": [
  184. "inputName"
  185. ],
  186. "members": {
  187. "inputName": {
  188. "location": "uri",
  189. "locationName": "inputName"
  190. }
  191. }
  192. },
  193. "output": {
  194. "type": "structure",
  195. "members": {}
  196. }
  197. },
  198. "DescribeAlarmModel": {
  199. "http": {
  200. "method": "GET",
  201. "requestUri": "/alarm-models/{alarmModelName}"
  202. },
  203. "input": {
  204. "type": "structure",
  205. "required": [
  206. "alarmModelName"
  207. ],
  208. "members": {
  209. "alarmModelName": {
  210. "location": "uri",
  211. "locationName": "alarmModelName"
  212. },
  213. "alarmModelVersion": {
  214. "location": "querystring",
  215. "locationName": "version"
  216. }
  217. }
  218. },
  219. "output": {
  220. "type": "structure",
  221. "members": {
  222. "creationTime": {
  223. "type": "timestamp"
  224. },
  225. "alarmModelArn": {},
  226. "alarmModelVersion": {},
  227. "lastUpdateTime": {
  228. "type": "timestamp"
  229. },
  230. "status": {},
  231. "statusMessage": {},
  232. "alarmModelName": {},
  233. "alarmModelDescription": {},
  234. "roleArn": {},
  235. "key": {},
  236. "severity": {
  237. "type": "integer"
  238. },
  239. "alarmRule": {
  240. "shape": "Sb"
  241. },
  242. "alarmNotification": {
  243. "shape": "Sg"
  244. },
  245. "alarmEventActions": {
  246. "shape": "S13"
  247. },
  248. "alarmCapabilities": {
  249. "shape": "S23"
  250. }
  251. }
  252. }
  253. },
  254. "DescribeDetectorModel": {
  255. "http": {
  256. "method": "GET",
  257. "requestUri": "/detector-models/{detectorModelName}"
  258. },
  259. "input": {
  260. "type": "structure",
  261. "required": [
  262. "detectorModelName"
  263. ],
  264. "members": {
  265. "detectorModelName": {
  266. "location": "uri",
  267. "locationName": "detectorModelName"
  268. },
  269. "detectorModelVersion": {
  270. "location": "querystring",
  271. "locationName": "version"
  272. }
  273. }
  274. },
  275. "output": {
  276. "type": "structure",
  277. "members": {
  278. "detectorModel": {
  279. "type": "structure",
  280. "members": {
  281. "detectorModelDefinition": {
  282. "shape": "S2f"
  283. },
  284. "detectorModelConfiguration": {
  285. "shape": "S35"
  286. }
  287. }
  288. }
  289. }
  290. }
  291. },
  292. "DescribeDetectorModelAnalysis": {
  293. "http": {
  294. "method": "GET",
  295. "requestUri": "/analysis/detector-models/{analysisId}"
  296. },
  297. "input": {
  298. "type": "structure",
  299. "required": [
  300. "analysisId"
  301. ],
  302. "members": {
  303. "analysisId": {
  304. "location": "uri",
  305. "locationName": "analysisId"
  306. }
  307. }
  308. },
  309. "output": {
  310. "type": "structure",
  311. "members": {
  312. "status": {}
  313. }
  314. }
  315. },
  316. "DescribeInput": {
  317. "http": {
  318. "method": "GET",
  319. "requestUri": "/inputs/{inputName}"
  320. },
  321. "input": {
  322. "type": "structure",
  323. "required": [
  324. "inputName"
  325. ],
  326. "members": {
  327. "inputName": {
  328. "location": "uri",
  329. "locationName": "inputName"
  330. }
  331. }
  332. },
  333. "output": {
  334. "type": "structure",
  335. "members": {
  336. "input": {
  337. "type": "structure",
  338. "members": {
  339. "inputConfiguration": {
  340. "shape": "S3f"
  341. },
  342. "inputDefinition": {
  343. "shape": "S3b"
  344. }
  345. }
  346. }
  347. }
  348. }
  349. },
  350. "DescribeLoggingOptions": {
  351. "http": {
  352. "method": "GET",
  353. "requestUri": "/logging"
  354. },
  355. "input": {
  356. "type": "structure",
  357. "members": {}
  358. },
  359. "output": {
  360. "type": "structure",
  361. "members": {
  362. "loggingOptions": {
  363. "shape": "S43"
  364. }
  365. }
  366. }
  367. },
  368. "GetDetectorModelAnalysisResults": {
  369. "http": {
  370. "method": "GET",
  371. "requestUri": "/analysis/detector-models/{analysisId}/results"
  372. },
  373. "input": {
  374. "type": "structure",
  375. "required": [
  376. "analysisId"
  377. ],
  378. "members": {
  379. "analysisId": {
  380. "location": "uri",
  381. "locationName": "analysisId"
  382. },
  383. "nextToken": {
  384. "location": "querystring",
  385. "locationName": "nextToken"
  386. },
  387. "maxResults": {
  388. "location": "querystring",
  389. "locationName": "maxResults",
  390. "type": "integer"
  391. }
  392. }
  393. },
  394. "output": {
  395. "type": "structure",
  396. "members": {
  397. "analysisResults": {
  398. "type": "list",
  399. "member": {
  400. "type": "structure",
  401. "members": {
  402. "type": {},
  403. "level": {},
  404. "message": {},
  405. "locations": {
  406. "type": "list",
  407. "member": {
  408. "type": "structure",
  409. "members": {
  410. "path": {}
  411. }
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "nextToken": {}
  418. }
  419. }
  420. },
  421. "ListAlarmModelVersions": {
  422. "http": {
  423. "method": "GET",
  424. "requestUri": "/alarm-models/{alarmModelName}/versions"
  425. },
  426. "input": {
  427. "type": "structure",
  428. "required": [
  429. "alarmModelName"
  430. ],
  431. "members": {
  432. "alarmModelName": {
  433. "location": "uri",
  434. "locationName": "alarmModelName"
  435. },
  436. "nextToken": {
  437. "location": "querystring",
  438. "locationName": "nextToken"
  439. },
  440. "maxResults": {
  441. "location": "querystring",
  442. "locationName": "maxResults",
  443. "type": "integer"
  444. }
  445. }
  446. },
  447. "output": {
  448. "type": "structure",
  449. "members": {
  450. "alarmModelVersionSummaries": {
  451. "type": "list",
  452. "member": {
  453. "type": "structure",
  454. "members": {
  455. "alarmModelName": {},
  456. "alarmModelArn": {},
  457. "alarmModelVersion": {},
  458. "roleArn": {},
  459. "creationTime": {
  460. "type": "timestamp"
  461. },
  462. "lastUpdateTime": {
  463. "type": "timestamp"
  464. },
  465. "status": {},
  466. "statusMessage": {}
  467. }
  468. }
  469. },
  470. "nextToken": {}
  471. }
  472. }
  473. },
  474. "ListAlarmModels": {
  475. "http": {
  476. "method": "GET",
  477. "requestUri": "/alarm-models"
  478. },
  479. "input": {
  480. "type": "structure",
  481. "members": {
  482. "nextToken": {
  483. "location": "querystring",
  484. "locationName": "nextToken"
  485. },
  486. "maxResults": {
  487. "location": "querystring",
  488. "locationName": "maxResults",
  489. "type": "integer"
  490. }
  491. }
  492. },
  493. "output": {
  494. "type": "structure",
  495. "members": {
  496. "alarmModelSummaries": {
  497. "type": "list",
  498. "member": {
  499. "type": "structure",
  500. "members": {
  501. "creationTime": {
  502. "type": "timestamp"
  503. },
  504. "alarmModelDescription": {},
  505. "alarmModelName": {}
  506. }
  507. }
  508. },
  509. "nextToken": {}
  510. }
  511. }
  512. },
  513. "ListDetectorModelVersions": {
  514. "http": {
  515. "method": "GET",
  516. "requestUri": "/detector-models/{detectorModelName}/versions"
  517. },
  518. "input": {
  519. "type": "structure",
  520. "required": [
  521. "detectorModelName"
  522. ],
  523. "members": {
  524. "detectorModelName": {
  525. "location": "uri",
  526. "locationName": "detectorModelName"
  527. },
  528. "nextToken": {
  529. "location": "querystring",
  530. "locationName": "nextToken"
  531. },
  532. "maxResults": {
  533. "location": "querystring",
  534. "locationName": "maxResults",
  535. "type": "integer"
  536. }
  537. }
  538. },
  539. "output": {
  540. "type": "structure",
  541. "members": {
  542. "detectorModelVersionSummaries": {
  543. "type": "list",
  544. "member": {
  545. "type": "structure",
  546. "members": {
  547. "detectorModelName": {},
  548. "detectorModelVersion": {},
  549. "detectorModelArn": {},
  550. "roleArn": {},
  551. "creationTime": {
  552. "type": "timestamp"
  553. },
  554. "lastUpdateTime": {
  555. "type": "timestamp"
  556. },
  557. "status": {},
  558. "evaluationMethod": {}
  559. }
  560. }
  561. },
  562. "nextToken": {}
  563. }
  564. }
  565. },
  566. "ListDetectorModels": {
  567. "http": {
  568. "method": "GET",
  569. "requestUri": "/detector-models"
  570. },
  571. "input": {
  572. "type": "structure",
  573. "members": {
  574. "nextToken": {
  575. "location": "querystring",
  576. "locationName": "nextToken"
  577. },
  578. "maxResults": {
  579. "location": "querystring",
  580. "locationName": "maxResults",
  581. "type": "integer"
  582. }
  583. }
  584. },
  585. "output": {
  586. "type": "structure",
  587. "members": {
  588. "detectorModelSummaries": {
  589. "type": "list",
  590. "member": {
  591. "type": "structure",
  592. "members": {
  593. "detectorModelName": {},
  594. "detectorModelDescription": {},
  595. "creationTime": {
  596. "type": "timestamp"
  597. }
  598. }
  599. }
  600. },
  601. "nextToken": {}
  602. }
  603. }
  604. },
  605. "ListInputRoutings": {
  606. "http": {
  607. "requestUri": "/input-routings"
  608. },
  609. "input": {
  610. "type": "structure",
  611. "required": [
  612. "inputIdentifier"
  613. ],
  614. "members": {
  615. "inputIdentifier": {
  616. "type": "structure",
  617. "members": {
  618. "iotEventsInputIdentifier": {
  619. "type": "structure",
  620. "required": [
  621. "inputName"
  622. ],
  623. "members": {
  624. "inputName": {}
  625. }
  626. },
  627. "iotSiteWiseInputIdentifier": {
  628. "type": "structure",
  629. "members": {
  630. "iotSiteWiseAssetModelPropertyIdentifier": {
  631. "type": "structure",
  632. "required": [
  633. "assetModelId",
  634. "propertyId"
  635. ],
  636. "members": {
  637. "assetModelId": {},
  638. "propertyId": {}
  639. }
  640. }
  641. }
  642. }
  643. }
  644. },
  645. "maxResults": {
  646. "type": "integer"
  647. },
  648. "nextToken": {}
  649. }
  650. },
  651. "output": {
  652. "type": "structure",
  653. "members": {
  654. "routedResources": {
  655. "type": "list",
  656. "member": {
  657. "type": "structure",
  658. "members": {
  659. "name": {},
  660. "arn": {}
  661. }
  662. }
  663. },
  664. "nextToken": {}
  665. }
  666. }
  667. },
  668. "ListInputs": {
  669. "http": {
  670. "method": "GET",
  671. "requestUri": "/inputs"
  672. },
  673. "input": {
  674. "type": "structure",
  675. "members": {
  676. "nextToken": {
  677. "location": "querystring",
  678. "locationName": "nextToken"
  679. },
  680. "maxResults": {
  681. "location": "querystring",
  682. "locationName": "maxResults",
  683. "type": "integer"
  684. }
  685. }
  686. },
  687. "output": {
  688. "type": "structure",
  689. "members": {
  690. "inputSummaries": {
  691. "type": "list",
  692. "member": {
  693. "type": "structure",
  694. "members": {
  695. "inputName": {},
  696. "inputDescription": {},
  697. "inputArn": {},
  698. "creationTime": {
  699. "type": "timestamp"
  700. },
  701. "lastUpdateTime": {
  702. "type": "timestamp"
  703. },
  704. "status": {}
  705. }
  706. }
  707. },
  708. "nextToken": {}
  709. }
  710. }
  711. },
  712. "ListTagsForResource": {
  713. "http": {
  714. "method": "GET",
  715. "requestUri": "/tags"
  716. },
  717. "input": {
  718. "type": "structure",
  719. "required": [
  720. "resourceArn"
  721. ],
  722. "members": {
  723. "resourceArn": {
  724. "location": "querystring",
  725. "locationName": "resourceArn"
  726. }
  727. }
  728. },
  729. "output": {
  730. "type": "structure",
  731. "members": {
  732. "tags": {
  733. "shape": "S5"
  734. }
  735. }
  736. }
  737. },
  738. "PutLoggingOptions": {
  739. "http": {
  740. "method": "PUT",
  741. "requestUri": "/logging"
  742. },
  743. "input": {
  744. "type": "structure",
  745. "required": [
  746. "loggingOptions"
  747. ],
  748. "members": {
  749. "loggingOptions": {
  750. "shape": "S43"
  751. }
  752. }
  753. }
  754. },
  755. "StartDetectorModelAnalysis": {
  756. "http": {
  757. "requestUri": "/analysis/detector-models/"
  758. },
  759. "input": {
  760. "type": "structure",
  761. "required": [
  762. "detectorModelDefinition"
  763. ],
  764. "members": {
  765. "detectorModelDefinition": {
  766. "shape": "S2f"
  767. }
  768. }
  769. },
  770. "output": {
  771. "type": "structure",
  772. "members": {
  773. "analysisId": {}
  774. }
  775. }
  776. },
  777. "TagResource": {
  778. "http": {
  779. "requestUri": "/tags"
  780. },
  781. "input": {
  782. "type": "structure",
  783. "required": [
  784. "resourceArn",
  785. "tags"
  786. ],
  787. "members": {
  788. "resourceArn": {
  789. "location": "querystring",
  790. "locationName": "resourceArn"
  791. },
  792. "tags": {
  793. "shape": "S5"
  794. }
  795. }
  796. },
  797. "output": {
  798. "type": "structure",
  799. "members": {}
  800. }
  801. },
  802. "UntagResource": {
  803. "http": {
  804. "method": "DELETE",
  805. "requestUri": "/tags"
  806. },
  807. "input": {
  808. "type": "structure",
  809. "required": [
  810. "resourceArn",
  811. "tagKeys"
  812. ],
  813. "members": {
  814. "resourceArn": {
  815. "location": "querystring",
  816. "locationName": "resourceArn"
  817. },
  818. "tagKeys": {
  819. "location": "querystring",
  820. "locationName": "tagKeys",
  821. "type": "list",
  822. "member": {}
  823. }
  824. }
  825. },
  826. "output": {
  827. "type": "structure",
  828. "members": {}
  829. }
  830. },
  831. "UpdateAlarmModel": {
  832. "http": {
  833. "requestUri": "/alarm-models/{alarmModelName}"
  834. },
  835. "input": {
  836. "type": "structure",
  837. "required": [
  838. "alarmModelName",
  839. "roleArn",
  840. "alarmRule"
  841. ],
  842. "members": {
  843. "alarmModelName": {
  844. "location": "uri",
  845. "locationName": "alarmModelName"
  846. },
  847. "alarmModelDescription": {},
  848. "roleArn": {},
  849. "severity": {
  850. "type": "integer"
  851. },
  852. "alarmRule": {
  853. "shape": "Sb"
  854. },
  855. "alarmNotification": {
  856. "shape": "Sg"
  857. },
  858. "alarmEventActions": {
  859. "shape": "S13"
  860. },
  861. "alarmCapabilities": {
  862. "shape": "S23"
  863. }
  864. }
  865. },
  866. "output": {
  867. "type": "structure",
  868. "members": {
  869. "creationTime": {
  870. "type": "timestamp"
  871. },
  872. "alarmModelArn": {},
  873. "alarmModelVersion": {},
  874. "lastUpdateTime": {
  875. "type": "timestamp"
  876. },
  877. "status": {}
  878. }
  879. }
  880. },
  881. "UpdateDetectorModel": {
  882. "http": {
  883. "requestUri": "/detector-models/{detectorModelName}"
  884. },
  885. "input": {
  886. "type": "structure",
  887. "required": [
  888. "detectorModelName",
  889. "detectorModelDefinition",
  890. "roleArn"
  891. ],
  892. "members": {
  893. "detectorModelName": {
  894. "location": "uri",
  895. "locationName": "detectorModelName"
  896. },
  897. "detectorModelDefinition": {
  898. "shape": "S2f"
  899. },
  900. "detectorModelDescription": {},
  901. "roleArn": {},
  902. "evaluationMethod": {}
  903. }
  904. },
  905. "output": {
  906. "type": "structure",
  907. "members": {
  908. "detectorModelConfiguration": {
  909. "shape": "S35"
  910. }
  911. }
  912. }
  913. },
  914. "UpdateInput": {
  915. "http": {
  916. "method": "PUT",
  917. "requestUri": "/inputs/{inputName}"
  918. },
  919. "input": {
  920. "type": "structure",
  921. "required": [
  922. "inputName",
  923. "inputDefinition"
  924. ],
  925. "members": {
  926. "inputName": {
  927. "location": "uri",
  928. "locationName": "inputName"
  929. },
  930. "inputDescription": {},
  931. "inputDefinition": {
  932. "shape": "S3b"
  933. }
  934. }
  935. },
  936. "output": {
  937. "type": "structure",
  938. "members": {
  939. "inputConfiguration": {
  940. "shape": "S3f"
  941. }
  942. }
  943. }
  944. }
  945. },
  946. "shapes": {
  947. "S5": {
  948. "type": "list",
  949. "member": {
  950. "type": "structure",
  951. "required": [
  952. "key",
  953. "value"
  954. ],
  955. "members": {
  956. "key": {},
  957. "value": {}
  958. }
  959. }
  960. },
  961. "Sb": {
  962. "type": "structure",
  963. "members": {
  964. "simpleRule": {
  965. "type": "structure",
  966. "required": [
  967. "inputProperty",
  968. "comparisonOperator",
  969. "threshold"
  970. ],
  971. "members": {
  972. "inputProperty": {},
  973. "comparisonOperator": {},
  974. "threshold": {}
  975. }
  976. }
  977. }
  978. },
  979. "Sg": {
  980. "type": "structure",
  981. "members": {
  982. "notificationActions": {
  983. "type": "list",
  984. "member": {
  985. "type": "structure",
  986. "required": [
  987. "action"
  988. ],
  989. "members": {
  990. "action": {
  991. "type": "structure",
  992. "members": {
  993. "lambdaAction": {
  994. "shape": "Sk"
  995. }
  996. }
  997. },
  998. "smsConfigurations": {
  999. "type": "list",
  1000. "member": {
  1001. "type": "structure",
  1002. "required": [
  1003. "recipients"
  1004. ],
  1005. "members": {
  1006. "senderId": {},
  1007. "additionalMessage": {},
  1008. "recipients": {
  1009. "shape": "Ss"
  1010. }
  1011. }
  1012. }
  1013. },
  1014. "emailConfigurations": {
  1015. "type": "list",
  1016. "member": {
  1017. "type": "structure",
  1018. "required": [
  1019. "from",
  1020. "recipients"
  1021. ],
  1022. "members": {
  1023. "from": {},
  1024. "content": {
  1025. "type": "structure",
  1026. "members": {
  1027. "subject": {},
  1028. "additionalMessage": {}
  1029. }
  1030. },
  1031. "recipients": {
  1032. "type": "structure",
  1033. "members": {
  1034. "to": {
  1035. "shape": "Ss"
  1036. }
  1037. }
  1038. }
  1039. }
  1040. }
  1041. }
  1042. }
  1043. }
  1044. }
  1045. }
  1046. },
  1047. "Sk": {
  1048. "type": "structure",
  1049. "required": [
  1050. "functionArn"
  1051. ],
  1052. "members": {
  1053. "functionArn": {},
  1054. "payload": {
  1055. "shape": "Sl"
  1056. }
  1057. }
  1058. },
  1059. "Sl": {
  1060. "type": "structure",
  1061. "required": [
  1062. "contentExpression",
  1063. "type"
  1064. ],
  1065. "members": {
  1066. "contentExpression": {},
  1067. "type": {}
  1068. }
  1069. },
  1070. "Ss": {
  1071. "type": "list",
  1072. "member": {
  1073. "type": "structure",
  1074. "members": {
  1075. "ssoIdentity": {
  1076. "type": "structure",
  1077. "required": [
  1078. "identityStoreId"
  1079. ],
  1080. "members": {
  1081. "identityStoreId": {},
  1082. "userId": {}
  1083. }
  1084. }
  1085. }
  1086. }
  1087. },
  1088. "S13": {
  1089. "type": "structure",
  1090. "members": {
  1091. "alarmActions": {
  1092. "type": "list",
  1093. "member": {
  1094. "type": "structure",
  1095. "members": {
  1096. "sns": {
  1097. "shape": "S16"
  1098. },
  1099. "iotTopicPublish": {
  1100. "shape": "S17"
  1101. },
  1102. "lambda": {
  1103. "shape": "Sk"
  1104. },
  1105. "iotEvents": {
  1106. "shape": "S19"
  1107. },
  1108. "sqs": {
  1109. "shape": "S1b"
  1110. },
  1111. "firehose": {
  1112. "shape": "S1e"
  1113. },
  1114. "dynamoDB": {
  1115. "shape": "S1h"
  1116. },
  1117. "dynamoDBv2": {
  1118. "shape": "S1n"
  1119. },
  1120. "iotSiteWise": {
  1121. "shape": "S1o"
  1122. }
  1123. }
  1124. }
  1125. }
  1126. }
  1127. },
  1128. "S16": {
  1129. "type": "structure",
  1130. "required": [
  1131. "targetArn"
  1132. ],
  1133. "members": {
  1134. "targetArn": {},
  1135. "payload": {
  1136. "shape": "Sl"
  1137. }
  1138. }
  1139. },
  1140. "S17": {
  1141. "type": "structure",
  1142. "required": [
  1143. "mqttTopic"
  1144. ],
  1145. "members": {
  1146. "mqttTopic": {},
  1147. "payload": {
  1148. "shape": "Sl"
  1149. }
  1150. }
  1151. },
  1152. "S19": {
  1153. "type": "structure",
  1154. "required": [
  1155. "inputName"
  1156. ],
  1157. "members": {
  1158. "inputName": {},
  1159. "payload": {
  1160. "shape": "Sl"
  1161. }
  1162. }
  1163. },
  1164. "S1b": {
  1165. "type": "structure",
  1166. "required": [
  1167. "queueUrl"
  1168. ],
  1169. "members": {
  1170. "queueUrl": {},
  1171. "useBase64": {
  1172. "type": "boolean"
  1173. },
  1174. "payload": {
  1175. "shape": "Sl"
  1176. }
  1177. }
  1178. },
  1179. "S1e": {
  1180. "type": "structure",
  1181. "required": [
  1182. "deliveryStreamName"
  1183. ],
  1184. "members": {
  1185. "deliveryStreamName": {},
  1186. "separator": {},
  1187. "payload": {
  1188. "shape": "Sl"
  1189. }
  1190. }
  1191. },
  1192. "S1h": {
  1193. "type": "structure",
  1194. "required": [
  1195. "hashKeyField",
  1196. "hashKeyValue",
  1197. "tableName"
  1198. ],
  1199. "members": {
  1200. "hashKeyType": {},
  1201. "hashKeyField": {},
  1202. "hashKeyValue": {},
  1203. "rangeKeyType": {},
  1204. "rangeKeyField": {},
  1205. "rangeKeyValue": {},
  1206. "operation": {},
  1207. "payloadField": {},
  1208. "tableName": {},
  1209. "payload": {
  1210. "shape": "Sl"
  1211. }
  1212. }
  1213. },
  1214. "S1n": {
  1215. "type": "structure",
  1216. "required": [
  1217. "tableName"
  1218. ],
  1219. "members": {
  1220. "tableName": {},
  1221. "payload": {
  1222. "shape": "Sl"
  1223. }
  1224. }
  1225. },
  1226. "S1o": {
  1227. "type": "structure",
  1228. "members": {
  1229. "entryId": {},
  1230. "assetId": {},
  1231. "propertyId": {},
  1232. "propertyAlias": {},
  1233. "propertyValue": {
  1234. "type": "structure",
  1235. "members": {
  1236. "value": {
  1237. "type": "structure",
  1238. "members": {
  1239. "stringValue": {},
  1240. "integerValue": {},
  1241. "doubleValue": {},
  1242. "booleanValue": {}
  1243. }
  1244. },
  1245. "timestamp": {
  1246. "type": "structure",
  1247. "required": [
  1248. "timeInSeconds"
  1249. ],
  1250. "members": {
  1251. "timeInSeconds": {},
  1252. "offsetInNanos": {}
  1253. }
  1254. },
  1255. "quality": {}
  1256. }
  1257. }
  1258. }
  1259. },
  1260. "S23": {
  1261. "type": "structure",
  1262. "members": {
  1263. "initializationConfiguration": {
  1264. "type": "structure",
  1265. "required": [
  1266. "disabledOnInitialization"
  1267. ],
  1268. "members": {
  1269. "disabledOnInitialization": {
  1270. "type": "boolean"
  1271. }
  1272. }
  1273. },
  1274. "acknowledgeFlow": {
  1275. "type": "structure",
  1276. "required": [
  1277. "enabled"
  1278. ],
  1279. "members": {
  1280. "enabled": {
  1281. "type": "boolean"
  1282. }
  1283. }
  1284. }
  1285. }
  1286. },
  1287. "S2f": {
  1288. "type": "structure",
  1289. "required": [
  1290. "states",
  1291. "initialStateName"
  1292. ],
  1293. "members": {
  1294. "states": {
  1295. "type": "list",
  1296. "member": {
  1297. "type": "structure",
  1298. "required": [
  1299. "stateName"
  1300. ],
  1301. "members": {
  1302. "stateName": {},
  1303. "onInput": {
  1304. "type": "structure",
  1305. "members": {
  1306. "events": {
  1307. "shape": "S2k"
  1308. },
  1309. "transitionEvents": {
  1310. "type": "list",
  1311. "member": {
  1312. "type": "structure",
  1313. "required": [
  1314. "eventName",
  1315. "condition",
  1316. "nextState"
  1317. ],
  1318. "members": {
  1319. "eventName": {},
  1320. "condition": {},
  1321. "actions": {
  1322. "shape": "S2o"
  1323. },
  1324. "nextState": {}
  1325. }
  1326. }
  1327. }
  1328. }
  1329. },
  1330. "onEnter": {
  1331. "type": "structure",
  1332. "members": {
  1333. "events": {
  1334. "shape": "S2k"
  1335. }
  1336. }
  1337. },
  1338. "onExit": {
  1339. "type": "structure",
  1340. "members": {
  1341. "events": {
  1342. "shape": "S2k"
  1343. }
  1344. }
  1345. }
  1346. }
  1347. }
  1348. },
  1349. "initialStateName": {}
  1350. }
  1351. },
  1352. "S2k": {
  1353. "type": "list",
  1354. "member": {
  1355. "type": "structure",
  1356. "required": [
  1357. "eventName"
  1358. ],
  1359. "members": {
  1360. "eventName": {},
  1361. "condition": {},
  1362. "actions": {
  1363. "shape": "S2o"
  1364. }
  1365. }
  1366. }
  1367. },
  1368. "S2o": {
  1369. "type": "list",
  1370. "member": {
  1371. "type": "structure",
  1372. "members": {
  1373. "setVariable": {
  1374. "type": "structure",
  1375. "required": [
  1376. "variableName",
  1377. "value"
  1378. ],
  1379. "members": {
  1380. "variableName": {},
  1381. "value": {}
  1382. }
  1383. },
  1384. "sns": {
  1385. "shape": "S16"
  1386. },
  1387. "iotTopicPublish": {
  1388. "shape": "S17"
  1389. },
  1390. "setTimer": {
  1391. "type": "structure",
  1392. "required": [
  1393. "timerName"
  1394. ],
  1395. "members": {
  1396. "timerName": {},
  1397. "seconds": {
  1398. "deprecated": true,
  1399. "deprecatedMessage": "seconds is deprecated. You can use durationExpression for SetTimerAction. The value of seconds can be used as a string expression for durationExpression.",
  1400. "type": "integer"
  1401. },
  1402. "durationExpression": {}
  1403. }
  1404. },
  1405. "clearTimer": {
  1406. "type": "structure",
  1407. "required": [
  1408. "timerName"
  1409. ],
  1410. "members": {
  1411. "timerName": {}
  1412. }
  1413. },
  1414. "resetTimer": {
  1415. "type": "structure",
  1416. "required": [
  1417. "timerName"
  1418. ],
  1419. "members": {
  1420. "timerName": {}
  1421. }
  1422. },
  1423. "lambda": {
  1424. "shape": "Sk"
  1425. },
  1426. "iotEvents": {
  1427. "shape": "S19"
  1428. },
  1429. "sqs": {
  1430. "shape": "S1b"
  1431. },
  1432. "firehose": {
  1433. "shape": "S1e"
  1434. },
  1435. "dynamoDB": {
  1436. "shape": "S1h"
  1437. },
  1438. "dynamoDBv2": {
  1439. "shape": "S1n"
  1440. },
  1441. "iotSiteWise": {
  1442. "shape": "S1o"
  1443. }
  1444. }
  1445. }
  1446. },
  1447. "S35": {
  1448. "type": "structure",
  1449. "members": {
  1450. "detectorModelName": {},
  1451. "detectorModelVersion": {},
  1452. "detectorModelDescription": {},
  1453. "detectorModelArn": {},
  1454. "roleArn": {},
  1455. "creationTime": {
  1456. "type": "timestamp"
  1457. },
  1458. "lastUpdateTime": {
  1459. "type": "timestamp"
  1460. },
  1461. "status": {},
  1462. "key": {},
  1463. "evaluationMethod": {}
  1464. }
  1465. },
  1466. "S3b": {
  1467. "type": "structure",
  1468. "required": [
  1469. "attributes"
  1470. ],
  1471. "members": {
  1472. "attributes": {
  1473. "type": "list",
  1474. "member": {
  1475. "type": "structure",
  1476. "required": [
  1477. "jsonPath"
  1478. ],
  1479. "members": {
  1480. "jsonPath": {}
  1481. }
  1482. }
  1483. }
  1484. }
  1485. },
  1486. "S3f": {
  1487. "type": "structure",
  1488. "required": [
  1489. "inputName",
  1490. "inputArn",
  1491. "creationTime",
  1492. "lastUpdateTime",
  1493. "status"
  1494. ],
  1495. "members": {
  1496. "inputName": {},
  1497. "inputDescription": {},
  1498. "inputArn": {},
  1499. "creationTime": {
  1500. "type": "timestamp"
  1501. },
  1502. "lastUpdateTime": {
  1503. "type": "timestamp"
  1504. },
  1505. "status": {}
  1506. }
  1507. },
  1508. "S43": {
  1509. "type": "structure",
  1510. "required": [
  1511. "roleArn",
  1512. "level",
  1513. "enabled"
  1514. ],
  1515. "members": {
  1516. "roleArn": {},
  1517. "level": {},
  1518. "enabled": {
  1519. "type": "boolean"
  1520. },
  1521. "detectorDebugOptions": {
  1522. "type": "list",
  1523. "member": {
  1524. "type": "structure",
  1525. "required": [
  1526. "detectorModelName"
  1527. ],
  1528. "members": {
  1529. "detectorModelName": {},
  1530. "keyValue": {}
  1531. }
  1532. }
  1533. }
  1534. }
  1535. }
  1536. }
  1537. }