diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json
index b101247695e0b..8d956f1ec83f9 100644
--- a/codegen/sdk-codegen/aws-models/ec2.json
+++ b/codegen/sdk-codegen/aws-models/ec2.json
@@ -32067,6 +32067,12 @@
                 "matcher": {
                   "errorType": "InvalidInstanceID.NotFound"
                 }
+              },
+              {
+                "state": "failure",
+                "matcher": {
+                  "errorType": "UnauthorizedOperation"
+                }
               }
             ],
             "minDelay": 5
@@ -32118,6 +32124,12 @@
                 "matcher": {
                   "errorType": "InvalidInstanceID.NotFound"
                 }
+              },
+              {
+                "state": "failure",
+                "matcher": {
+                  "errorType": "UnauthorizedOperation"
+                }
               }
             ],
             "minDelay": 15
@@ -32153,6 +32165,12 @@
                     "comparator": "anyStringEquals"
                   }
                 }
+              },
+              {
+                "state": "failure",
+                "matcher": {
+                  "errorType": "UnauthorizedOperation"
+                }
               }
             ],
             "minDelay": 15
@@ -32188,6 +32206,12 @@
                     "comparator": "anyStringEquals"
                   }
                 }
+              },
+              {
+                "state": "failure",
+                "matcher": {
+                  "errorType": "UnauthorizedOperation"
+                }
               }
             ],
             "minDelay": 15