1{
2  "version": 2,
3  "waiters": {
4    "VaultExists": {
5      "operation": "DescribeVault",
6      "delay": 3,
7      "maxAttempts": 15,
8      "acceptors": [
9        {
10          "state": "success",
11          "matcher": "status",
12          "expected": 200
13        },
14        {
15          "state": "retry",
16          "matcher": "error",
17          "expected": "ResourceNotFoundException"
18        }
19      ]
20    },
21    "VaultNotExists": {
22      "operation": "DescribeVault",
23      "delay": 3,
24      "maxAttempts": 15,
25      "acceptors": [
26        {
27          "state": "retry",
28          "matcher": "status",
29          "expected": 200
30        },
31        {
32          "state": "success",
33          "matcher": "error",
34          "expected": "ResourceNotFoundException"
35        }
36      ]
37    }
38  }
39}
40