| 1 | { |
| 2 | "version" : 2, |
| 3 | "waiters" : { |
| 4 | "ContactScheduled" : { |
| 5 | "description" : "Waits until a contact has been scheduled", |
| 6 | "delay" : 5, |
| 7 | "maxAttempts" : 180, |
| 8 | "operation" : "DescribeContact", |
| 9 | "acceptors" : [ { |
| 10 | "matcher" : "path", |
| 11 | "argument" : "contactStatus", |
| 12 | "state" : "failure", |
| 13 | "expected" : "FAILED_TO_SCHEDULE" |
| 14 | }, { |
| 15 | "matcher" : "path", |
| 16 | "argument" : "contactStatus", |
| 17 | "state" : "success", |
| 18 | "expected" : "SCHEDULED" |
| 19 | } ] |
| 20 | } |
| 21 | } |
| 22 | } |