1{
2  "version": 2,
3  "waiters": {
4    "DBInstanceAvailable": {
5      "delay": 30,
6      "operation": "DescribeDBInstances",
7      "maxAttempts": 60,
8      "acceptors": [
9        {
10          "expected": "available",
11          "matcher": "pathAll",
12          "state": "success",
13          "argument": "DBInstances[].DBInstanceStatus"
14        },
15        {
16          "expected": "deleted",
17          "matcher": "pathAny",
18          "state": "failure",
19          "argument": "DBInstances[].DBInstanceStatus"
20        },
21        {
22          "expected": "deleting",
23          "matcher": "pathAny",
24          "state": "failure",
25          "argument": "DBInstances[].DBInstanceStatus"
26        },
27        {
28          "expected": "failed",
29          "matcher": "pathAny",
30          "state": "failure",
31          "argument": "DBInstances[].DBInstanceStatus"
32        },
33        {
34          "expected": "incompatible-restore",
35          "matcher": "pathAny",
36          "state": "failure",
37          "argument": "DBInstances[].DBInstanceStatus"
38        },
39        {
40          "expected": "incompatible-parameters",
41          "matcher": "pathAny",
42          "state": "failure",
43          "argument": "DBInstances[].DBInstanceStatus"
44        }
45      ]
46    },
47    "DBInstanceDeleted": {
48      "delay": 30,
49      "operation": "DescribeDBInstances",
50      "maxAttempts": 60,
51      "acceptors": [
52        {
53          "expected": true,
54          "matcher": "path",
55          "state": "success",
56          "argument": "length(DBInstances) == `0`"
57        },
58        {
59          "expected": "DBInstanceNotFound",
60          "matcher": "error",
61          "state": "success"
62        },
63        {
64          "expected": "creating",
65          "matcher": "pathAny",
66          "state": "failure",
67          "argument": "DBInstances[].DBInstanceStatus"
68        },
69        {
70          "expected": "modifying",
71          "matcher": "pathAny",
72          "state": "failure",
73          "argument": "DBInstances[].DBInstanceStatus"
74        },
75        {
76          "expected": "rebooting",
77          "matcher": "pathAny",
78          "state": "failure",
79          "argument": "DBInstances[].DBInstanceStatus"
80        },
81        {
82          "expected": "resetting-master-credentials",
83          "matcher": "pathAny",
84          "state": "failure",
85          "argument": "DBInstances[].DBInstanceStatus"
86        }
87      ]
88    },
89    "DBSnapshotAvailable": {
90      "delay": 30,
91      "operation": "DescribeDBSnapshots",
92      "maxAttempts": 60,
93      "acceptors": [
94        {
95          "expected": "available",
96          "matcher": "pathAll",
97          "state": "success",
98          "argument": "DBSnapshots[].Status"
99        },
100        {
101          "expected": "deleted",
102          "matcher": "pathAny",
103          "state": "failure",
104          "argument": "DBSnapshots[].Status"
105        },
106        {
107          "expected": "deleting",
108          "matcher": "pathAny",
109          "state": "failure",
110          "argument": "DBSnapshots[].Status"
111        },
112        {
113          "expected": "failed",
114          "matcher": "pathAny",
115          "state": "failure",
116          "argument": "DBSnapshots[].Status"
117        },
118        {
119          "expected": "incompatible-restore",
120          "matcher": "pathAny",
121          "state": "failure",
122          "argument": "DBSnapshots[].Status"
123        },
124        {
125          "expected": "incompatible-parameters",
126          "matcher": "pathAny",
127          "state": "failure",
128          "argument": "DBSnapshots[].Status"
129        }
130      ]
131    },
132    "DBSnapshotDeleted": {
133      "delay": 30,
134      "operation": "DescribeDBSnapshots",
135      "maxAttempts": 60,
136      "acceptors": [
137        {
138          "expected": true,
139          "matcher": "path",
140          "state": "success",
141          "argument": "length(DBSnapshots) == `0`"
142        },
143        {
144          "expected": "DBSnapshotNotFound",
145          "matcher": "error",
146          "state": "success"
147        },
148        {
149          "expected": "creating",
150          "matcher": "pathAny",
151          "state": "failure",
152          "argument": "DBSnapshots[].Status"
153        },
154        {
155          "expected": "modifying",
156          "matcher": "pathAny",
157          "state": "failure",
158          "argument": "DBSnapshots[].Status"
159        },
160        {
161          "expected": "rebooting",
162          "matcher": "pathAny",
163          "state": "failure",
164          "argument": "DBSnapshots[].Status"
165        },
166        {
167          "expected": "resetting-master-credentials",
168          "matcher": "pathAny",
169          "state": "failure",
170          "argument": "DBSnapshots[].Status"
171        }
172      ]
173    },
174    "DBClusterSnapshotAvailable": {
175      "delay": 30,
176      "operation": "DescribeDBClusterSnapshots",
177      "maxAttempts": 60,
178      "acceptors": [
179        {
180          "expected": "available",
181          "matcher": "pathAll",
182          "state": "success",
183          "argument": "DBClusterSnapshots[].Status"
184        },
185        {
186          "expected": "deleted",
187          "matcher": "pathAny",
188          "state": "failure",
189          "argument": "DBClusterSnapshots[].Status"
190        },
191        {
192          "expected": "deleting",
193          "matcher": "pathAny",
194          "state": "failure",
195          "argument": "DBClusterSnapshots[].Status"
196        },
197        {
198          "expected": "failed",
199          "matcher": "pathAny",
200          "state": "failure",
201          "argument": "DBClusterSnapshots[].Status"
202        },
203        {
204          "expected": "incompatible-restore",
205          "matcher": "pathAny",
206          "state": "failure",
207          "argument": "DBClusterSnapshots[].Status"
208        },
209        {
210          "expected": "incompatible-parameters",
211          "matcher": "pathAny",
212          "state": "failure",
213          "argument": "DBClusterSnapshots[].Status"
214        }
215      ]
216    },
217    "DBClusterSnapshotDeleted": {
218      "delay": 30,
219      "operation": "DescribeDBClusterSnapshots",
220      "maxAttempts": 60,
221      "acceptors": [
222        {
223          "expected": true,
224          "matcher": "path",
225          "state": "success",
226          "argument": "length(DBClusterSnapshots) == `0`"
227        },
228        {
229          "expected": "DBClusterSnapshotNotFoundFault",
230          "matcher": "error",
231          "state": "success"
232        },
233        {
234          "expected": "creating",
235          "matcher": "pathAny",
236          "state": "failure",
237          "argument": "DBClusterSnapshots[].Status"
238        },
239        {
240          "expected": "modifying",
241          "matcher": "pathAny",
242          "state": "failure",
243          "argument": "DBClusterSnapshots[].Status"
244        },
245        {
246          "expected": "rebooting",
247          "matcher": "pathAny",
248          "state": "failure",
249          "argument": "DBClusterSnapshots[].Status"
250        },
251        {
252          "expected": "resetting-master-credentials",
253          "matcher": "pathAny",
254          "state": "failure",
255          "argument": "DBClusterSnapshots[].Status"
256        }
257      ]
258    }
259  }
260}
261