iam-2010-05-08.waiters2.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. }