medialive-2017-10-14.waiters2.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. {
  2. "version": 2,
  3. "waiters": {
  4. "ChannelCreated": {
  5. "description": "Wait until a channel has been created",
  6. "operation": "DescribeChannel",
  7. "delay": 3,
  8. "maxAttempts": 5,
  9. "acceptors": [
  10. {
  11. "state": "success",
  12. "matcher": "path",
  13. "argument": "State",
  14. "expected": "IDLE"
  15. },
  16. {
  17. "state": "retry",
  18. "matcher": "path",
  19. "argument": "State",
  20. "expected": "CREATING"
  21. },
  22. {
  23. "state": "retry",
  24. "matcher": "status",
  25. "expected": 500
  26. },
  27. {
  28. "state": "failure",
  29. "matcher": "path",
  30. "argument": "State",
  31. "expected": "CREATE_FAILED"
  32. }
  33. ]
  34. },
  35. "ChannelRunning": {
  36. "description": "Wait until a channel is running",
  37. "operation": "DescribeChannel",
  38. "delay": 5,
  39. "maxAttempts": 120,
  40. "acceptors": [
  41. {
  42. "state": "success",
  43. "matcher": "path",
  44. "argument": "State",
  45. "expected": "RUNNING"
  46. },
  47. {
  48. "state": "retry",
  49. "matcher": "path",
  50. "argument": "State",
  51. "expected": "STARTING"
  52. },
  53. {
  54. "state": "retry",
  55. "matcher": "status",
  56. "expected": 500
  57. }
  58. ]
  59. },
  60. "ChannelStopped": {
  61. "description": "Wait until a channel has is stopped",
  62. "operation": "DescribeChannel",
  63. "delay": 5,
  64. "maxAttempts": 60,
  65. "acceptors": [
  66. {
  67. "state": "success",
  68. "matcher": "path",
  69. "argument": "State",
  70. "expected": "IDLE"
  71. },
  72. {
  73. "state": "retry",
  74. "matcher": "path",
  75. "argument": "State",
  76. "expected": "STOPPING"
  77. },
  78. {
  79. "state": "retry",
  80. "matcher": "status",
  81. "expected": 500
  82. }
  83. ]
  84. },
  85. "ChannelDeleted": {
  86. "description": "Wait until a channel has been deleted",
  87. "operation": "DescribeChannel",
  88. "delay": 5,
  89. "maxAttempts": 84,
  90. "acceptors": [
  91. {
  92. "state": "success",
  93. "matcher": "path",
  94. "argument": "State",
  95. "expected": "DELETED"
  96. },
  97. {
  98. "state": "retry",
  99. "matcher": "path",
  100. "argument": "State",
  101. "expected": "DELETING"
  102. },
  103. {
  104. "state": "retry",
  105. "matcher": "status",
  106. "expected": 500
  107. }
  108. ]
  109. },
  110. "InputAttached": {
  111. "description": "Wait until an input has been attached",
  112. "operation": "DescribeInput",
  113. "delay": 5,
  114. "maxAttempts": 20,
  115. "acceptors": [
  116. {
  117. "state": "success",
  118. "matcher": "path",
  119. "argument": "State",
  120. "expected": "ATTACHED"
  121. },
  122. {
  123. "state": "retry",
  124. "matcher": "path",
  125. "argument": "State",
  126. "expected": "DETACHED"
  127. },
  128. {
  129. "state": "retry",
  130. "matcher": "status",
  131. "expected": 500
  132. }
  133. ]
  134. },
  135. "InputDetached": {
  136. "description": "Wait until an input has been detached",
  137. "operation": "DescribeInput",
  138. "delay": 5,
  139. "maxAttempts": 84,
  140. "acceptors": [
  141. {
  142. "state": "success",
  143. "matcher": "path",
  144. "argument": "State",
  145. "expected": "DETACHED"
  146. },
  147. {
  148. "state": "retry",
  149. "matcher": "path",
  150. "argument": "State",
  151. "expected": "CREATING"
  152. },
  153. {
  154. "state": "retry",
  155. "matcher": "path",
  156. "argument": "State",
  157. "expected": "ATTACHED"
  158. },
  159. {
  160. "state": "retry",
  161. "matcher": "status",
  162. "expected": 500
  163. }
  164. ]
  165. },
  166. "InputDeleted": {
  167. "description": "Wait until an input has been deleted",
  168. "operation": "DescribeInput",
  169. "delay": 5,
  170. "maxAttempts": 20,
  171. "acceptors": [
  172. {
  173. "state": "success",
  174. "matcher": "path",
  175. "argument": "State",
  176. "expected": "DELETED"
  177. },
  178. {
  179. "state": "retry",
  180. "matcher": "path",
  181. "argument": "State",
  182. "expected": "DELETING"
  183. },
  184. {
  185. "state": "retry",
  186. "matcher": "status",
  187. "expected": 500
  188. }
  189. ]
  190. },
  191. "MultiplexCreated": {
  192. "description": "Wait until a multiplex has been created",
  193. "operation": "DescribeMultiplex",
  194. "delay": 3,
  195. "maxAttempts": 5,
  196. "acceptors": [
  197. {
  198. "state": "success",
  199. "matcher": "path",
  200. "argument": "State",
  201. "expected": "IDLE"
  202. },
  203. {
  204. "state": "retry",
  205. "matcher": "path",
  206. "argument": "State",
  207. "expected": "CREATING"
  208. },
  209. {
  210. "state": "retry",
  211. "matcher": "status",
  212. "expected": 500
  213. },
  214. {
  215. "state": "failure",
  216. "matcher": "path",
  217. "argument": "State",
  218. "expected": "CREATE_FAILED"
  219. }
  220. ]
  221. },
  222. "MultiplexRunning": {
  223. "description": "Wait until a multiplex is running",
  224. "operation": "DescribeMultiplex",
  225. "delay": 5,
  226. "maxAttempts": 120,
  227. "acceptors": [
  228. {
  229. "state": "success",
  230. "matcher": "path",
  231. "argument": "State",
  232. "expected": "RUNNING"
  233. },
  234. {
  235. "state": "retry",
  236. "matcher": "path",
  237. "argument": "State",
  238. "expected": "STARTING"
  239. },
  240. {
  241. "state": "retry",
  242. "matcher": "status",
  243. "expected": 500
  244. }
  245. ]
  246. },
  247. "MultiplexStopped": {
  248. "description": "Wait until a multiplex has is stopped",
  249. "operation": "DescribeMultiplex",
  250. "delay": 5,
  251. "maxAttempts": 28,
  252. "acceptors": [
  253. {
  254. "state": "success",
  255. "matcher": "path",
  256. "argument": "State",
  257. "expected": "IDLE"
  258. },
  259. {
  260. "state": "retry",
  261. "matcher": "path",
  262. "argument": "State",
  263. "expected": "STOPPING"
  264. },
  265. {
  266. "state": "retry",
  267. "matcher": "status",
  268. "expected": 500
  269. }
  270. ]
  271. },
  272. "MultiplexDeleted": {
  273. "description": "Wait until a multiplex has been deleted",
  274. "operation": "DescribeMultiplex",
  275. "delay": 5,
  276. "maxAttempts": 20,
  277. "acceptors": [
  278. {
  279. "state": "success",
  280. "matcher": "path",
  281. "argument": "State",
  282. "expected": "DELETED"
  283. },
  284. {
  285. "state": "retry",
  286. "matcher": "path",
  287. "argument": "State",
  288. "expected": "DELETING"
  289. },
  290. {
  291. "state": "retry",
  292. "matcher": "status",
  293. "expected": 500
  294. }
  295. ]
  296. },
  297. "SignalMapCreated": {
  298. "description": "Wait until a signal map has been created",
  299. "delay": 5,
  300. "maxAttempts": 60,
  301. "operation": "GetSignalMap",
  302. "acceptors": [
  303. {
  304. "matcher": "path",
  305. "argument": "Status",
  306. "state": "success",
  307. "expected": "CREATE_COMPLETE"
  308. },
  309. {
  310. "matcher": "path",
  311. "argument": "Status",
  312. "state": "retry",
  313. "expected": "CREATE_IN_PROGRESS"
  314. },
  315. {
  316. "matcher": "path",
  317. "argument": "Status",
  318. "state": "failure",
  319. "expected": "CREATE_FAILED"
  320. }
  321. ]
  322. },
  323. "SignalMapMonitorDeleted": {
  324. "description": "Wait until a signal map's monitor has been deleted",
  325. "delay": 5,
  326. "maxAttempts": 120,
  327. "operation": "GetSignalMap",
  328. "acceptors": [
  329. {
  330. "matcher": "path",
  331. "argument": "MonitorDeployment.Status",
  332. "state": "success",
  333. "expected": "DELETE_COMPLETE"
  334. },
  335. {
  336. "matcher": "path",
  337. "argument": "MonitorDeployment.Status",
  338. "state": "retry",
  339. "expected": "DELETE_IN_PROGRESS"
  340. },
  341. {
  342. "matcher": "path",
  343. "argument": "MonitorDeployment.Status",
  344. "state": "failure",
  345. "expected": "DELETE_FAILED"
  346. }
  347. ]
  348. },
  349. "SignalMapMonitorDeployed": {
  350. "description": "Wait until a signal map's monitor has been deployed",
  351. "delay": 5,
  352. "maxAttempts": 120,
  353. "operation": "GetSignalMap",
  354. "acceptors": [
  355. {
  356. "matcher": "path",
  357. "argument": "MonitorDeployment.Status",
  358. "state": "success",
  359. "expected": "DRY_RUN_DEPLOYMENT_COMPLETE"
  360. },
  361. {
  362. "matcher": "path",
  363. "argument": "MonitorDeployment.Status",
  364. "state": "success",
  365. "expected": "DEPLOYMENT_COMPLETE"
  366. },
  367. {
  368. "matcher": "path",
  369. "argument": "MonitorDeployment.Status",
  370. "state": "retry",
  371. "expected": "DRY_RUN_DEPLOYMENT_IN_PROGRESS"
  372. },
  373. {
  374. "matcher": "path",
  375. "argument": "MonitorDeployment.Status",
  376. "state": "retry",
  377. "expected": "DEPLOYMENT_IN_PROGRESS"
  378. },
  379. {
  380. "matcher": "path",
  381. "argument": "MonitorDeployment.Status",
  382. "state": "failure",
  383. "expected": "DRY_RUN_DEPLOYMENT_FAILED"
  384. },
  385. {
  386. "matcher": "path",
  387. "argument": "MonitorDeployment.Status",
  388. "state": "failure",
  389. "expected": "DEPLOYMENT_FAILED"
  390. }
  391. ]
  392. },
  393. "SignalMapUpdated": {
  394. "description": "Wait until a signal map has been updated",
  395. "delay": 5,
  396. "maxAttempts": 60,
  397. "operation": "GetSignalMap",
  398. "acceptors": [
  399. {
  400. "matcher": "path",
  401. "argument": "Status",
  402. "state": "success",
  403. "expected": "UPDATE_COMPLETE"
  404. },
  405. {
  406. "matcher": "path",
  407. "argument": "Status",
  408. "state": "retry",
  409. "expected": "UPDATE_IN_PROGRESS"
  410. },
  411. {
  412. "matcher": "path",
  413. "argument": "Status",
  414. "state": "failure",
  415. "expected": "UPDATE_FAILED"
  416. },
  417. {
  418. "matcher": "path",
  419. "argument": "Status",
  420. "state": "failure",
  421. "expected": "UPDATE_REVERTED"
  422. }
  423. ]
  424. }
  425. }
  426. }