Skip to content

Commit

Permalink
Merge pull request #836 from slpsys/add_waiter_cluster_restored
Browse files Browse the repository at this point in the history
Adding Redshift waiter: ClusterRestored
  • Loading branch information
trevorrowe committed Jun 11, 2015
2 parents 8d97c69 + c0d590a commit 9f98245
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions aws-sdk-core/apis/redshift/2012-12-01/waiters-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,25 @@
}
]
},
"ClusterRestored": {
"operation": "DescribeClusters",
"maxAttempts": 30,
"delay": 60,
"acceptors": [
{
"state": "success",
"matcher": "pathAll",
"argument": "Clusters[].RestoreStatus.Status",
"expected": "completed"
},
{
"state": "failure",
"matcher": "pathAny",
"argument": "Clusters[].ClusterStatus",
"expected": "deleting"
}
]
},
"SnapshotAvailable": {
"operation": "DescribeClusterSnapshots",
"maxAttempts": 20,
Expand Down

0 comments on commit 9f98245

Please sign in to comment.