1
1
{
2
- "version" : 2 ,
3
- "waiters" : {
4
- "AuditReportCreated" : {
5
- "description" : " Wait until a Audit Report is created" ,
6
- "delay" : 3 ,
7
- "maxAttempts" : 40 ,
8
- "operation" : " DescribeCertificateAuthorityAuditReport" ,
9
- "acceptors" : [ {
10
- "matcher" : " path" ,
11
- "argument" : " AuditReportStatus" ,
12
- "state" : " success" ,
13
- "expected" : " SUCCESS"
14
- }, {
15
- "matcher" : " path" ,
16
- "argument" : " AuditReportStatus" ,
17
- "state" : " failure" ,
18
- "expected" : " FAILED"
19
- }, {
20
- "matcher" : " error" ,
21
- "state" : " failure" ,
22
- "expected" : " AccessDeniedException"
23
- } ]
24
- },
25
- "CertificateAuthorityCSRCreated" : {
26
- "description" : " Wait until a Certificate Authority CSR is created" ,
27
- "delay" : 3 ,
28
- "maxAttempts" : 40 ,
29
- "operation" : " GetCertificateAuthorityCsr" ,
30
- "acceptors" : [ {
31
- "matcher" : " error" ,
32
- "state" : " success" ,
33
- "expected" : false
34
- }, {
35
- "matcher" : " error" ,
36
- "state" : " retry" ,
37
- "expected" : " RequestInProgressException"
38
- }, {
39
- "matcher" : " error" ,
40
- "state" : " failure" ,
41
- "expected" : " AccessDeniedException"
42
- } ]
43
- },
44
- "CertificateIssued" : {
45
- "description" : " Wait until a certificate is issued" ,
46
- "delay" : 1 ,
47
- "maxAttempts" : 120 ,
48
- "operation" : " GetCertificate" ,
49
- "acceptors" : [ {
50
- "matcher" : " error" ,
51
- "state" : " success" ,
52
- "expected" : false
53
- }, {
54
- "matcher" : " error" ,
55
- "state" : " retry" ,
56
- "expected" : " RequestInProgressException"
57
- }, {
58
- "matcher" : " error" ,
59
- "state" : " failure" ,
60
- "expected" : " AccessDeniedException"
61
- } ]
2
+ "version" : 2 ,
3
+ "waiters" : {
4
+ "CertificateAuthorityCSRCreated" : {
5
+ "description" : " Wait until a Certificate Authority CSR is created" ,
6
+ "operation" : " GetCertificateAuthorityCsr" ,
7
+ "delay" : 3 ,
8
+ "maxAttempts" : 60 ,
9
+ "acceptors" : [
10
+ {
11
+ "state" : " success" ,
12
+ "matcher" : " status" ,
13
+ "expected" : 200
14
+ },
15
+ {
16
+ "state" : " retry" ,
17
+ "matcher" : " error" ,
18
+ "expected" : " RequestInProgressException"
19
+ },
20
+ {
21
+ "state" : " failure" ,
22
+ "matcher" : " error" ,
23
+ "expected" : " AccessDeniedException"
24
+ }
25
+ ]
26
+ },
27
+ "CertificateIssued" : {
28
+ "description" : " Wait until a certificate is issued" ,
29
+ "operation" : " GetCertificate" ,
30
+ "delay" : 1 ,
31
+ "maxAttempts" : 60 ,
32
+ "acceptors" : [
33
+ {
34
+ "state" : " success" ,
35
+ "matcher" : " status" ,
36
+ "expected" : 200
37
+ },
38
+ {
39
+ "state" : " retry" ,
40
+ "matcher" : " error" ,
41
+ "expected" : " RequestInProgressException"
42
+ },
43
+ {
44
+ "state" : " failure" ,
45
+ "matcher" : " error" ,
46
+ "expected" : " AccessDeniedException"
47
+ }
48
+ ]
49
+ },
50
+ "AuditReportCreated" : {
51
+ "description" : " Wait until a Audit Report is created" ,
52
+ "operation" : " DescribeCertificateAuthorityAuditReport" ,
53
+ "delay" : 3 ,
54
+ "maxAttempts" : 60 ,
55
+ "acceptors" : [
56
+ {
57
+ "state" : " success" ,
58
+ "matcher" : " path" ,
59
+ "argument" : " AuditReportStatus" ,
60
+ "expected" : " SUCCESS"
61
+ },
62
+ {
63
+ "state" : " failure" ,
64
+ "matcher" : " path" ,
65
+ "argument" : " AuditReportStatus" ,
66
+ "expected" : " FAILED"
67
+ },
68
+ {
69
+ "state" : " failure" ,
70
+ "matcher" : " error" ,
71
+ "expected" : " AccessDeniedException"
72
+ }
73
+ ]
74
+ }
62
75
}
63
- }
64
- }
76
+ }
0 commit comments