diff --git a/apis/cloudformation/2010-05-15/waiters-2.json b/apis/cloudformation/2010-05-15/waiters-2.json index cd37c9113ee..d1218e452f6 100644 --- a/apis/cloudformation/2010-05-15/waiters-2.json +++ b/apis/cloudformation/2010-05-15/waiters-2.json @@ -15,6 +15,11 @@ "matcher": "error", "expected": "ValidationError", "state": "retry" + }, + { + "matcher": "error", + "expected": "Throttling", + "state": "retry" } ] }, @@ -112,6 +117,11 @@ "expected": "ValidationError", "matcher": "error", "state": "failure" + }, + { + "expected": "Throttling", + "matcher": "error", + "state": "retry" } ] }, @@ -173,6 +183,11 @@ "expected": "UPDATE_COMPLETE", "matcher": "pathAny", "state": "failure" + }, + { + "expected": "Throttling", + "matcher": "error", + "state": "retry" } ] }, @@ -259,6 +274,11 @@ "expected": "ValidationError", "matcher": "error", "state": "failure" + }, + { + "expected": "Throttling", + "matcher": "error", + "state": "retry" } ] }, @@ -296,6 +316,11 @@ "expected": "ValidationError", "matcher": "error", "state": "failure" + }, + { + "expected": "Throttling", + "matcher": "error", + "state": "retry" } ] }, @@ -321,6 +346,11 @@ "expected": "ValidationError", "matcher": "error", "state": "failure" + }, + { + "expected": "Throttling", + "matcher": "error", + "state": "retry" } ] }, @@ -341,6 +371,11 @@ "expected": "FAILED", "matcher": "path", "state": "failure" + }, + { + "expected": "Throttling", + "matcher": "error", + "state": "retry" } ] } diff --git a/gems/aws-sdk-cloudformation/CHANGELOG.md b/gems/aws-sdk-cloudformation/CHANGELOG.md index 546a6fd2618..5a13f65d849 100644 --- a/gems/aws-sdk-cloudformation/CHANGELOG.md +++ b/gems/aws-sdk-cloudformation/CHANGELOG.md @@ -1,6 +1,8 @@ Unreleased Changes ------------------ +* Feature - Retry Throttling errors in CloudFormation waiters + 1.103.0 (2024-03-19) ------------------ diff --git a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/waiters.rb b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/waiters.rb index 2325e23e33d..c72c8cc0f67 100644 --- a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/waiters.rb +++ b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/waiters.rb @@ -113,6 +113,11 @@ def initialize(options) "expected" => "ValidationError", "matcher" => "error", "state" => "failure" + }, + { + "expected" => "Throttling", + "matcher" => "error", + "state" => "retry" } ] ) @@ -235,6 +240,11 @@ def initialize(options) "expected" => "ValidationError", "matcher" => "error", "state" => "failure" + }, + { + "expected" => "Throttling", + "matcher" => "error", + "state" => "retry" } ] ) @@ -321,6 +331,11 @@ def initialize(options) "expected" => "UPDATE_COMPLETE", "matcher" => "pathAny", "state" => "failure" + }, + { + "expected" => "Throttling", + "matcher" => "error", + "state" => "retry" } ] ) @@ -363,6 +378,11 @@ def initialize(options) "matcher" => "error", "expected" => "ValidationError", "state" => "retry" + }, + { + "matcher" => "error", + "expected" => "Throttling", + "state" => "retry" } ] ) @@ -437,6 +457,11 @@ def initialize(options) "expected" => "ValidationError", "matcher" => "error", "state" => "failure" + }, + { + "expected" => "Throttling", + "matcher" => "error", + "state" => "retry" } ] ) @@ -499,6 +524,11 @@ def initialize(options) "expected" => "ValidationError", "matcher" => "error", "state" => "failure" + }, + { + "expected" => "Throttling", + "matcher" => "error", + "state" => "retry" } ] ) @@ -606,6 +636,11 @@ def initialize(options) "expected" => "FAILED", "matcher" => "path", "state" => "failure" + }, + { + "expected" => "Throttling", + "matcher" => "error", + "state" => "retry" } ] )