omics-2022-11-28.waiters2.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  1. {
  2. "version" : 2,
  3. "waiters" : {
  4. "AnnotationImportJobCreated" : {
  5. "description" : "Wait until an annotation import is completed",
  6. "delay" : 30,
  7. "maxAttempts" : 20,
  8. "operation" : "GetAnnotationImportJob",
  9. "acceptors" : [ {
  10. "matcher" : "path",
  11. "argument" : "status",
  12. "state" : "retry",
  13. "expected" : "SUBMITTED"
  14. }, {
  15. "matcher" : "path",
  16. "argument" : "status",
  17. "state" : "retry",
  18. "expected" : "IN_PROGRESS"
  19. }, {
  20. "matcher" : "path",
  21. "argument" : "status",
  22. "state" : "failure",
  23. "expected" : "FAILED"
  24. }, {
  25. "matcher" : "path",
  26. "argument" : "status",
  27. "state" : "success",
  28. "expected" : "CANCELLED"
  29. }, {
  30. "matcher" : "path",
  31. "argument" : "status",
  32. "state" : "success",
  33. "expected" : "COMPLETED"
  34. } ]
  35. },
  36. "AnnotationStoreCreated" : {
  37. "description" : "Wait until an annotation store is created",
  38. "delay" : 30,
  39. "maxAttempts" : 20,
  40. "operation" : "GetAnnotationStore",
  41. "acceptors" : [ {
  42. "matcher" : "path",
  43. "argument" : "status",
  44. "state" : "success",
  45. "expected" : "ACTIVE"
  46. }, {
  47. "matcher" : "path",
  48. "argument" : "status",
  49. "state" : "retry",
  50. "expected" : "CREATING"
  51. }, {
  52. "matcher" : "path",
  53. "argument" : "status",
  54. "state" : "retry",
  55. "expected" : "UPDATING"
  56. }, {
  57. "matcher" : "path",
  58. "argument" : "status",
  59. "state" : "failure",
  60. "expected" : "FAILED"
  61. } ]
  62. },
  63. "AnnotationStoreDeleted" : {
  64. "description" : "Wait until an annotation store is deleted.",
  65. "delay" : 30,
  66. "maxAttempts" : 20,
  67. "operation" : "GetAnnotationStore",
  68. "acceptors" : [ {
  69. "matcher" : "path",
  70. "argument" : "status",
  71. "state" : "success",
  72. "expected" : "DELETED"
  73. }, {
  74. "matcher" : "error",
  75. "state" : "success",
  76. "expected" : "ResourceNotFoundException"
  77. }, {
  78. "matcher" : "path",
  79. "argument" : "status",
  80. "state" : "retry",
  81. "expected" : "DELETING"
  82. } ]
  83. },
  84. "AnnotationStoreVersionCreated" : {
  85. "description" : "Wait until an annotation store version is created",
  86. "delay" : 30,
  87. "maxAttempts" : 20,
  88. "operation" : "GetAnnotationStoreVersion",
  89. "acceptors" : [ {
  90. "matcher" : "path",
  91. "argument" : "status",
  92. "state" : "success",
  93. "expected" : "ACTIVE"
  94. }, {
  95. "matcher" : "path",
  96. "argument" : "status",
  97. "state" : "retry",
  98. "expected" : "CREATING"
  99. }, {
  100. "matcher" : "path",
  101. "argument" : "status",
  102. "state" : "retry",
  103. "expected" : "UPDATING"
  104. }, {
  105. "matcher" : "path",
  106. "argument" : "status",
  107. "state" : "failure",
  108. "expected" : "FAILED"
  109. } ]
  110. },
  111. "AnnotationStoreVersionDeleted" : {
  112. "description" : "Wait until an annotation store version is deleted.",
  113. "delay" : 30,
  114. "maxAttempts" : 20,
  115. "operation" : "GetAnnotationStoreVersion",
  116. "acceptors" : [ {
  117. "matcher" : "path",
  118. "argument" : "status",
  119. "state" : "success",
  120. "expected" : "DELETED"
  121. }, {
  122. "matcher" : "error",
  123. "state" : "success",
  124. "expected" : "ResourceNotFoundException"
  125. }, {
  126. "matcher" : "path",
  127. "argument" : "status",
  128. "state" : "retry",
  129. "expected" : "DELETING"
  130. } ]
  131. },
  132. "ReadSetActivationJobCompleted" : {
  133. "description" : "Wait until a job is completed.",
  134. "delay" : 30,
  135. "maxAttempts" : 20,
  136. "operation" : "GetReadSetActivationJob",
  137. "acceptors" : [ {
  138. "matcher" : "path",
  139. "argument" : "status",
  140. "state" : "success",
  141. "expected" : "COMPLETED"
  142. }, {
  143. "matcher" : "path",
  144. "argument" : "status",
  145. "state" : "retry",
  146. "expected" : "SUBMITTED"
  147. }, {
  148. "matcher" : "path",
  149. "argument" : "status",
  150. "state" : "retry",
  151. "expected" : "IN_PROGRESS"
  152. }, {
  153. "matcher" : "path",
  154. "argument" : "status",
  155. "state" : "retry",
  156. "expected" : "CANCELLING"
  157. }, {
  158. "matcher" : "path",
  159. "argument" : "status",
  160. "state" : "failure",
  161. "expected" : "CANCELLED"
  162. }, {
  163. "matcher" : "path",
  164. "argument" : "status",
  165. "state" : "failure",
  166. "expected" : "FAILED"
  167. }, {
  168. "matcher" : "path",
  169. "argument" : "status",
  170. "state" : "failure",
  171. "expected" : "COMPLETED_WITH_FAILURES"
  172. } ]
  173. },
  174. "ReadSetExportJobCompleted" : {
  175. "description" : "Wait until a job is completed.",
  176. "delay" : 30,
  177. "maxAttempts" : 20,
  178. "operation" : "GetReadSetExportJob",
  179. "acceptors" : [ {
  180. "matcher" : "path",
  181. "argument" : "status",
  182. "state" : "success",
  183. "expected" : "COMPLETED"
  184. }, {
  185. "matcher" : "path",
  186. "argument" : "status",
  187. "state" : "retry",
  188. "expected" : "SUBMITTED"
  189. }, {
  190. "matcher" : "path",
  191. "argument" : "status",
  192. "state" : "retry",
  193. "expected" : "IN_PROGRESS"
  194. }, {
  195. "matcher" : "path",
  196. "argument" : "status",
  197. "state" : "retry",
  198. "expected" : "CANCELLING"
  199. }, {
  200. "matcher" : "path",
  201. "argument" : "status",
  202. "state" : "failure",
  203. "expected" : "CANCELLED"
  204. }, {
  205. "matcher" : "path",
  206. "argument" : "status",
  207. "state" : "failure",
  208. "expected" : "FAILED"
  209. }, {
  210. "matcher" : "path",
  211. "argument" : "status",
  212. "state" : "failure",
  213. "expected" : "COMPLETED_WITH_FAILURES"
  214. } ]
  215. },
  216. "ReadSetImportJobCompleted" : {
  217. "description" : "Wait until a job is completed.",
  218. "delay" : 30,
  219. "maxAttempts" : 20,
  220. "operation" : "GetReadSetImportJob",
  221. "acceptors" : [ {
  222. "matcher" : "path",
  223. "argument" : "status",
  224. "state" : "success",
  225. "expected" : "COMPLETED"
  226. }, {
  227. "matcher" : "path",
  228. "argument" : "status",
  229. "state" : "retry",
  230. "expected" : "SUBMITTED"
  231. }, {
  232. "matcher" : "path",
  233. "argument" : "status",
  234. "state" : "retry",
  235. "expected" : "IN_PROGRESS"
  236. }, {
  237. "matcher" : "path",
  238. "argument" : "status",
  239. "state" : "retry",
  240. "expected" : "CANCELLING"
  241. }, {
  242. "matcher" : "path",
  243. "argument" : "status",
  244. "state" : "failure",
  245. "expected" : "CANCELLED"
  246. }, {
  247. "matcher" : "path",
  248. "argument" : "status",
  249. "state" : "failure",
  250. "expected" : "FAILED"
  251. }, {
  252. "matcher" : "path",
  253. "argument" : "status",
  254. "state" : "failure",
  255. "expected" : "COMPLETED_WITH_FAILURES"
  256. } ]
  257. },
  258. "ReferenceImportJobCompleted" : {
  259. "description" : "Wait until a job is completed.",
  260. "delay" : 30,
  261. "maxAttempts" : 20,
  262. "operation" : "GetReferenceImportJob",
  263. "acceptors" : [ {
  264. "matcher" : "path",
  265. "argument" : "status",
  266. "state" : "success",
  267. "expected" : "COMPLETED"
  268. }, {
  269. "matcher" : "path",
  270. "argument" : "status",
  271. "state" : "retry",
  272. "expected" : "SUBMITTED"
  273. }, {
  274. "matcher" : "path",
  275. "argument" : "status",
  276. "state" : "retry",
  277. "expected" : "IN_PROGRESS"
  278. }, {
  279. "matcher" : "path",
  280. "argument" : "status",
  281. "state" : "retry",
  282. "expected" : "CANCELLING"
  283. }, {
  284. "matcher" : "path",
  285. "argument" : "status",
  286. "state" : "failure",
  287. "expected" : "CANCELLED"
  288. }, {
  289. "matcher" : "path",
  290. "argument" : "status",
  291. "state" : "failure",
  292. "expected" : "FAILED"
  293. }, {
  294. "matcher" : "path",
  295. "argument" : "status",
  296. "state" : "failure",
  297. "expected" : "COMPLETED_WITH_FAILURES"
  298. } ]
  299. },
  300. "RunCompleted" : {
  301. "description" : "Wait until a run is completed.",
  302. "delay" : 30,
  303. "maxAttempts" : 20,
  304. "operation" : "GetRun",
  305. "acceptors" : [ {
  306. "matcher" : "path",
  307. "argument" : "status",
  308. "state" : "success",
  309. "expected" : "COMPLETED"
  310. }, {
  311. "matcher" : "path",
  312. "argument" : "status",
  313. "state" : "retry",
  314. "expected" : "PENDING"
  315. }, {
  316. "matcher" : "path",
  317. "argument" : "status",
  318. "state" : "retry",
  319. "expected" : "STARTING"
  320. }, {
  321. "matcher" : "path",
  322. "argument" : "status",
  323. "state" : "retry",
  324. "expected" : "RUNNING"
  325. }, {
  326. "matcher" : "path",
  327. "argument" : "status",
  328. "state" : "retry",
  329. "expected" : "STOPPING"
  330. }, {
  331. "matcher" : "path",
  332. "argument" : "status",
  333. "state" : "failure",
  334. "expected" : "FAILED"
  335. } ]
  336. },
  337. "RunRunning" : {
  338. "description" : "Wait until a run is running.",
  339. "delay" : 30,
  340. "maxAttempts" : 20,
  341. "operation" : "GetRun",
  342. "acceptors" : [ {
  343. "matcher" : "path",
  344. "argument" : "status",
  345. "state" : "success",
  346. "expected" : "RUNNING"
  347. }, {
  348. "matcher" : "path",
  349. "argument" : "status",
  350. "state" : "retry",
  351. "expected" : "PENDING"
  352. }, {
  353. "matcher" : "path",
  354. "argument" : "status",
  355. "state" : "retry",
  356. "expected" : "STARTING"
  357. }, {
  358. "matcher" : "path",
  359. "argument" : "status",
  360. "state" : "failure",
  361. "expected" : "FAILED"
  362. }, {
  363. "matcher" : "path",
  364. "argument" : "status",
  365. "state" : "failure",
  366. "expected" : "CANCELLED"
  367. } ]
  368. },
  369. "TaskCompleted" : {
  370. "description" : "Wait until a task is completed.",
  371. "delay" : 30,
  372. "maxAttempts" : 20,
  373. "operation" : "GetRunTask",
  374. "acceptors" : [ {
  375. "matcher" : "path",
  376. "argument" : "status",
  377. "state" : "success",
  378. "expected" : "COMPLETED"
  379. }, {
  380. "matcher" : "path",
  381. "argument" : "status",
  382. "state" : "retry",
  383. "expected" : "PENDING"
  384. }, {
  385. "matcher" : "path",
  386. "argument" : "status",
  387. "state" : "retry",
  388. "expected" : "STARTING"
  389. }, {
  390. "matcher" : "path",
  391. "argument" : "status",
  392. "state" : "retry",
  393. "expected" : "RUNNING"
  394. }, {
  395. "matcher" : "path",
  396. "argument" : "status",
  397. "state" : "retry",
  398. "expected" : "STOPPING"
  399. }, {
  400. "matcher" : "path",
  401. "argument" : "status",
  402. "state" : "failure",
  403. "expected" : "FAILED"
  404. } ]
  405. },
  406. "TaskRunning" : {
  407. "description" : "Wait until a task is running.",
  408. "delay" : 30,
  409. "maxAttempts" : 20,
  410. "operation" : "GetRunTask",
  411. "acceptors" : [ {
  412. "matcher" : "path",
  413. "argument" : "status",
  414. "state" : "success",
  415. "expected" : "RUNNING"
  416. }, {
  417. "matcher" : "path",
  418. "argument" : "status",
  419. "state" : "retry",
  420. "expected" : "PENDING"
  421. }, {
  422. "matcher" : "path",
  423. "argument" : "status",
  424. "state" : "retry",
  425. "expected" : "STARTING"
  426. }, {
  427. "matcher" : "path",
  428. "argument" : "status",
  429. "state" : "failure",
  430. "expected" : "FAILED"
  431. }, {
  432. "matcher" : "path",
  433. "argument" : "status",
  434. "state" : "failure",
  435. "expected" : "CANCELLED"
  436. } ]
  437. },
  438. "VariantImportJobCreated" : {
  439. "description" : "Wait until variant import is completed",
  440. "delay" : 30,
  441. "maxAttempts" : 20,
  442. "operation" : "GetVariantImportJob",
  443. "acceptors" : [ {
  444. "matcher" : "path",
  445. "argument" : "status",
  446. "state" : "retry",
  447. "expected" : "SUBMITTED"
  448. }, {
  449. "matcher" : "path",
  450. "argument" : "status",
  451. "state" : "retry",
  452. "expected" : "IN_PROGRESS"
  453. }, {
  454. "matcher" : "path",
  455. "argument" : "status",
  456. "state" : "failure",
  457. "expected" : "FAILED"
  458. }, {
  459. "matcher" : "path",
  460. "argument" : "status",
  461. "state" : "success",
  462. "expected" : "CANCELLED"
  463. }, {
  464. "matcher" : "path",
  465. "argument" : "status",
  466. "state" : "success",
  467. "expected" : "COMPLETED"
  468. } ]
  469. },
  470. "VariantStoreCreated" : {
  471. "description" : "Wait until a variant store is created",
  472. "delay" : 30,
  473. "maxAttempts" : 20,
  474. "operation" : "GetVariantStore",
  475. "acceptors" : [ {
  476. "matcher" : "path",
  477. "argument" : "status",
  478. "state" : "success",
  479. "expected" : "ACTIVE"
  480. }, {
  481. "matcher" : "path",
  482. "argument" : "status",
  483. "state" : "retry",
  484. "expected" : "CREATING"
  485. }, {
  486. "matcher" : "path",
  487. "argument" : "status",
  488. "state" : "retry",
  489. "expected" : "UPDATING"
  490. }, {
  491. "matcher" : "path",
  492. "argument" : "status",
  493. "state" : "failure",
  494. "expected" : "FAILED"
  495. } ]
  496. },
  497. "VariantStoreDeleted" : {
  498. "description" : "Wait until a variant store is deleted.",
  499. "delay" : 30,
  500. "maxAttempts" : 20,
  501. "operation" : "GetVariantStore",
  502. "acceptors" : [ {
  503. "matcher" : "path",
  504. "argument" : "status",
  505. "state" : "success",
  506. "expected" : "DELETED"
  507. }, {
  508. "matcher" : "error",
  509. "state" : "success",
  510. "expected" : "ResourceNotFoundException"
  511. }, {
  512. "matcher" : "path",
  513. "argument" : "status",
  514. "state" : "retry",
  515. "expected" : "DELETING"
  516. } ]
  517. },
  518. "WorkflowActive" : {
  519. "description" : "Wait until a workflow is active.",
  520. "delay" : 3,
  521. "maxAttempts" : 10,
  522. "operation" : "GetWorkflow",
  523. "acceptors" : [ {
  524. "matcher" : "path",
  525. "argument" : "status",
  526. "state" : "success",
  527. "expected" : "ACTIVE"
  528. }, {
  529. "matcher" : "path",
  530. "argument" : "status",
  531. "state" : "retry",
  532. "expected" : "CREATING"
  533. }, {
  534. "matcher" : "path",
  535. "argument" : "status",
  536. "state" : "retry",
  537. "expected" : "UPDATING"
  538. }, {
  539. "matcher" : "path",
  540. "argument" : "status",
  541. "state" : "failure",
  542. "expected" : "FAILED"
  543. } ]
  544. }
  545. }
  546. }