1{
2  "version": 2,
3  "waiters": {
4    "ChannelCreated": {
5      "description": "Wait until a channel has been created",
6      "operation": "DescribeChannel",
7      "delay": 3,
8      "maxAttempts": 5,
9      "acceptors": [
10        {
11          "state": "success",
12          "matcher": "path",
13          "argument": "State",
14          "expected": "IDLE"
15        },
16        {
17          "state": "retry",
18          "matcher": "path",
19          "argument": "State",
20          "expected": "CREATING"
21        },
22        {
23          "state": "retry",
24          "matcher": "status",
25          "expected": 500
26        },
27        {
28          "state": "failure",
29          "matcher": "path",
30          "argument": "State",
31          "expected": "CREATE_FAILED"
32        }
33      ]
34    },
35    "ChannelRunning": {
36      "description": "Wait until a channel is running",
37      "operation": "DescribeChannel",
38      "delay": 5,
39      "maxAttempts": 120,
40      "acceptors": [
41        {
42          "state": "success",
43          "matcher": "path",
44          "argument": "State",
45          "expected": "RUNNING"
46        },
47        {
48          "state": "retry",
49          "matcher": "path",
50          "argument": "State",
51          "expected": "STARTING"
52        },
53        {
54          "state": "retry",
55          "matcher": "status",
56          "expected": 500
57        }
58      ]
59    },
60    "ChannelStopped": {
61      "description": "Wait until a channel has is stopped",
62      "operation": "DescribeChannel",
63      "delay": 5,
64      "maxAttempts": 60,
65      "acceptors": [
66        {
67          "state": "success",
68          "matcher": "path",
69          "argument": "State",
70          "expected": "IDLE"
71        },
72        {
73          "state": "retry",
74          "matcher": "path",
75          "argument": "State",
76          "expected": "STOPPING"
77        },
78        {
79          "state": "retry",
80          "matcher": "status",
81          "expected": 500
82        }
83      ]
84    },
85    "ChannelDeleted": {
86      "description": "Wait until a channel has been deleted",
87      "operation": "DescribeChannel",
88      "delay": 5,
89      "maxAttempts": 84,
90      "acceptors": [
91        {
92          "state": "success",
93          "matcher": "path",
94          "argument": "State",
95          "expected": "DELETED"
96        },
97        {
98          "state": "retry",
99          "matcher": "path",
100          "argument": "State",
101          "expected": "DELETING"
102        },
103        {
104          "state": "retry",
105          "matcher": "status",
106          "expected": 500
107        }
108      ]
109    },
110    "InputAttached": {
111      "description": "Wait until an input has been attached",
112      "operation": "DescribeInput",
113      "delay": 5,
114      "maxAttempts": 20,
115      "acceptors": [
116        {
117          "state": "success",
118          "matcher": "path",
119          "argument": "State",
120          "expected": "ATTACHED"
121        },
122        {
123          "state": "retry",
124          "matcher": "path",
125          "argument": "State",
126          "expected": "DETACHED"
127        },
128        {
129          "state": "retry",
130          "matcher": "status",
131          "expected": 500
132        }
133      ]
134    },
135    "InputDetached": {
136      "description": "Wait until an input has been detached",
137      "operation": "DescribeInput",
138      "delay": 5,
139      "maxAttempts": 84,
140      "acceptors": [
141        {
142          "state": "success",
143          "matcher": "path",
144          "argument": "State",
145          "expected": "DETACHED"
146        },
147        {
148          "state": "retry",
149          "matcher": "path",
150          "argument": "State",
151          "expected": "CREATING"
152        },
153        {
154          "state": "retry",
155          "matcher": "path",
156          "argument": "State",
157          "expected": "ATTACHED"
158        },
159        {
160          "state": "retry",
161          "matcher": "status",
162          "expected": 500
163        }
164      ]
165    },
166    "InputDeleted": {
167      "description": "Wait until an input has been deleted",
168      "operation": "DescribeInput",
169      "delay": 5,
170      "maxAttempts": 20,
171      "acceptors": [
172        {
173          "state": "success",
174          "matcher": "path",
175          "argument": "State",
176          "expected": "DELETED"
177        },
178        {
179          "state": "retry",
180          "matcher": "path",
181          "argument": "State",
182          "expected": "DELETING"
183        },
184        {
185          "state": "retry",
186          "matcher": "status",
187          "expected": 500
188        }
189      ]
190    },
191    "MultiplexCreated": {
192      "description": "Wait until a multiplex has been created",
193      "operation": "DescribeMultiplex",
194      "delay": 3,
195      "maxAttempts": 5,
196      "acceptors": [
197        {
198          "state": "success",
199          "matcher": "path",
200          "argument": "State",
201          "expected": "IDLE"
202        },
203        {
204          "state": "retry",
205          "matcher": "path",
206          "argument": "State",
207          "expected": "CREATING"
208        },
209        {
210          "state": "retry",
211          "matcher": "status",
212          "expected": 500
213        },
214        {
215          "state": "failure",
216          "matcher": "path",
217          "argument": "State",
218          "expected": "CREATE_FAILED"
219        }
220      ]
221    },
222    "MultiplexRunning": {
223      "description": "Wait until a multiplex is running",
224      "operation": "DescribeMultiplex",
225      "delay": 5,
226      "maxAttempts": 120,
227      "acceptors": [
228        {
229          "state": "success",
230          "matcher": "path",
231          "argument": "State",
232          "expected": "RUNNING"
233        },
234        {
235          "state": "retry",
236          "matcher": "path",
237          "argument": "State",
238          "expected": "STARTING"
239        },
240        {
241          "state": "retry",
242          "matcher": "status",
243          "expected": 500
244        }
245      ]
246    },
247    "MultiplexStopped": {
248      "description": "Wait until a multiplex has is stopped",
249      "operation": "DescribeMultiplex",
250      "delay": 5,
251      "maxAttempts": 28,
252      "acceptors": [
253        {
254          "state": "success",
255          "matcher": "path",
256          "argument": "State",
257          "expected": "IDLE"
258        },
259        {
260          "state": "retry",
261          "matcher": "path",
262          "argument": "State",
263          "expected": "STOPPING"
264        },
265        {
266          "state": "retry",
267          "matcher": "status",
268          "expected": 500
269        }
270      ]
271    },
272    "MultiplexDeleted": {
273      "description": "Wait until a multiplex has been deleted",
274      "operation": "DescribeMultiplex",
275      "delay": 5,
276      "maxAttempts": 20,
277      "acceptors": [
278        {
279          "state": "success",
280          "matcher": "path",
281          "argument": "State",
282          "expected": "DELETED"
283        },
284        {
285          "state": "retry",
286          "matcher": "path",
287          "argument": "State",
288          "expected": "DELETING"
289        },
290        {
291          "state": "retry",
292          "matcher": "status",
293          "expected": 500
294        }
295      ]
296    }
297  }
298}
299