1{
2  "version": 2,
3  "waiters": {
4    "FleetStarted": {
5      "delay": 30,
6      "maxAttempts": 40,
7      "operation": "DescribeFleets",
8      "acceptors": [
9        {
10          "state": "success",
11          "matcher": "pathAll",
12          "argument": "Fleets[].State",
13          "expected": "RUNNING"
14        },
15        {
16          "state": "failure",
17          "matcher": "pathAny",
18          "argument": "Fleets[].State",
19          "expected": "STOPPING"
20        },
21        {
22          "state": "failure",
23          "matcher": "pathAny",
24          "argument": "Fleets[].State",
25          "expected": "STOPPED"
26        }
27      ]
28    },
29    "FleetStopped": {
30      "delay": 30,
31      "maxAttempts": 40,
32      "operation": "DescribeFleets",
33      "acceptors": [
34        {
35          "state": "success",
36          "matcher": "pathAll",
37          "argument": "Fleets[].State",
38          "expected": "STOPPED"
39        },
40        {
41          "state": "failure",
42          "matcher": "pathAny",
43          "argument": "Fleets[].State",
44          "expected": "STARTING"
45        },
46        {
47          "state": "failure",
48          "matcher": "pathAny",
49          "argument": "Fleets[].State",
50          "expected": "RUNNING"
51        }
52      ]
53    }
54  }
55}