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":"failed",
197                    "matcher":"pathAny",
198                    "state":"failure"
199                },
200                {
201                    "argument":"ReplicationTasks[].Status",
202                    "expected":"modifying",
203                    "matcher":"pathAny",
204                    "state":"failure"
205                },
206                {
207                    "argument":"ReplicationTasks[].Status",
208                    "expected":"testing",
209                    "matcher":"pathAny",
210                    "state":"failure"
211                },
212                {
213                    "argument":"ReplicationTasks[].Status",
214                    "expected":"deleting",
215                    "matcher":"pathAny",
216                    "state":"failure"
217                }
218            ],
219            "delay":15,
220            "description":"Wait until DMS replication task is stopped.",
221            "maxAttempts":60,
222            "operation":"DescribeReplicationTasks"
223        },
224        "ReplicationTaskRunning":{
225            "acceptors":[
226                {
227                    "argument":"ReplicationTasks[].Status",
228                    "expected":"running",
229                    "matcher":"pathAll",
230                    "state":"success"
231                },
232                {
233                    "argument":"ReplicationTasks[].Status",
234                    "expected":"ready",
235                    "matcher":"pathAny",
236                    "state":"failure"
237                },
238                {
239                    "argument":"ReplicationTasks[].Status",
240                    "expected":"creating",
241                    "matcher":"pathAny",
242                    "state":"failure"
243                },
244                {
245                    "argument":"ReplicationTasks[].Status",
246                    "expected":"stopping",
247                    "matcher":"pathAny",
248                    "state":"failure"
249                },
250                {
251                    "argument":"ReplicationTasks[].Status",
252                    "expected":"stopped",
253                    "matcher":"pathAny",
254                    "state":"failure"
255                },
256                {
257                    "argument":"ReplicationTasks[].Status",
258                    "expected":"failed",
259                    "matcher":"pathAny",
260                    "state":"failure"
261                },
262                {
263                    "argument":"ReplicationTasks[].Status",
264                    "expected":"modifying",
265                    "matcher":"pathAny",
266                    "state":"failure"
267                },
268                {
269                    "argument":"ReplicationTasks[].Status",
270                    "expected":"testing",
271                    "matcher":"pathAny",
272                    "state":"failure"
273                },
274                {
275                    "argument":"ReplicationTasks[].Status",
276                    "expected":"deleting",
277                    "matcher":"pathAny",
278                    "state":"failure"
279                }
280            ],
281            "delay":15,
282            "description":"Wait until DMS replication task is running.",
283            "maxAttempts":60,
284            "operation":"DescribeReplicationTasks"
285        },
286        "ReplicationTaskDeleted":{
287            "acceptors":[
288                {
289                    "argument":"ReplicationTasks[].Status",
290                    "expected":"ready",
291                    "matcher":"pathAny",
292                    "state":"failure"
293                },
294                {
295                    "argument":"ReplicationTasks[].Status",
296                    "expected":"creating",
297                    "matcher":"pathAny",
298                    "state":"failure"
299                },
300                {
301                    "argument":"ReplicationTasks[].Status",
302                    "expected":"stopped",
303                    "matcher":"pathAny",
304                    "state":"failure"
305                },
306                {
307                    "argument":"ReplicationTasks[].Status",
308                    "expected":"running",
309                    "matcher":"pathAny",
310                    "state":"failure"
311                },
312                {
313                    "argument":"ReplicationTasks[].Status",
314                    "expected":"failed",
315                    "matcher":"pathAny",
316                    "state":"failure"
317                },
318                {
319                    "expected":"ResourceNotFoundFault",
320                    "matcher":"error",
321                    "state":"success"
322                }
323            ],
324            "delay":15,
325            "description":"Wait until DMS replication task is deleted.",
326            "maxAttempts":60,
327            "operation":"DescribeReplicationTasks"
328        }
329    }
330}
331