1{
2    "version": 2,
3    "waiters":
4    {
5        "RepositoryAssociationSucceeded":
6        {
7            "description": "Wait until a repository association is complete.",
8            "operation": "DescribeRepositoryAssociation",
9            "delay": 10,
10            "maxAttempts": 30,
11            "acceptors": [
12            {
13                "state": "success",
14                "matcher": "path",
15                "argument": "RepositoryAssociation.State",
16                "expected": "Associated"
17            },
18            {
19                "state": "failure",
20                "matcher": "path",
21                "argument": "RepositoryAssociation.State",
22                "expected": "Failed"
23            },
24            {
25                "state": "retry",
26                "matcher": "path",
27                "argument": "RepositoryAssociation.State",
28                "expected": "Associating"
29            }]
30        },
31        "CodeReviewCompleted":
32        {
33            "description": "Wait until a code review is complete.",
34            "operation": "DescribeCodeReview",
35            "delay": 10,
36            "maxAttempts": 180,
37            "acceptors": [
38            {
39                "state": "success",
40                "matcher": "path",
41                "argument": "CodeReview.State",
42                "expected": "Completed"
43            },
44            {
45                "state": "failure",
46                "matcher": "path",
47                "argument": "CodeReview.State",
48                "expected": "Failed"
49            },
50            {
51                "state": "retry",
52                "matcher": "path",
53                "argument": "CodeReview.State",
54                "expected": "Pending"
55            }]
56        }
57    }
58}