{
  "version" : 2,
  "waiters" : {
    "ContactScheduled" : {
      "description" : "Waits until a contact has been scheduled",
      "delay" : 5,
      "maxAttempts" : 180,
      "operation" : "DescribeContact",
      "acceptors" : [ {
        "matcher" : "path",
        "argument" : "contactStatus",
        "state" : "failure",
        "expected" : "FAILED_TO_SCHEDULE"
      }, {
        "matcher" : "path",
        "argument" : "contactStatus",
        "state" : "success",
        "expected" : "SCHEDULED"
      } ]
    },
    "ContactUpdated" : {
      "description" : "Waits until a contact has been updated",
      "delay" : 5,
      "maxAttempts" : 180,
      "operation" : "DescribeContactVersion",
      "acceptors" : [ {
        "matcher" : "path",
        "argument" : "version.status",
        "state" : "failure",
        "expected" : "FAILED_TO_UPDATE"
      }, {
        "matcher" : "path",
        "argument" : "version.status",
        "state" : "success",
        "expected" : "ACTIVE"
      } ]
    }
  }
}