deadline-2023-10-12.waiters2.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "version" : 2,
  3. "waiters" : {
  4. "FleetActive" : {
  5. "description" : "Wait until a Fleet is activated. Use this after invoking CreateFleet or UpdateFleet.",
  6. "delay" : 5,
  7. "maxAttempts" : 180,
  8. "operation" : "GetFleet",
  9. "acceptors" : [ {
  10. "matcher" : "path",
  11. "argument" : "status",
  12. "state" : "success",
  13. "expected" : "ACTIVE"
  14. }, {
  15. "matcher" : "path",
  16. "argument" : "status",
  17. "state" : "failure",
  18. "expected" : "CREATE_FAILED"
  19. }, {
  20. "matcher" : "path",
  21. "argument" : "status",
  22. "state" : "failure",
  23. "expected" : "UPDATE_FAILED"
  24. } ]
  25. },
  26. "JobCreateComplete" : {
  27. "description" : "Wait until a Job is created. Use this after invoking CreateJob.",
  28. "delay" : 1,
  29. "maxAttempts" : 120,
  30. "operation" : "GetJob",
  31. "acceptors" : [ {
  32. "matcher" : "path",
  33. "argument" : "lifecycleStatus",
  34. "state" : "success",
  35. "expected" : "CREATE_COMPLETE"
  36. }, {
  37. "matcher" : "path",
  38. "argument" : "lifecycleStatus",
  39. "state" : "success",
  40. "expected" : "UPDATE_IN_PROGRESS"
  41. }, {
  42. "matcher" : "path",
  43. "argument" : "lifecycleStatus",
  44. "state" : "success",
  45. "expected" : "UPDATE_FAILED"
  46. }, {
  47. "matcher" : "path",
  48. "argument" : "lifecycleStatus",
  49. "state" : "success",
  50. "expected" : "UPDATE_SUCCEEDED"
  51. }, {
  52. "matcher" : "path",
  53. "argument" : "lifecycleStatus",
  54. "state" : "failure",
  55. "expected" : "UPLOAD_FAILED"
  56. }, {
  57. "matcher" : "path",
  58. "argument" : "lifecycleStatus",
  59. "state" : "failure",
  60. "expected" : "CREATE_FAILED"
  61. } ]
  62. },
  63. "LicenseEndpointDeleted" : {
  64. "description" : "Wait until a LicenseEndpoint is Deleted. Use this after invoking DeleteLicenseEndpoint.",
  65. "delay" : 10,
  66. "maxAttempts" : 234,
  67. "operation" : "GetLicenseEndpoint",
  68. "acceptors" : [ {
  69. "matcher" : "error",
  70. "state" : "success",
  71. "expected" : "ResourceNotFoundException"
  72. }, {
  73. "matcher" : "path",
  74. "argument" : "status",
  75. "state" : "failure",
  76. "expected" : "NOT_READY"
  77. } ]
  78. },
  79. "LicenseEndpointValid" : {
  80. "description" : "Wait until a LicenseEndpoint is Ready. Use this after invoking CreateLicenseEndpoint.",
  81. "delay" : 10,
  82. "maxAttempts" : 114,
  83. "operation" : "GetLicenseEndpoint",
  84. "acceptors" : [ {
  85. "matcher" : "path",
  86. "argument" : "status",
  87. "state" : "success",
  88. "expected" : "READY"
  89. }, {
  90. "matcher" : "path",
  91. "argument" : "status",
  92. "state" : "failure",
  93. "expected" : "NOT_READY"
  94. } ]
  95. },
  96. "QueueFleetAssociationStopped" : {
  97. "description" : "Wait until a QueueFleetAssociation is stopped. Use this after setting the status to STOP_SCHEDULING_AND_COMPLETE_TASKS or STOP_SCHEDULING_AND_CANCEL_TASKS to wait for a QueueFleetAssociation to reach STOPPED",
  98. "delay" : 10,
  99. "maxAttempts" : 60,
  100. "operation" : "GetQueueFleetAssociation",
  101. "acceptors" : [ {
  102. "matcher" : "path",
  103. "argument" : "status",
  104. "state" : "success",
  105. "expected" : "STOPPED"
  106. } ]
  107. },
  108. "QueueScheduling" : {
  109. "delay" : 10,
  110. "maxAttempts" : 70,
  111. "operation" : "GetQueue",
  112. "acceptors" : [ {
  113. "matcher" : "path",
  114. "argument" : "status",
  115. "state" : "success",
  116. "expected" : "SCHEDULING"
  117. } ]
  118. },
  119. "QueueSchedulingBlocked" : {
  120. "delay" : 10,
  121. "maxAttempts" : 30,
  122. "operation" : "GetQueue",
  123. "acceptors" : [ {
  124. "matcher" : "path",
  125. "argument" : "status",
  126. "state" : "success",
  127. "expected" : "SCHEDULING_BLOCKED"
  128. } ]
  129. }
  130. }
  131. }