123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- {
- "version": 2,
- "waiters": {
- "FlowActive": {
- "description": "Wait until a flow is active",
- "operation": "DescribeFlow",
- "delay": 3,
- "maxAttempts": 40,
- "acceptors": [
- {
- "state": "success",
- "matcher": "path",
- "argument": "Flow.Status",
- "expected": "ACTIVE"
- },
- {
- "state": "retry",
- "matcher": "path",
- "argument": "Flow.Status",
- "expected": "STARTING"
- },
- {
- "state": "retry",
- "matcher": "path",
- "argument": "Flow.Status",
- "expected": "UPDATING"
- },
- {
- "state": "retry",
- "matcher": "status",
- "expected": 500
- },
- {
- "state": "retry",
- "matcher": "status",
- "expected": 503
- },
- {
- "state": "failure",
- "matcher": "path",
- "argument": "Flow.Status",
- "expected": "ERROR"
- }
- ]
- },
- "FlowStandby": {
- "description": "Wait until a flow is in standby mode",
- "operation": "DescribeFlow",
- "delay": 3,
- "maxAttempts": 40,
- "acceptors": [
- {
- "state": "success",
- "matcher": "path",
- "argument": "Flow.Status",
- "expected": "STANDBY"
- },
- {
- "state": "retry",
- "matcher": "path",
- "argument": "Flow.Status",
- "expected": "STOPPING"
- },
- {
- "state": "retry",
- "matcher": "status",
- "expected": 500
- },
- {
- "state": "retry",
- "matcher": "status",
- "expected": 503
- },
- {
- "state": "failure",
- "matcher": "path",
- "argument": "Flow.Status",
- "expected": "ERROR"
- }
- ]
- },
- "FlowDeleted": {
- "description": "Wait until a flow is deleted",
- "operation": "DescribeFlow",
- "delay": 3,
- "maxAttempts": 40,
- "acceptors": [
- {
- "state": "success",
- "matcher": "status",
- "expected": 404
- },
- {
- "state": "retry",
- "matcher": "path",
- "argument": "Flow.Status",
- "expected": "DELETING"
- },
- {
- "state": "retry",
- "matcher": "status",
- "expected": 500
- },
- {
- "state": "retry",
- "matcher": "status",
- "expected": 503
- },
- {
- "state": "failure",
- "matcher": "path",
- "argument": "Flow.Status",
- "expected": "ERROR"
- }
- ]
- }
- }
- }
|