xref: /aosp_15_r20/external/aws-sdk-java-v2/services/iam/src/main/resources/codegen-resources/waiters-2.json (revision 8a52c7834d808308836a99fc2a6e0ed8db339086)
1{
2  "version": 2,
3  "waiters": {
4    "InstanceProfileExists": {
5      "delay": 1,
6      "operation": "GetInstanceProfile",
7      "maxAttempts": 40,
8      "acceptors": [
9        {
10          "expected": 200,
11          "matcher": "status",
12          "state": "success"
13        },
14        {
15          "state": "retry",
16          "matcher": "status",
17          "expected": 404
18        }
19      ]
20    },
21    "UserExists": {
22      "delay": 1,
23      "operation": "GetUser",
24      "maxAttempts": 20,
25      "acceptors": [
26        {
27          "state": "success",
28          "matcher": "status",
29          "expected": 200
30        },
31        {
32          "state": "retry",
33          "matcher": "error",
34          "expected": "NoSuchEntity"
35        }
36      ]
37    },
38    "RoleExists": {
39      "delay": 1,
40      "operation": "GetRole",
41      "maxAttempts": 20,
42      "acceptors": [
43        {
44          "state": "success",
45          "matcher": "status",
46          "expected": 200
47        },
48        {
49          "state": "retry",
50          "matcher": "error",
51          "expected": "NoSuchEntity"
52        }
53      ]
54    },
55    "PolicyExists": {
56      "delay": 1,
57      "operation": "GetPolicy",
58      "maxAttempts": 20,
59      "acceptors": [
60        {
61          "state": "success",
62          "matcher": "status",
63          "expected": 200
64        },
65        {
66          "state": "retry",
67          "matcher": "error",
68          "expected": "NoSuchEntity"
69        }
70      ]
71    }
72  }
73}
74