2015-10-08 20:16:07 +02:00
|
|
|
{
|
2015-10-08 20:16:11 +02:00
|
|
|
"version": 2,
|
2015-10-08 20:16:07 +02:00
|
|
|
"waiters": {
|
|
|
|
"ClusterAvailable": {
|
2015-10-08 20:16:11 +02:00
|
|
|
"delay": 60,
|
|
|
|
"operation": "DescribeClusters",
|
|
|
|
"maxAttempts": 30,
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "available",
|
|
|
|
"matcher": "pathAll",
|
|
|
|
"state": "success",
|
|
|
|
"argument": "Clusters[].ClusterStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "deleting",
|
|
|
|
"matcher": "pathAny",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "Clusters[].ClusterStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "ClusterNotFound",
|
|
|
|
"matcher": "error",
|
|
|
|
"state": "retry"
|
|
|
|
}
|
2015-10-08 20:16:07 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"ClusterDeleted": {
|
2015-10-08 20:16:11 +02:00
|
|
|
"delay": 60,
|
|
|
|
"operation": "DescribeClusters",
|
|
|
|
"maxAttempts": 30,
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "ClusterNotFound",
|
|
|
|
"matcher": "error",
|
|
|
|
"state": "success"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "creating",
|
|
|
|
"matcher": "pathAny",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "Clusters[].ClusterStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "rebooting",
|
|
|
|
"matcher": "pathAny",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "Clusters[].ClusterStatus"
|
|
|
|
}
|
2015-10-08 20:16:07 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"SnapshotAvailable": {
|
2015-10-08 20:16:11 +02:00
|
|
|
"delay": 15,
|
2015-10-08 20:16:07 +02:00
|
|
|
"operation": "DescribeClusterSnapshots",
|
2015-10-08 20:16:11 +02:00
|
|
|
"maxAttempts": 20,
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "available",
|
|
|
|
"matcher": "pathAll",
|
|
|
|
"state": "success",
|
|
|
|
"argument": "Snapshots[].Status"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "failed",
|
|
|
|
"matcher": "pathAny",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "Snapshots[].Status"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "deleted",
|
|
|
|
"matcher": "pathAny",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "Snapshots[].Status"
|
|
|
|
}
|
2015-10-08 20:16:07 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|