1{
2  "version": 2,
3  "waiters": {
4    "DataSourceAvailable": {
5      "delay": 30,
6      "operation": "DescribeDataSources",
7      "maxAttempts": 60,
8      "acceptors": [
9        {
10          "expected": "COMPLETED",
11          "matcher": "pathAll",
12          "state": "success",
13          "argument": "Results[].Status"
14        },
15        {
16          "expected": "FAILED",
17          "matcher": "pathAny",
18          "state": "failure",
19          "argument": "Results[].Status"
20        }
21      ]
22    },
23    "MLModelAvailable": {
24      "delay": 30,
25      "operation": "DescribeMLModels",
26      "maxAttempts": 60,
27      "acceptors": [
28        {
29          "expected": "COMPLETED",
30          "matcher": "pathAll",
31          "state": "success",
32          "argument": "Results[].Status"
33        },
34        {
35          "expected": "FAILED",
36          "matcher": "pathAny",
37          "state": "failure",
38          "argument": "Results[].Status"
39        }
40      ]
41    },
42    "EvaluationAvailable": {
43      "delay": 30,
44      "operation": "DescribeEvaluations",
45      "maxAttempts": 60,
46      "acceptors": [
47        {
48          "expected": "COMPLETED",
49          "matcher": "pathAll",
50          "state": "success",
51          "argument": "Results[].Status"
52        },
53        {
54          "expected": "FAILED",
55          "matcher": "pathAny",
56          "state": "failure",
57          "argument": "Results[].Status"
58        }
59      ]
60    },
61    "BatchPredictionAvailable": {
62      "delay": 30,
63      "operation": "DescribeBatchPredictions",
64      "maxAttempts": 60,
65      "acceptors": [
66        {
67          "expected": "COMPLETED",
68          "matcher": "pathAll",
69          "state": "success",
70          "argument": "Results[].Status"
71        },
72        {
73          "expected": "FAILED",
74          "matcher": "pathAny",
75          "state": "failure",
76          "argument": "Results[].Status"
77        }
78      ]
79    }
80  }
81}
82