xref: /aosp_15_r20/external/aws-sdk-java-v2/services/ecr/src/main/resources/codegen-resources/waiters-2.json (revision 8a52c7834d808308836a99fc2a6e0ed8db339086)
1{
2    "version": 2,
3    "waiters": {
4        "ImageScanComplete": {
5            "description": "Wait until an image scan is complete and findings can be accessed",
6            "operation": "DescribeImageScanFindings",
7            "delay": 5,
8            "maxAttempts": 60,
9            "acceptors": [
10                {
11                    "state": "success",
12                    "matcher": "path",
13                    "argument": "imageScanStatus.status",
14                    "expected": "COMPLETE"
15                },
16                {
17                    "state": "failure",
18                    "matcher": "path",
19                    "argument": "imageScanStatus.status",
20                    "expected": "FAILED"
21                }
22            ]
23        },
24        "LifecyclePolicyPreviewComplete": {
25            "description": "Wait until a lifecycle policy preview request is complete and results can be accessed",
26            "operation": "GetLifecyclePolicyPreview",
27            "delay": 5,
28            "maxAttempts": 20,
29            "acceptors": [
30                {
31                    "state": "success",
32                    "matcher": "path",
33                    "argument": "status",
34                    "expected": "COMPLETE"
35                },
36                {
37                    "state": "failure",
38                    "matcher": "path",
39                    "argument": "status",
40                    "expected": "FAILED"
41                }
42            ]
43        }
44    }
45}