Skip to content

Commit

Permalink
Aws::AutoScaling - Fixes for waiters and resources
Browse files Browse the repository at this point in the history
Fixes GitHub issues #1101 and #1109.
  • Loading branch information
awood45 committed Mar 1, 2016
1 parent e3a6976 commit ba2fba0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Unreleased Changes
------------------

* Issue - Aws::AutoScaling - Fixes the waiter and resource definitions.

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

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

2.2.20 (2016-02-25)
------------------

Expand Down
4 changes: 2 additions & 2 deletions aws-sdk-core/apis/autoscaling/2011-01-01/resources-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
{
"target": "Id",
"source": "response",
"path": "Activites[].ActivityId"
"path": "Activities[].ActivityId"
}
],
"path": "Activities[]"
Expand Down Expand Up @@ -591,7 +591,7 @@
{
"target": "Id",
"source": "response",
"path": "Activites[].ActivityId"
"path": "Activities[].ActivityId"
}
],
"path": "Activities[]"
Expand Down
28 changes: 14 additions & 14 deletions aws-sdk-core/apis/autoscaling/2011-01-01/waiters-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"GroupExists": {
"acceptors": [
{
"argument": "length(AutoScalingGroups)",
"expected": 1,
"matcher": "pathAll",
"argument": "length(AutoScalingGroups) > `0`",
"expected": true,
"matcher": "path",
"state": "success"
},
{
"argument": "length(AutoScalingGroups)",
"expected": 0,
"matcher": "pathAll",
"argument": "length(AutoScalingGroups) > `0`",
"expected": false,
"matcher": "path",
"state": "retry"
}
],
Expand All @@ -25,13 +25,13 @@
{
"argument": "contains(AutoScalingGroups[].[length(Instances[?LifecycleState=='InService']) >= MinSize][], `false`)",
"expected": false,
"matcher": "pathAll",
"matcher": "path",
"state": "success"
},
{
"argument": "contains(AutoScalingGroups[].[length(Instances[?LifecycleState=='InService']) >= MinSize][], `false`)",
"expected": true,
"matcher": "pathAll",
"matcher": "path",
"state": "retry"
}
],
Expand All @@ -42,15 +42,15 @@
"GroupNotExists": {
"acceptors": [
{
"argument": "length(AutoScalingGroups)",
"expected": 0,
"matcher": "pathAll",
"argument": "length(AutoScalingGroups) > `0`",
"expected": false,
"matcher": "path",
"state": "success"
},
{
"argument": "length(AutoScalingGroups)",
"expected": 1,
"matcher": "pathAll",
"argument": "length(AutoScalingGroups) > `0`",
"expected": true,
"matcher": "path",
"state": "retry"
}
],
Expand Down

0 comments on commit ba2fba0

Please sign in to comment.