iotsitewise-2019-12-02.waiters2.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "version": 2,
  3. "waiters": {
  4. "AssetModelNotExists": {
  5. "delay": 3,
  6. "maxAttempts": 20,
  7. "operation": "DescribeAssetModel",
  8. "acceptors": [
  9. {
  10. "state": "success",
  11. "matcher": "error",
  12. "expected": "ResourceNotFoundException"
  13. }
  14. ]
  15. },
  16. "AssetModelActive": {
  17. "delay": 3,
  18. "maxAttempts": 20,
  19. "operation": "DescribeAssetModel",
  20. "acceptors": [
  21. {
  22. "state": "success",
  23. "matcher": "path",
  24. "argument": "assetModelStatus.state",
  25. "expected": "ACTIVE"
  26. },
  27. {
  28. "state": "failure",
  29. "matcher": "path",
  30. "argument": "assetModelStatus.state",
  31. "expected": "FAILED"
  32. }
  33. ]
  34. },
  35. "AssetNotExists": {
  36. "delay": 3,
  37. "maxAttempts": 20,
  38. "operation": "DescribeAsset",
  39. "acceptors": [
  40. {
  41. "state": "success",
  42. "matcher": "error",
  43. "expected": "ResourceNotFoundException"
  44. }
  45. ]
  46. },
  47. "AssetActive": {
  48. "delay": 3,
  49. "maxAttempts": 20,
  50. "operation": "DescribeAsset",
  51. "acceptors": [
  52. {
  53. "state": "success",
  54. "matcher": "path",
  55. "argument": "assetStatus.state",
  56. "expected": "ACTIVE"
  57. },
  58. {
  59. "state": "failure",
  60. "matcher": "path",
  61. "argument": "assetStatus.state",
  62. "expected": "FAILED"
  63. }
  64. ]
  65. },
  66. "PortalNotExists": {
  67. "delay": 3,
  68. "maxAttempts": 20,
  69. "operation": "DescribePortal",
  70. "acceptors": [
  71. {
  72. "state": "success",
  73. "matcher": "error",
  74. "expected": "ResourceNotFoundException"
  75. }
  76. ]
  77. },
  78. "PortalActive": {
  79. "delay": 3,
  80. "maxAttempts": 20,
  81. "operation": "DescribePortal",
  82. "acceptors": [
  83. {
  84. "state": "success",
  85. "matcher": "path",
  86. "argument": "portalStatus.state",
  87. "expected": "ACTIVE"
  88. }
  89. ]
  90. }
  91. }
  92. }