Skip to content

Commit

Permalink
Added ELB instance deregistered waiter.
Browse files Browse the repository at this point in the history
Fixes #793
  • Loading branch information
trevorrowe committed Aug 28, 2015
1 parent aa3dbee commit b83bd50
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

* Feature - Aws::ElasticLoadBalancing - Added a waiter that will poll
until an instance has been deregistered.

See [related GitHub issue #793](https://github.com/aws/aws-sdk-ruby/issues/793).

* Issue - Aws::EC2 - Added a missing `#load` method for
`Aws::EC2::NetworkInterfaceAssociation`.

Expand Down
18 changes: 18 additions & 0 deletions aws-sdk-core/apis/elasticloadbalancing/2012-06-01/waiters-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@
}
]
},
"InstanceDeregistered": {
"delay": 15,
"operation": "DescribeInstanceHealth",
"maxAttempts": 40,
"acceptors": [
{
"expected": "OutOfService",
"matcher": "pathAll",
"state": "success",
"argument": "InstanceStates[].State"
},
{
"matcher": "error",
"expected": "InvalidInstance",
"state": "success"
}
]
},
"AnyInstanceInService": {
"delay": 15,
"operation": "DescribeInstanceHealth",
Expand Down

0 comments on commit b83bd50

Please sign in to comment.