1{ 2 "version": 2, 3 "waiters": { 4 "NotebookInstanceInService": { 5 "delay": 30, 6 "maxAttempts": 60, 7 "operation": "DescribeNotebookInstance", 8 "acceptors": [ 9 { 10 "expected": "InService", 11 "matcher": "path", 12 "state": "success", 13 "argument": "NotebookInstanceStatus" 14 }, 15 { 16 "expected": "Failed", 17 "matcher": "path", 18 "state": "failure", 19 "argument": "NotebookInstanceStatus" 20 } 21 ] 22 }, 23 "NotebookInstanceStopped": { 24 "delay": 30, 25 "operation": "DescribeNotebookInstance", 26 "maxAttempts": 60, 27 "acceptors": [ 28 { 29 "expected": "Stopped", 30 "matcher": "path", 31 "state": "success", 32 "argument": "NotebookInstanceStatus" 33 }, 34 { 35 "expected": "Failed", 36 "matcher": "path", 37 "state": "failure", 38 "argument": "NotebookInstanceStatus" 39 } 40 ] 41 }, 42 "NotebookInstanceDeleted": { 43 "delay": 30, 44 "maxAttempts": 60, 45 "operation": "DescribeNotebookInstance", 46 "acceptors": [ 47 { 48 "expected": "ValidationException", 49 "matcher": "error", 50 "state": "success" 51 }, 52 { 53 "expected": "Failed", 54 "matcher": "path", 55 "state": "failure", 56 "argument": "NotebookInstanceStatus" 57 } 58 ] 59 }, 60 "TrainingJobCompletedOrStopped": { 61 "delay": 120, 62 "maxAttempts": 180, 63 "operation": "DescribeTrainingJob", 64 "acceptors": [ 65 { 66 "expected": "Completed", 67 "matcher": "path", 68 "state": "success", 69 "argument": "TrainingJobStatus" 70 }, 71 { 72 "expected": "Stopped", 73 "matcher": "path", 74 "state": "success", 75 "argument": "TrainingJobStatus" 76 }, 77 { 78 "expected": "Failed", 79 "matcher": "path", 80 "state": "failure", 81 "argument": "TrainingJobStatus" 82 }, 83 { 84 "expected": "ValidationException", 85 "matcher": "error", 86 "state": "failure" 87 } 88 ] 89 }, 90 "EndpointInService": { 91 "delay": 30, 92 "maxAttempts": 120, 93 "operation": "DescribeEndpoint", 94 "acceptors": [ 95 { 96 "expected": "InService", 97 "matcher": "path", 98 "state": "success", 99 "argument": "EndpointStatus" 100 }, 101 { 102 "expected": "Failed", 103 "matcher": "path", 104 "state": "failure", 105 "argument": "EndpointStatus" 106 }, 107 { 108 "expected": "ValidationException", 109 "matcher": "error", 110 "state": "failure" 111 } 112 ] 113 }, 114 "EndpointDeleted": { 115 "delay": 30, 116 "maxAttempts": 60, 117 "operation": "DescribeEndpoint", 118 "acceptors": [ 119 { 120 "expected": "ValidationException", 121 "matcher": "error", 122 "state": "success" 123 }, 124 { 125 "expected": "Failed", 126 "matcher": "path", 127 "state": "failure", 128 "argument": "EndpointStatus" 129 } 130 ] 131 }, 132 "TransformJobCompletedOrStopped": { 133 "delay": 60, 134 "maxAttempts": 60, 135 "operation": "DescribeTransformJob", 136 "acceptors": [ 137 { 138 "expected": "Completed", 139 "matcher": "path", 140 "state": "success", 141 "argument": "TransformJobStatus" 142 }, 143 { 144 "expected": "Stopped", 145 "matcher": "path", 146 "state": "success", 147 "argument": "TransformJobStatus" 148 }, 149 { 150 "expected": "Failed", 151 "matcher": "path", 152 "state": "failure", 153 "argument": "TransformJobStatus" 154 }, 155 { 156 "expected": "ValidationException", 157 "matcher": "error", 158 "state": "failure" 159 } 160 ] 161 }, 162 "ProcessingJobCompletedOrStopped": { 163 "delay": 60, 164 "maxAttempts": 60, 165 "operation": "DescribeProcessingJob", 166 "acceptors": [ 167 { 168 "expected": "Completed", 169 "matcher": "path", 170 "state": "success", 171 "argument": "ProcessingJobStatus" 172 }, 173 { 174 "expected": "Stopped", 175 "matcher": "path", 176 "state": "success", 177 "argument": "ProcessingJobStatus" 178 }, 179 { 180 "expected": "Failed", 181 "matcher": "path", 182 "state": "failure", 183 "argument": "ProcessingJobStatus" 184 }, 185 { 186 "expected": "ValidationException", 187 "matcher": "error", 188 "state": "failure" 189 } 190 ] 191 }, 192 "ImageCreated": { 193 "delay": 60, 194 "maxAttempts": 60, 195 "operation": "DescribeImage", 196 "acceptors": [ 197 { 198 "expected": "CREATED", 199 "matcher": "path", 200 "state": "success", 201 "argument": "ImageStatus" 202 }, 203 { 204 "expected": "CREATE_FAILED", 205 "matcher": "path", 206 "state": "failure", 207 "argument": "ImageStatus" 208 }, 209 { 210 "expected": "ValidationException", 211 "matcher": "error", 212 "state": "failure" 213 } 214 ] 215 }, 216 "ImageUpdated": { 217 "delay": 60, 218 "maxAttempts": 60, 219 "operation": "DescribeImage", 220 "acceptors": [ 221 { 222 "expected": "CREATED", 223 "matcher": "path", 224 "state": "success", 225 "argument": "ImageStatus" 226 }, 227 { 228 "expected": "UPDATE_FAILED", 229 "matcher": "path", 230 "state": "failure", 231 "argument": "ImageStatus" 232 }, 233 { 234 "expected": "ValidationException", 235 "matcher": "error", 236 "state": "failure" 237 } 238 ] 239 }, 240 "ImageDeleted": { 241 "delay": 60, 242 "maxAttempts": 60, 243 "operation": "DescribeImage", 244 "acceptors": [ 245 { 246 "expected": "ResourceNotFoundException", 247 "matcher": "error", 248 "state": "success" 249 }, 250 { 251 "expected": "DELETE_FAILED", 252 "matcher": "path", 253 "state": "failure", 254 "argument": "ImageStatus" 255 }, 256 { 257 "expected": "ValidationException", 258 "matcher": "error", 259 "state": "failure" 260 } 261 ] 262 }, 263 "ImageVersionCreated": { 264 "delay": 60, 265 "maxAttempts": 60, 266 "operation": "DescribeImageVersion", 267 "acceptors": [ 268 { 269 "expected": "CREATED", 270 "matcher": "path", 271 "state": "success", 272 "argument": "ImageVersionStatus" 273 }, 274 { 275 "expected": "CREATE_FAILED", 276 "matcher": "path", 277 "state": "failure", 278 "argument": "ImageVersionStatus" 279 }, 280 { 281 "expected": "ValidationException", 282 "matcher": "error", 283 "state": "failure" 284 } 285 ] 286 }, 287 "ImageVersionDeleted": { 288 "delay": 60, 289 "maxAttempts": 60, 290 "operation": "DescribeImageVersion", 291 "acceptors": [ 292 { 293 "expected": "ResourceNotFoundException", 294 "matcher": "error", 295 "state": "success" 296 }, 297 { 298 "expected": "DELETE_FAILED", 299 "matcher": "path", 300 "state": "failure", 301 "argument": "ImageVersionStatus" 302 }, 303 { 304 "expected": "ValidationException", 305 "matcher": "error", 306 "state": "failure" 307 } 308 ] 309 } 310 } 311} 312