Skip to content

Commit

Permalink
Added Aws::CloudFormation::Stack#exists?
Browse files Browse the repository at this point in the history
  • Loading branch information
stopdropandrew committed Oct 28, 2015
1 parent 281845b commit dee67d0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Unreleased Changes
------------------

* Feature - Aws::CloudFormation - Added `Aws::CloudFormation::Stack#exists?`

* Issue - Aws::APIGateway - Resolved an issue that prevented users from calling
`Aws::APIGateway::Client#put_integration`.

Expand Down
8 changes: 8 additions & 0 deletions aws-sdk-core/apis/cloudformation/2010-05-15/resources-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@
}
}
},
"waiters": {
"Exists": {
"waiterName": "StackExists",
"params": [
{ "target": "StackName", "source": "identifier", "name": "Name" }
]
}
},
"has": {
"Resource": {
"resource": {
Expand Down
17 changes: 17 additions & 0 deletions aws-sdk-core/apis/cloudformation/2010-05-15/waiters-2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
{
"version": 2,
"waiters": {
"StackExists": {
"delay": 1,
"operation": "DescribeStacks",
"maxAttempts": 20,
"acceptors": [
{
"matcher": "status",
"expected": 200,
"state": "success"
},
{
"matcher": "error",
"expected": "ValidationError",
"state": "retry"
}
]
},
"StackCreateComplete": {
"delay": 30,
"operation": "DescribeStacks",
Expand Down

0 comments on commit dee67d0

Please sign in to comment.