1{ 2 "version" : 2, 3 "waiters" : { 4 "LaunchProfileDeleted" : { 5 "description" : "Wait until a LaunchProfile is Deleted. Use this after invoking DeleteLaunchProfile", 6 "delay" : 5, 7 "maxAttempts" : 150, 8 "operation" : "GetLaunchProfile", 9 "acceptors" : [ { 10 "matcher" : "path", 11 "argument" : "launchProfile.state", 12 "state" : "success", 13 "expected" : "DELETED" 14 }, { 15 "matcher" : "path", 16 "argument" : "launchProfile.state", 17 "state" : "failure", 18 "expected" : "DELETE_FAILED" 19 } ] 20 }, 21 "LaunchProfileReady" : { 22 "description" : "Wait until a LaunchProfile is Ready. Use this after invoking CreateLaunchProfile or UpdateLaunchProfile", 23 "delay" : 5, 24 "maxAttempts" : 150, 25 "operation" : "GetLaunchProfile", 26 "acceptors" : [ { 27 "matcher" : "path", 28 "argument" : "launchProfile.state", 29 "state" : "success", 30 "expected" : "READY" 31 }, { 32 "matcher" : "path", 33 "argument" : "launchProfile.state", 34 "state" : "failure", 35 "expected" : "CREATE_FAILED" 36 }, { 37 "matcher" : "path", 38 "argument" : "launchProfile.state", 39 "state" : "failure", 40 "expected" : "UPDATE_FAILED" 41 } ] 42 }, 43 "StreamingImageDeleted" : { 44 "description" : "Wait until a StreamingImage Deleted. Use this after invoking DeleteStreamingImage", 45 "delay" : 2, 46 "maxAttempts" : 60, 47 "operation" : "GetStreamingImage", 48 "acceptors" : [ { 49 "matcher" : "path", 50 "argument" : "streamingImage.state", 51 "state" : "success", 52 "expected" : "DELETED" 53 }, { 54 "matcher" : "path", 55 "argument" : "streamingImage.state", 56 "state" : "failure", 57 "expected" : "DELETE_FAILED" 58 } ] 59 }, 60 "StreamingImageReady" : { 61 "description" : "Wait until a StreamingImage is Ready. Use this after invoking CreateStreamingImage or UpdateStreamingImage", 62 "delay" : 2, 63 "maxAttempts" : 60, 64 "operation" : "GetStreamingImage", 65 "acceptors" : [ { 66 "matcher" : "path", 67 "argument" : "streamingImage.state", 68 "state" : "success", 69 "expected" : "READY" 70 }, { 71 "matcher" : "path", 72 "argument" : "streamingImage.state", 73 "state" : "failure", 74 "expected" : "CREATE_FAILED" 75 }, { 76 "matcher" : "path", 77 "argument" : "streamingImage.state", 78 "state" : "failure", 79 "expected" : "UPDATE_FAILED" 80 } ] 81 }, 82 "StreamingSessionDeleted" : { 83 "description" : "Wait until a StreamingSessionDeleted. Use this after invoking DeleteStreamingSession", 84 "delay" : 5, 85 "maxAttempts" : 180, 86 "operation" : "GetStreamingSession", 87 "acceptors" : [ { 88 "matcher" : "path", 89 "argument" : "session.state", 90 "state" : "success", 91 "expected" : "DELETED" 92 }, { 93 "matcher" : "path", 94 "argument" : "session.state", 95 "state" : "failure", 96 "expected" : "DELETE_FAILED" 97 } ] 98 }, 99 "StreamingSessionReady" : { 100 "description" : "Wait until a StreamingSession is ready. Use this after invoking CreateStreamingSession, StartStreamingSession", 101 "delay" : 10, 102 "maxAttempts" : 180, 103 "operation" : "GetStreamingSession", 104 "acceptors" : [ { 105 "matcher" : "path", 106 "argument" : "session.state", 107 "state" : "success", 108 "expected" : "READY" 109 }, { 110 "matcher" : "path", 111 "argument" : "session.state", 112 "state" : "failure", 113 "expected" : "CREATE_FAILED" 114 }, { 115 "matcher" : "path", 116 "argument" : "session.state", 117 "state" : "failure", 118 "expected" : "START_FAILED" 119 } ] 120 }, 121 "StreamingSessionStopped" : { 122 "description" : "Wait until a StreamingSessionStopped. Use this after invoking StopStreamingSession", 123 "delay" : 5, 124 "maxAttempts" : 180, 125 "operation" : "GetStreamingSession", 126 "acceptors" : [ { 127 "matcher" : "path", 128 "argument" : "session.state", 129 "state" : "success", 130 "expected" : "STOPPED" 131 }, { 132 "matcher" : "path", 133 "argument" : "session.state", 134 "state" : "failure", 135 "expected" : "STOP_FAILED" 136 } ] 137 }, 138 "StreamingSessionStreamReady" : { 139 "description" : "Wait until a StreamingSessionStream is ready. Use this after invoking CreateStreamingSessionStream", 140 "delay" : 5, 141 "maxAttempts" : 30, 142 "operation" : "GetStreamingSessionStream", 143 "acceptors" : [ { 144 "matcher" : "path", 145 "argument" : "stream.state", 146 "state" : "success", 147 "expected" : "READY" 148 }, { 149 "matcher" : "path", 150 "argument" : "stream.state", 151 "state" : "failure", 152 "expected" : "CREATE_FAILED" 153 } ] 154 }, 155 "StudioComponentDeleted" : { 156 "description" : "Wait until a StudioComponent Deleted. Use this after invoking DeleteStudioComponent", 157 "delay" : 1, 158 "maxAttempts" : 120, 159 "operation" : "GetStudioComponent", 160 "acceptors" : [ { 161 "matcher" : "path", 162 "argument" : "studioComponent.state", 163 "state" : "success", 164 "expected" : "DELETED" 165 }, { 166 "matcher" : "path", 167 "argument" : "studioComponent.state", 168 "state" : "failure", 169 "expected" : "DELETE_FAILED" 170 } ] 171 }, 172 "StudioComponentReady" : { 173 "description" : "Wait until a StudioComponent is Ready. Use this after invoking CreateStudioComponent or UpdateStudioComponent", 174 "delay" : 2, 175 "maxAttempts" : 60, 176 "operation" : "GetStudioComponent", 177 "acceptors" : [ { 178 "matcher" : "path", 179 "argument" : "studioComponent.state", 180 "state" : "success", 181 "expected" : "READY" 182 }, { 183 "matcher" : "path", 184 "argument" : "studioComponent.state", 185 "state" : "failure", 186 "expected" : "CREATE_FAILED" 187 }, { 188 "matcher" : "path", 189 "argument" : "studioComponent.state", 190 "state" : "failure", 191 "expected" : "UPDATE_FAILED" 192 } ] 193 }, 194 "StudioDeleted" : { 195 "description" : "Wait until a Studio is Deleted. Use this after invoking DeleteStudio.", 196 "delay" : 2, 197 "maxAttempts" : 60, 198 "operation" : "GetStudio", 199 "acceptors" : [ { 200 "matcher" : "path", 201 "argument" : "studio.state", 202 "state" : "success", 203 "expected" : "DELETED" 204 }, { 205 "matcher" : "path", 206 "argument" : "studio.state", 207 "state" : "failure", 208 "expected" : "DELETE_FAILED" 209 } ] 210 }, 211 "StudioReady" : { 212 "description" : "Wait until a Studio is Ready. Use this after invoking CreateStudio, UpdateStudio, or StartStudioSSOConfigurationRepair", 213 "delay" : 2, 214 "maxAttempts" : 60, 215 "operation" : "GetStudio", 216 "acceptors" : [ { 217 "matcher" : "path", 218 "argument" : "studio.state", 219 "state" : "success", 220 "expected" : "READY" 221 }, { 222 "matcher" : "path", 223 "argument" : "studio.state", 224 "state" : "failure", 225 "expected" : "CREATE_FAILED" 226 }, { 227 "matcher" : "path", 228 "argument" : "studio.state", 229 "state" : "failure", 230 "expected" : "UPDATE_FAILED" 231 } ] 232 } 233 } 234}