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 | }
|
193 | }
|