iotdeviceadvisor-2020-09-18.min.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2020-09-18",
  5. "endpointPrefix": "api.iotdeviceadvisor",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceAbbreviation": "AWSIoTDeviceAdvisor",
  9. "serviceFullName": "AWS IoT Core Device Advisor",
  10. "serviceId": "IotDeviceAdvisor",
  11. "signatureVersion": "v4",
  12. "signingName": "iotdeviceadvisor",
  13. "uid": "iotdeviceadvisor-2020-09-18"
  14. },
  15. "operations": {
  16. "CreateSuiteDefinition": {
  17. "http": {
  18. "requestUri": "/suiteDefinitions"
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "suiteDefinitionConfiguration"
  24. ],
  25. "members": {
  26. "suiteDefinitionConfiguration": {
  27. "shape": "S2"
  28. },
  29. "tags": {
  30. "shape": "Sb"
  31. }
  32. }
  33. },
  34. "output": {
  35. "type": "structure",
  36. "members": {
  37. "suiteDefinitionId": {},
  38. "suiteDefinitionArn": {},
  39. "suiteDefinitionName": {},
  40. "createdAt": {
  41. "type": "timestamp"
  42. }
  43. }
  44. }
  45. },
  46. "DeleteSuiteDefinition": {
  47. "http": {
  48. "method": "DELETE",
  49. "requestUri": "/suiteDefinitions/{suiteDefinitionId}"
  50. },
  51. "input": {
  52. "type": "structure",
  53. "required": [
  54. "suiteDefinitionId"
  55. ],
  56. "members": {
  57. "suiteDefinitionId": {
  58. "location": "uri",
  59. "locationName": "suiteDefinitionId"
  60. }
  61. }
  62. },
  63. "output": {
  64. "type": "structure",
  65. "members": {}
  66. }
  67. },
  68. "GetEndpoint": {
  69. "http": {
  70. "method": "GET",
  71. "requestUri": "/endpoint"
  72. },
  73. "input": {
  74. "type": "structure",
  75. "members": {
  76. "thingArn": {
  77. "location": "querystring",
  78. "locationName": "thingArn"
  79. },
  80. "certificateArn": {
  81. "location": "querystring",
  82. "locationName": "certificateArn"
  83. },
  84. "deviceRoleArn": {
  85. "location": "querystring",
  86. "locationName": "deviceRoleArn"
  87. },
  88. "authenticationMethod": {
  89. "location": "querystring",
  90. "locationName": "authenticationMethod"
  91. }
  92. }
  93. },
  94. "output": {
  95. "type": "structure",
  96. "members": {
  97. "endpoint": {}
  98. }
  99. }
  100. },
  101. "GetSuiteDefinition": {
  102. "http": {
  103. "method": "GET",
  104. "requestUri": "/suiteDefinitions/{suiteDefinitionId}"
  105. },
  106. "input": {
  107. "type": "structure",
  108. "required": [
  109. "suiteDefinitionId"
  110. ],
  111. "members": {
  112. "suiteDefinitionId": {
  113. "location": "uri",
  114. "locationName": "suiteDefinitionId"
  115. },
  116. "suiteDefinitionVersion": {
  117. "location": "querystring",
  118. "locationName": "suiteDefinitionVersion"
  119. }
  120. }
  121. },
  122. "output": {
  123. "type": "structure",
  124. "members": {
  125. "suiteDefinitionId": {},
  126. "suiteDefinitionArn": {},
  127. "suiteDefinitionVersion": {},
  128. "latestVersion": {},
  129. "suiteDefinitionConfiguration": {
  130. "shape": "S2"
  131. },
  132. "createdAt": {
  133. "type": "timestamp"
  134. },
  135. "lastModifiedAt": {
  136. "type": "timestamp"
  137. },
  138. "tags": {
  139. "shape": "Sb"
  140. }
  141. }
  142. }
  143. },
  144. "GetSuiteRun": {
  145. "http": {
  146. "method": "GET",
  147. "requestUri": "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}"
  148. },
  149. "input": {
  150. "type": "structure",
  151. "required": [
  152. "suiteDefinitionId",
  153. "suiteRunId"
  154. ],
  155. "members": {
  156. "suiteDefinitionId": {
  157. "location": "uri",
  158. "locationName": "suiteDefinitionId"
  159. },
  160. "suiteRunId": {
  161. "location": "uri",
  162. "locationName": "suiteRunId"
  163. }
  164. }
  165. },
  166. "output": {
  167. "type": "structure",
  168. "members": {
  169. "suiteDefinitionId": {},
  170. "suiteDefinitionVersion": {},
  171. "suiteRunId": {},
  172. "suiteRunArn": {},
  173. "suiteRunConfiguration": {
  174. "shape": "Ss"
  175. },
  176. "testResult": {
  177. "type": "structure",
  178. "members": {
  179. "groups": {
  180. "type": "list",
  181. "member": {
  182. "type": "structure",
  183. "members": {
  184. "groupId": {},
  185. "groupName": {},
  186. "tests": {
  187. "type": "list",
  188. "member": {
  189. "type": "structure",
  190. "members": {
  191. "testCaseRunId": {},
  192. "testCaseDefinitionId": {},
  193. "testCaseDefinitionName": {},
  194. "status": {},
  195. "startTime": {
  196. "type": "timestamp"
  197. },
  198. "endTime": {
  199. "type": "timestamp"
  200. },
  201. "logUrl": {},
  202. "warnings": {},
  203. "failure": {},
  204. "testScenarios": {
  205. "type": "list",
  206. "member": {
  207. "type": "structure",
  208. "members": {
  209. "testCaseScenarioId": {},
  210. "testCaseScenarioType": {},
  211. "status": {},
  212. "failure": {},
  213. "systemMessage": {}
  214. }
  215. }
  216. }
  217. }
  218. }
  219. }
  220. }
  221. }
  222. }
  223. }
  224. },
  225. "startTime": {
  226. "type": "timestamp"
  227. },
  228. "endTime": {
  229. "type": "timestamp"
  230. },
  231. "status": {},
  232. "errorReason": {},
  233. "tags": {
  234. "shape": "Sb"
  235. }
  236. }
  237. }
  238. },
  239. "GetSuiteRunReport": {
  240. "http": {
  241. "method": "GET",
  242. "requestUri": "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/report"
  243. },
  244. "input": {
  245. "type": "structure",
  246. "required": [
  247. "suiteDefinitionId",
  248. "suiteRunId"
  249. ],
  250. "members": {
  251. "suiteDefinitionId": {
  252. "location": "uri",
  253. "locationName": "suiteDefinitionId"
  254. },
  255. "suiteRunId": {
  256. "location": "uri",
  257. "locationName": "suiteRunId"
  258. }
  259. }
  260. },
  261. "output": {
  262. "type": "structure",
  263. "members": {
  264. "qualificationReportDownloadUrl": {}
  265. }
  266. }
  267. },
  268. "ListSuiteDefinitions": {
  269. "http": {
  270. "method": "GET",
  271. "requestUri": "/suiteDefinitions"
  272. },
  273. "input": {
  274. "type": "structure",
  275. "members": {
  276. "maxResults": {
  277. "location": "querystring",
  278. "locationName": "maxResults",
  279. "type": "integer"
  280. },
  281. "nextToken": {
  282. "location": "querystring",
  283. "locationName": "nextToken"
  284. }
  285. }
  286. },
  287. "output": {
  288. "type": "structure",
  289. "members": {
  290. "suiteDefinitionInformationList": {
  291. "type": "list",
  292. "member": {
  293. "type": "structure",
  294. "members": {
  295. "suiteDefinitionId": {},
  296. "suiteDefinitionName": {},
  297. "defaultDevices": {
  298. "shape": "S4"
  299. },
  300. "intendedForQualification": {
  301. "type": "boolean"
  302. },
  303. "isLongDurationTest": {
  304. "type": "boolean"
  305. },
  306. "protocol": {},
  307. "createdAt": {
  308. "type": "timestamp"
  309. }
  310. }
  311. }
  312. },
  313. "nextToken": {}
  314. }
  315. }
  316. },
  317. "ListSuiteRuns": {
  318. "http": {
  319. "method": "GET",
  320. "requestUri": "/suiteRuns"
  321. },
  322. "input": {
  323. "type": "structure",
  324. "members": {
  325. "suiteDefinitionId": {
  326. "location": "querystring",
  327. "locationName": "suiteDefinitionId"
  328. },
  329. "suiteDefinitionVersion": {
  330. "location": "querystring",
  331. "locationName": "suiteDefinitionVersion"
  332. },
  333. "maxResults": {
  334. "location": "querystring",
  335. "locationName": "maxResults",
  336. "type": "integer"
  337. },
  338. "nextToken": {
  339. "location": "querystring",
  340. "locationName": "nextToken"
  341. }
  342. }
  343. },
  344. "output": {
  345. "type": "structure",
  346. "members": {
  347. "suiteRunsList": {
  348. "type": "list",
  349. "member": {
  350. "type": "structure",
  351. "members": {
  352. "suiteDefinitionId": {},
  353. "suiteDefinitionVersion": {},
  354. "suiteDefinitionName": {},
  355. "suiteRunId": {},
  356. "createdAt": {
  357. "type": "timestamp"
  358. },
  359. "startedAt": {
  360. "type": "timestamp"
  361. },
  362. "endAt": {
  363. "type": "timestamp"
  364. },
  365. "status": {},
  366. "passed": {
  367. "type": "integer"
  368. },
  369. "failed": {
  370. "type": "integer"
  371. }
  372. }
  373. }
  374. },
  375. "nextToken": {}
  376. }
  377. }
  378. },
  379. "ListTagsForResource": {
  380. "http": {
  381. "method": "GET",
  382. "requestUri": "/tags/{resourceArn}"
  383. },
  384. "input": {
  385. "type": "structure",
  386. "required": [
  387. "resourceArn"
  388. ],
  389. "members": {
  390. "resourceArn": {
  391. "location": "uri",
  392. "locationName": "resourceArn"
  393. }
  394. }
  395. },
  396. "output": {
  397. "type": "structure",
  398. "members": {
  399. "tags": {
  400. "shape": "Sb"
  401. }
  402. }
  403. }
  404. },
  405. "StartSuiteRun": {
  406. "http": {
  407. "requestUri": "/suiteDefinitions/{suiteDefinitionId}/suiteRuns"
  408. },
  409. "input": {
  410. "type": "structure",
  411. "required": [
  412. "suiteDefinitionId",
  413. "suiteRunConfiguration"
  414. ],
  415. "members": {
  416. "suiteDefinitionId": {
  417. "location": "uri",
  418. "locationName": "suiteDefinitionId"
  419. },
  420. "suiteDefinitionVersion": {},
  421. "suiteRunConfiguration": {
  422. "shape": "Ss"
  423. },
  424. "tags": {
  425. "shape": "Sb"
  426. }
  427. }
  428. },
  429. "output": {
  430. "type": "structure",
  431. "members": {
  432. "suiteRunId": {},
  433. "suiteRunArn": {},
  434. "createdAt": {
  435. "type": "timestamp"
  436. },
  437. "endpoint": {}
  438. }
  439. }
  440. },
  441. "StopSuiteRun": {
  442. "http": {
  443. "requestUri": "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/stop"
  444. },
  445. "input": {
  446. "type": "structure",
  447. "required": [
  448. "suiteDefinitionId",
  449. "suiteRunId"
  450. ],
  451. "members": {
  452. "suiteDefinitionId": {
  453. "location": "uri",
  454. "locationName": "suiteDefinitionId"
  455. },
  456. "suiteRunId": {
  457. "location": "uri",
  458. "locationName": "suiteRunId"
  459. }
  460. }
  461. },
  462. "output": {
  463. "type": "structure",
  464. "members": {}
  465. }
  466. },
  467. "TagResource": {
  468. "http": {
  469. "requestUri": "/tags/{resourceArn}"
  470. },
  471. "input": {
  472. "type": "structure",
  473. "required": [
  474. "resourceArn",
  475. "tags"
  476. ],
  477. "members": {
  478. "resourceArn": {
  479. "location": "uri",
  480. "locationName": "resourceArn"
  481. },
  482. "tags": {
  483. "shape": "Sb"
  484. }
  485. }
  486. },
  487. "output": {
  488. "type": "structure",
  489. "members": {}
  490. }
  491. },
  492. "UntagResource": {
  493. "http": {
  494. "method": "DELETE",
  495. "requestUri": "/tags/{resourceArn}"
  496. },
  497. "input": {
  498. "type": "structure",
  499. "required": [
  500. "resourceArn",
  501. "tagKeys"
  502. ],
  503. "members": {
  504. "resourceArn": {
  505. "location": "uri",
  506. "locationName": "resourceArn"
  507. },
  508. "tagKeys": {
  509. "location": "querystring",
  510. "locationName": "tagKeys",
  511. "type": "list",
  512. "member": {}
  513. }
  514. }
  515. },
  516. "output": {
  517. "type": "structure",
  518. "members": {}
  519. }
  520. },
  521. "UpdateSuiteDefinition": {
  522. "http": {
  523. "method": "PATCH",
  524. "requestUri": "/suiteDefinitions/{suiteDefinitionId}"
  525. },
  526. "input": {
  527. "type": "structure",
  528. "required": [
  529. "suiteDefinitionId",
  530. "suiteDefinitionConfiguration"
  531. ],
  532. "members": {
  533. "suiteDefinitionId": {
  534. "location": "uri",
  535. "locationName": "suiteDefinitionId"
  536. },
  537. "suiteDefinitionConfiguration": {
  538. "shape": "S2"
  539. }
  540. }
  541. },
  542. "output": {
  543. "type": "structure",
  544. "members": {
  545. "suiteDefinitionId": {},
  546. "suiteDefinitionArn": {},
  547. "suiteDefinitionName": {},
  548. "suiteDefinitionVersion": {},
  549. "createdAt": {
  550. "type": "timestamp"
  551. },
  552. "lastUpdatedAt": {
  553. "type": "timestamp"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "shapes": {
  560. "S2": {
  561. "type": "structure",
  562. "required": [
  563. "suiteDefinitionName",
  564. "rootGroup",
  565. "devicePermissionRoleArn"
  566. ],
  567. "members": {
  568. "suiteDefinitionName": {},
  569. "devices": {
  570. "shape": "S4"
  571. },
  572. "intendedForQualification": {
  573. "type": "boolean"
  574. },
  575. "isLongDurationTest": {
  576. "type": "boolean"
  577. },
  578. "rootGroup": {},
  579. "devicePermissionRoleArn": {},
  580. "protocol": {}
  581. }
  582. },
  583. "S4": {
  584. "type": "list",
  585. "member": {
  586. "shape": "S5"
  587. }
  588. },
  589. "S5": {
  590. "type": "structure",
  591. "members": {
  592. "thingArn": {},
  593. "certificateArn": {},
  594. "deviceRoleArn": {}
  595. }
  596. },
  597. "Sb": {
  598. "type": "map",
  599. "key": {},
  600. "value": {}
  601. },
  602. "Ss": {
  603. "type": "structure",
  604. "required": [
  605. "primaryDevice"
  606. ],
  607. "members": {
  608. "primaryDevice": {
  609. "shape": "S5"
  610. },
  611. "selectedTestList": {
  612. "type": "list",
  613. "member": {}
  614. },
  615. "parallelRun": {
  616. "type": "boolean"
  617. }
  618. }
  619. }
  620. }
  621. }