acm-pca-2017-08-22.waiters2.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  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. },
  22. "CertificateIssued": {
  23. "description": "Wait until a certificate is issued",
  24. "operation": "GetCertificate",
  25. "delay": 1,
  26. "maxAttempts": 60,
  27. "acceptors": [
  28. {
  29. "state": "success",
  30. "matcher": "status",
  31. "expected": 200
  32. },
  33. {
  34. "state": "retry",
  35. "matcher": "error",
  36. "expected": "RequestInProgressException"
  37. }
  38. ]
  39. },
  40. "AuditReportCreated": {
  41. "description": "Wait until a Audit Report is created",
  42. "operation": "DescribeCertificateAuthorityAuditReport",
  43. "delay": 3,
  44. "maxAttempts": 60,
  45. "acceptors": [
  46. {
  47. "state": "success",
  48. "matcher": "path",
  49. "argument": "AuditReportStatus",
  50. "expected": "SUCCESS"
  51. },
  52. {
  53. "state": "failure",
  54. "matcher": "path",
  55. "argument": "AuditReportStatus",
  56. "expected": "FAILED"
  57. }
  58. ]
  59. }
  60. }
  61. }