1 | {
|
2 | "version":2,
|
3 | "waiters":{
|
4 | "TestConnectionSucceeds":{
|
5 | "acceptors":[
|
6 | {
|
7 | "argument":"Connections[].Status",
|
8 | "expected":"successful",
|
9 | "matcher":"pathAll",
|
10 | "state":"success"
|
11 | },
|
12 | {
|
13 | "argument":"Connections[].Status",
|
14 | "expected":"failed",
|
15 | "matcher":"pathAny",
|
16 | "state":"failure"
|
17 | }
|
18 | ],
|
19 | "delay":5,
|
20 | "description":"Wait until testing connection succeeds.",
|
21 | "maxAttempts":60,
|
22 | "operation":"DescribeConnections"
|
23 | },
|
24 | "EndpointDeleted":{
|
25 | "acceptors":[
|
26 | {
|
27 | "expected":"ResourceNotFoundFault",
|
28 | "matcher":"error",
|
29 | "state":"success"
|
30 | },
|
31 | {
|
32 | "argument":"Endpoints[].Status",
|
33 | "expected":"active",
|
34 | "matcher":"pathAny",
|
35 | "state":"failure"
|
36 | },
|
37 | {
|
38 | "argument":"Endpoints[].Status",
|
39 | "expected":"creating",
|
40 | "matcher":"pathAny",
|
41 | "state":"failure"
|
42 | }
|
43 | ],
|
44 | "delay":5,
|
45 | "description":"Wait until testing endpoint is deleted.",
|
46 | "maxAttempts":60,
|
47 | "operation":"DescribeEndpoints"
|
48 | },
|
49 | "ReplicationInstanceAvailable":{
|
50 | "acceptors":[
|
51 | {
|
52 | "argument":"ReplicationInstances[].ReplicationInstanceStatus",
|
53 | "expected":"available",
|
54 | "matcher":"pathAll",
|
55 | "state":"success"
|
56 | },
|
57 | {
|
58 | "argument":"ReplicationInstances[].ReplicationInstanceStatus",
|
59 | "expected":"deleting",
|
60 | "matcher":"pathAny",
|
61 | "state":"failure"
|
62 | },
|
63 | {
|
64 | "argument":"ReplicationInstances[].ReplicationInstanceStatus",
|
65 | "expected":"incompatible-credentials",
|
66 | "matcher":"pathAny",
|
67 | "state":"failure"
|
68 | },
|
69 | {
|
70 | "argument":"ReplicationInstances[].ReplicationInstanceStatus",
|
71 | "expected":"incompatible-network",
|
72 | "matcher":"pathAny",
|
73 | "state":"failure"
|
74 | },
|
75 | {
|
76 | "argument":"ReplicationInstances[].ReplicationInstanceStatus",
|
77 | "expected":"inaccessible-encryption-credentials",
|
78 | "matcher":"pathAny",
|
79 | "state":"failure"
|
80 | }
|
81 | ],
|
82 | "delay":60,
|
83 | "description":"Wait until DMS replication instance is available.",
|
84 | "maxAttempts":60,
|
85 | "operation":"DescribeReplicationInstances"
|
86 | },
|
87 | "ReplicationInstanceDeleted":{
|
88 | "acceptors":[
|
89 | {
|
90 | "argument":"ReplicationInstances[].ReplicationInstanceStatus",
|
91 | "expected":"available",
|
92 | "matcher":"pathAny",
|
93 | "state":"failure"
|
94 | },
|
95 | {
|
96 | "expected":"ResourceNotFoundFault",
|
97 | "matcher":"error",
|
98 | "state":"success"
|
99 | }
|
100 | ],
|
101 | "delay":15,
|
102 | "description":"Wait until DMS replication instance is deleted.",
|
103 | "maxAttempts":60,
|
104 | "operation":"DescribeReplicationInstances"
|
105 | },
|
106 | "ReplicationTaskReady":{
|
107 | "acceptors":[
|
108 | {
|
109 | "argument":"ReplicationTasks[].Status",
|
110 | "expected":"ready",
|
111 | "matcher":"pathAll",
|
112 | "state":"success"
|
113 | },
|
114 | {
|
115 | "argument":"ReplicationTasks[].Status",
|
116 | "expected":"starting",
|
117 | "matcher":"pathAny",
|
118 | "state":"failure"
|
119 | },
|
120 | {
|
121 | "argument":"ReplicationTasks[].Status",
|
122 | "expected":"running",
|
123 | "matcher":"pathAny",
|
124 | "state":"failure"
|
125 | },
|
126 | {
|
127 | "argument":"ReplicationTasks[].Status",
|
128 | "expected":"stopping",
|
129 | "matcher":"pathAny",
|
130 | "state":"failure"
|
131 | },
|
132 | {
|
133 | "argument":"ReplicationTasks[].Status",
|
134 | "expected":"stopped",
|
135 | "matcher":"pathAny",
|
136 | "state":"failure"
|
137 | },
|
138 | {
|
139 | "argument":"ReplicationTasks[].Status",
|
140 | "expected":"failed",
|
141 | "matcher":"pathAny",
|
142 | "state":"failure"
|
143 | },
|
144 | {
|
145 | "argument":"ReplicationTasks[].Status",
|
146 | "expected":"modifying",
|
147 | "matcher":"pathAny",
|
148 | "state":"failure"
|
149 | },
|
150 | {
|
151 | "argument":"ReplicationTasks[].Status",
|
152 | "expected":"testing",
|
153 | "matcher":"pathAny",
|
154 | "state":"failure"
|
155 | },
|
156 | {
|
157 | "argument":"ReplicationTasks[].Status",
|
158 | "expected":"deleting",
|
159 | "matcher":"pathAny",
|
160 | "state":"failure"
|
161 | }
|
162 | ],
|
163 | "delay":15,
|
164 | "description":"Wait until DMS replication task is ready.",
|
165 | "maxAttempts":60,
|
166 | "operation":"DescribeReplicationTasks"
|
167 | },
|
168 | "ReplicationTaskStopped":{
|
169 | "acceptors":[
|
170 | {
|
171 | "argument":"ReplicationTasks[].Status",
|
172 | "expected":"stopped",
|
173 | "matcher":"pathAll",
|
174 | "state":"success"
|
175 | },
|
176 | {
|
177 | "argument":"ReplicationTasks[].Status",
|
178 | "expected":"ready",
|
179 | "matcher":"pathAny",
|
180 | "state":"failure"
|
181 | },
|
182 | {
|
183 | "argument":"ReplicationTasks[].Status",
|
184 | "expected":"creating",
|
185 | "matcher":"pathAny",
|
186 | "state":"failure"
|
187 | },
|
188 | {
|
189 | "argument":"ReplicationTasks[].Status",
|
190 | "expected":"starting",
|
191 | "matcher":"pathAny",
|
192 | "state":"failure"
|
193 | },
|
194 | {
|
195 | "argument":"ReplicationTasks[].Status",
|
196 | "expected":"running",
|
197 | "matcher":"pathAny",
|
198 | "state":"failure"
|
199 | },
|
200 | {
|
201 | "argument":"ReplicationTasks[].Status",
|
202 | "expected":"failed",
|
203 | "matcher":"pathAny",
|
204 | "state":"failure"
|
205 | },
|
206 | {
|
207 | "argument":"ReplicationTasks[].Status",
|
208 | "expected":"modifying",
|
209 | "matcher":"pathAny",
|
210 | "state":"failure"
|
211 | },
|
212 | {
|
213 | "argument":"ReplicationTasks[].Status",
|
214 | "expected":"testing",
|
215 | "matcher":"pathAny",
|
216 | "state":"failure"
|
217 | },
|
218 | {
|
219 | "argument":"ReplicationTasks[].Status",
|
220 | "expected":"deleting",
|
221 | "matcher":"pathAny",
|
222 | "state":"failure"
|
223 | }
|
224 | ],
|
225 | "delay":15,
|
226 | "description":"Wait until DMS replication task is stopped.",
|
227 | "maxAttempts":60,
|
228 | "operation":"DescribeReplicationTasks"
|
229 | },
|
230 | "ReplicationTaskRunning":{
|
231 | "acceptors":[
|
232 | {
|
233 | "argument":"ReplicationTasks[].Status",
|
234 | "expected":"running",
|
235 | "matcher":"pathAll",
|
236 | "state":"success"
|
237 | },
|
238 | {
|
239 | "argument":"ReplicationTasks[].Status",
|
240 | "expected":"ready",
|
241 | "matcher":"pathAny",
|
242 | "state":"failure"
|
243 | },
|
244 | {
|
245 | "argument":"ReplicationTasks[].Status",
|
246 | "expected":"creating",
|
247 | "matcher":"pathAny",
|
248 | "state":"failure"
|
249 | },
|
250 | {
|
251 | "argument":"ReplicationTasks[].Status",
|
252 | "expected":"stopping",
|
253 | "matcher":"pathAny",
|
254 | "state":"failure"
|
255 | },
|
256 | {
|
257 | "argument":"ReplicationTasks[].Status",
|
258 | "expected":"stopped",
|
259 | "matcher":"pathAny",
|
260 | "state":"failure"
|
261 | },
|
262 | {
|
263 | "argument":"ReplicationTasks[].Status",
|
264 | "expected":"failed",
|
265 | "matcher":"pathAny",
|
266 | "state":"failure"
|
267 | },
|
268 | {
|
269 | "argument":"ReplicationTasks[].Status",
|
270 | "expected":"modifying",
|
271 | "matcher":"pathAny",
|
272 | "state":"failure"
|
273 | },
|
274 | {
|
275 | "argument":"ReplicationTasks[].Status",
|
276 | "expected":"testing",
|
277 | "matcher":"pathAny",
|
278 | "state":"failure"
|
279 | },
|
280 | {
|
281 | "argument":"ReplicationTasks[].Status",
|
282 | "expected":"deleting",
|
283 | "matcher":"pathAny",
|
284 | "state":"failure"
|
285 | }
|
286 | ],
|
287 | "delay":15,
|
288 | "description":"Wait until DMS replication task is running.",
|
289 | "maxAttempts":60,
|
290 | "operation":"DescribeReplicationTasks"
|
291 | },
|
292 | "ReplicationTaskDeleted":{
|
293 | "acceptors":[
|
294 | {
|
295 | "argument":"ReplicationTasks[].Status",
|
296 | "expected":"ready",
|
297 | "matcher":"pathAny",
|
298 | "state":"failure"
|
299 | },
|
300 | {
|
301 | "argument":"ReplicationTasks[].Status",
|
302 | "expected":"creating",
|
303 | "matcher":"pathAny",
|
304 | "state":"failure"
|
305 | },
|
306 | {
|
307 | "argument":"ReplicationTasks[].Status",
|
308 | "expected":"stopped",
|
309 | "matcher":"pathAny",
|
310 | "state":"failure"
|
311 | },
|
312 | {
|
313 | "argument":"ReplicationTasks[].Status",
|
314 | "expected":"running",
|
315 | "matcher":"pathAny",
|
316 | "state":"failure"
|
317 | },
|
318 | {
|
319 | "argument":"ReplicationTasks[].Status",
|
320 | "expected":"failed",
|
321 | "matcher":"pathAny",
|
322 | "state":"failure"
|
323 | },
|
324 | {
|
325 | "expected":"ResourceNotFoundFault",
|
326 | "matcher":"error",
|
327 | "state":"success"
|
328 | }
|
329 | ],
|
330 | "delay":15,
|
331 | "description":"Wait until DMS replication task is deleted.",
|
332 | "maxAttempts":60,
|
333 | "operation":"DescribeReplicationTasks"
|
334 | }
|
335 | }
|
336 | }
|