Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions apis/cloudformation/2010-05-15/waiters-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"matcher": "error",
"expected": "ValidationError",
"state": "retry"
},
{
"matcher": "error",
"expected": "Throttling",
"state": "retry"
}
]
},
Expand Down Expand Up @@ -112,6 +117,11 @@
"expected": "ValidationError",
"matcher": "error",
"state": "failure"
},
{
"expected": "Throttling",
"matcher": "error",
"state": "retry"
}
]
},
Expand Down Expand Up @@ -173,6 +183,11 @@
"expected": "UPDATE_COMPLETE",
"matcher": "pathAny",
"state": "failure"
},
{
"expected": "Throttling",
"matcher": "error",
"state": "retry"
}
]
},
Expand Down Expand Up @@ -259,6 +274,11 @@
"expected": "ValidationError",
"matcher": "error",
"state": "failure"
},
{
"expected": "Throttling",
"matcher": "error",
"state": "retry"
}
]
},
Expand Down Expand Up @@ -296,6 +316,11 @@
"expected": "ValidationError",
"matcher": "error",
"state": "failure"
},
{
"expected": "Throttling",
"matcher": "error",
"state": "retry"
}
]
},
Expand All @@ -321,6 +346,11 @@
"expected": "ValidationError",
"matcher": "error",
"state": "failure"
},
{
"expected": "Throttling",
"matcher": "error",
"state": "retry"
}
]
},
Expand All @@ -341,6 +371,11 @@
"expected": "FAILED",
"matcher": "path",
"state": "failure"
},
{
"expected": "Throttling",
"matcher": "error",
"state": "retry"
}
]
}
Expand Down
2 changes: 2 additions & 0 deletions gems/aws-sdk-cloudformation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Unreleased Changes
------------------

* Feature - Retry Throttling errors in CloudFormation waiters

1.103.0 (2024-03-19)
------------------

Expand Down
35 changes: 35 additions & 0 deletions gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/waiters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ def initialize(options)
"expected" => "ValidationError",
"matcher" => "error",
"state" => "failure"
},
{
"expected" => "Throttling",
"matcher" => "error",
"state" => "retry"
}
]
)
Expand Down Expand Up @@ -235,6 +240,11 @@ def initialize(options)
"expected" => "ValidationError",
"matcher" => "error",
"state" => "failure"
},
{
"expected" => "Throttling",
"matcher" => "error",
"state" => "retry"
}
]
)
Expand Down Expand Up @@ -321,6 +331,11 @@ def initialize(options)
"expected" => "UPDATE_COMPLETE",
"matcher" => "pathAny",
"state" => "failure"
},
{
"expected" => "Throttling",
"matcher" => "error",
"state" => "retry"
}
]
)
Expand Down Expand Up @@ -363,6 +378,11 @@ def initialize(options)
"matcher" => "error",
"expected" => "ValidationError",
"state" => "retry"
},
{
"matcher" => "error",
"expected" => "Throttling",
"state" => "retry"
}
]
)
Expand Down Expand Up @@ -437,6 +457,11 @@ def initialize(options)
"expected" => "ValidationError",
"matcher" => "error",
"state" => "failure"
},
{
"expected" => "Throttling",
"matcher" => "error",
"state" => "retry"
}
]
)
Expand Down Expand Up @@ -499,6 +524,11 @@ def initialize(options)
"expected" => "ValidationError",
"matcher" => "error",
"state" => "failure"
},
{
"expected" => "Throttling",
"matcher" => "error",
"state" => "retry"
}
]
)
Expand Down Expand Up @@ -606,6 +636,11 @@ def initialize(options)
"expected" => "FAILED",
"matcher" => "path",
"state" => "failure"
},
{
"expected" => "Throttling",
"matcher" => "error",
"state" => "retry"
}
]
)
Expand Down