Skip to content

Commit

Permalink
Add waiters for elasticache
Browse files Browse the repository at this point in the history
  • Loading branch information
Jc2k committed Jan 26, 2015
1 parent 4a2163f commit 8c5987c
Showing 1 changed file with 139 additions and 0 deletions.
139 changes: 139 additions & 0 deletions botocore/data/aws/elasticache/2014-09-30.waiters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"version": 2,
"waiters": {
"CacheClusterAvailable": {
"delay": 30,
"operation": "DescribeCacheClusters",
"maxAttempts": 60,
"acceptors": [
{
"expected": "available",
"matcher": "pathAll",
"state": "success",
"argument": "CacheClusters[].CacheClusterStatus"
},
{
"expected": "deleted",
"matcher": "pathAny",
"state": "failure",
"argument": "CacheClusters[].CacheClusterStatus"
},
{
"expected": "deleting",
"matcher": "pathAny",
"state": "failure",
"argument": "CacheClusters[].CacheClusterStatus"
},
{
"expected": "incompatible-network",
"matcher": "pathAny",
"state": "failure",
"argument": "CacheClusters[].CacheClusterStatus"
},
{
"expected": "restore-failed",
"matcher": "pathAny",
"state": "failure",
"argument": "CacheClusters[].CacheClusterStatus"
}
]
},
"CacheClusterDeleted": {
"delay": 30,
"operation": "DescribeCacheClusters",
"maxAttempts": 60,
"acceptors": [
{
"expected": 404,
"matcher": "status",
"state": "success"
},
{
"expected": "creating",
"matcher": "pathAny",
"state": "failure",
"argument": "CacheClusters[].CacheClusterStatus"
},
{
"expected": "modifying",
"matcher": "pathAny",
"state": "failure",
"argument": "CacheClusters[].CacheClusterStatus"
},
{
"expected": "rebooting",
"matcher": "pathAny",
"state": "failure",
"argument": "CacheClusters[].CacheClusterStatus"
}
]
},
"ReplicationGroupAvailable": {
"delay": 30,
"operation": "DescribeReplicationGroups",
"maxAttempts": 60,
"acceptors": [
{
"expected": "available",
"matcher": "pathAll",
"state": "success",
"argument": "ReplicationGroups[].Status"
},
{
"expected": "deleted",
"matcher": "pathAny",
"state": "failure",
"argument": "ReplicationGroups[].Status"
},
{
"expected": "deleting",
"matcher": "pathAny",
"state": "failure",
"argument": "ReplicationGroups[].Status"
},
{
"expected": "incompatible-network",
"matcher": "pathAny",
"state": "failure",
"argument": "ReplicationGroups[].Status"
},
{
"expected": "restore-failed",
"matcher": "pathAny",
"state": "failure",
"argument": "ReplicationGroups[].Status"
}
]
},
"ReplicationGroupDeleted": {
"delay": 30,
"operation": "DescribeReplicationGroups",
"maxAttempts": 60,
"acceptors": [
{
"expected": 404,
"matcher": "status",
"state": "success"
},
{
"expected": "creating",
"matcher": "pathAny",
"state": "failure",
"argument": "ReplicationGroups[].Status"
},
{
"expected": "modifying",
"matcher": "pathAny",
"state": "failure",
"argument": "ReplicationGroups[].Status"
},
{
"expected": "rebooting",
"matcher": "pathAny",
"state": "failure",
"argument": "ReplicationGroups[].Status"
}
]
}
}
}

0 comments on commit 8c5987c

Please sign in to comment.