Skip to content

Commit 9f9831c

Browse files
committed
fix code gen for retryable errors
1 parent 1090225 commit 9f9831c

File tree

141 files changed

+200
-193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+200
-193
lines changed

generated/src/aws-cpp-sdk-amplify/source/AmplifyErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
5151
}
5252
else if (hashCode == DEPENDENT_SERVICE_FAILURE_HASH)
5353
{
54-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AmplifyErrors::DEPENDENT_SERVICE_FAILURE), RetryableType::NOT_RETRYABLE);
54+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AmplifyErrors::DEPENDENT_SERVICE_FAILURE), RetryableType::RETRYABLE);
5555
}
5656
else if (hashCode == BAD_REQUEST_HASH)
5757
{

generated/src/aws-cpp-sdk-amplifybackend/source/AmplifyBackendErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4949
}
5050
else if (hashCode == GATEWAY_TIMEOUT_HASH)
5151
{
52-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AmplifyBackendErrors::GATEWAY_TIMEOUT), RetryableType::NOT_RETRYABLE);
52+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AmplifyBackendErrors::GATEWAY_TIMEOUT), RetryableType::RETRYABLE);
5353
}
5454
else if (hashCode == TOO_MANY_REQUESTS_HASH)
5555
{

generated/src/aws-cpp-sdk-amplifyuibuilder/source/AmplifyUIBuilderErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
3535
}
3636
else if (hashCode == INTERNAL_SERVER_HASH)
3737
{
38-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AmplifyUIBuilderErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
38+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AmplifyUIBuilderErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
3939
}
4040
else if (hashCode == INVALID_PARAMETER_HASH)
4141
{

generated/src/aws-cpp-sdk-appconfig/source/AppConfigErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
6161
}
6262
else if (hashCode == INTERNAL_SERVER_HASH)
6363
{
64-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppConfigErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
64+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppConfigErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
6565
}
6666
else if (hashCode == PAYLOAD_TOO_LARGE_HASH)
6767
{

generated/src/aws-cpp-sdk-appconfigdata/source/AppConfigDataErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4343

4444
if (hashCode == INTERNAL_SERVER_HASH)
4545
{
46-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppConfigDataErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
46+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppConfigDataErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
4747
}
4848
else if (hashCode == BAD_REQUEST_HASH)
4949
{

generated/src/aws-cpp-sdk-appflow/source/AppflowErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4444
}
4545
else if (hashCode == INTERNAL_SERVER_HASH)
4646
{
47-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppflowErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
47+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppflowErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
4848
}
4949
else if (hashCode == CONNECTOR_SERVER_HASH)
5050
{

generated/src/aws-cpp-sdk-appintegrations/source/AppIntegrationsServiceErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
3131

3232
if (hashCode == INTERNAL_SERVICE_HASH)
3333
{
34-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppIntegrationsServiceErrors::INTERNAL_SERVICE), RetryableType::NOT_RETRYABLE);
34+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AppIntegrationsServiceErrors::INTERNAL_SERVICE), RetryableType::RETRYABLE);
3535
}
3636
else if (hashCode == DUPLICATE_RESOURCE_HASH)
3737
{

generated/src/aws-cpp-sdk-applicationcostprofiler/source/ApplicationCostProfilerErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
3232
}
3333
else if (hashCode == INTERNAL_SERVER_HASH)
3434
{
35-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationCostProfilerErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
35+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ApplicationCostProfilerErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
3636
}
3737
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
3838
}

generated/src/aws-cpp-sdk-arc-zonal-shift/source/ARCZonalShiftErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4747
}
4848
else if (hashCode == INTERNAL_SERVER_HASH)
4949
{
50-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ARCZonalShiftErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
50+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ARCZonalShiftErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
5151
}
5252
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
5353
}

generated/src/aws-cpp-sdk-auditmanager/source/AuditManagerErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4747
}
4848
else if (hashCode == INTERNAL_SERVER_HASH)
4949
{
50-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AuditManagerErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
50+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AuditManagerErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
5151
}
5252
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
5353
}

generated/src/aws-cpp-sdk-autoscaling/source/AutoScalingErrors.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4848
}
4949
else if (hashCode == RESOURCE_CONTENTION_FAULT_HASH)
5050
{
51-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::RESOURCE_CONTENTION_FAULT), RetryableType::RETRYABLE);
51+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::RESOURCE_CONTENTION_FAULT), RetryableType::NOT_RETRYABLE);
5252
}
5353
else if (hashCode == SERVICE_LINKED_ROLE_FAILURE_HASH)
5454
{
55-
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::SERVICE_LINKED_ROLE_FAILURE), RetryableType::RETRYABLE);
55+
return AWSError<CoreErrors>(static_cast<CoreErrors>(AutoScalingErrors::SERVICE_LINKED_ROLE_FAILURE), RetryableType::NOT_RETRYABLE);
5656
}
5757
else if (hashCode == INVALID_NEXT_TOKEN_HASH)
5858
{

generated/src/aws-cpp-sdk-batch/source/BatchErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
3232
}
3333
else if (hashCode == SERVER_HASH)
3434
{
35-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BatchErrors::SERVER), RetryableType::NOT_RETRYABLE);
35+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BatchErrors::SERVER), RetryableType::RETRYABLE);
3636
}
3737
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
3838
}

generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/BedrockAgentRuntimeErrors.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
5858
}
5959
else if (hashCode == BAD_GATEWAY_HASH)
6060
{
61-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockAgentRuntimeErrors::BAD_GATEWAY), RetryableType::NOT_RETRYABLE);
61+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockAgentRuntimeErrors::BAD_GATEWAY), RetryableType::RETRYABLE);
6262
}
6363
else if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH)
6464
{
6565
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockAgentRuntimeErrors::SERVICE_QUOTA_EXCEEDED), RetryableType::NOT_RETRYABLE);
6666
}
6767
else if (hashCode == INTERNAL_SERVER_HASH)
6868
{
69-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockAgentRuntimeErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
69+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockAgentRuntimeErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
7070
}
7171
else if (hashCode == DEPENDENCY_FAILED_HASH)
7272
{

generated/src/aws-cpp-sdk-bedrock-agent/source/BedrockAgentErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4545
}
4646
else if (hashCode == INTERNAL_SERVER_HASH)
4747
{
48-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockAgentErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
48+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockAgentErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
4949
}
5050
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
5151
}

generated/src/aws-cpp-sdk-bedrock-data-automation/source/BedrockDataAutomationErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4545
}
4646
else if (hashCode == INTERNAL_SERVER_HASH)
4747
{
48-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockDataAutomationErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
48+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockDataAutomationErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
4949
}
5050
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
5151
}

generated/src/aws-cpp-sdk-bedrock-runtime/source/BedrockRuntimeErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
5656
}
5757
else if (hashCode == INTERNAL_SERVER_HASH)
5858
{
59-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockRuntimeErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
59+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockRuntimeErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
6060
}
6161
else if (hashCode == MODEL_TIMEOUT_HASH)
6262
{

generated/src/aws-cpp-sdk-bedrock/source/BedrockErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4646
}
4747
else if (hashCode == INTERNAL_SERVER_HASH)
4848
{
49-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
49+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BedrockErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
5050
}
5151
else if (hashCode == TOO_MANY_TAGS_HASH)
5252
{

generated/src/aws-cpp-sdk-billingconductor/source/BillingConductorErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
7676
}
7777
else if (hashCode == INTERNAL_SERVER_HASH)
7878
{
79-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BillingConductorErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE);
79+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BillingConductorErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
8080
}
8181
else if (hashCode == SERVICE_LIMIT_EXCEEDED_HASH)
8282
{

generated/src/aws-cpp-sdk-braket/source/BraketErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
4747
}
4848
else if (hashCode == INTERNAL_SERVICE_HASH)
4949
{
50-
return AWSError<CoreErrors>(static_cast<CoreErrors>(BraketErrors::INTERNAL_SERVICE), RetryableType::NOT_RETRYABLE);
50+
return AWSError<CoreErrors>(static_cast<CoreErrors>(BraketErrors::INTERNAL_SERVICE), RetryableType::RETRYABLE);
5151
}
5252
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
5353
}

generated/src/aws-cpp-sdk-chatbot/source/ChatbotErrors.cpp

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -60,59 +60,59 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
6060
}
6161
else if (hashCode == UPDATE_SLACK_CHANNEL_CONFIGURATION_HASH)
6262
{
63-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::UPDATE_SLACK_CHANNEL_CONFIGURATION), RetryableType::NOT_RETRYABLE);
63+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::UPDATE_SLACK_CHANNEL_CONFIGURATION), RetryableType::RETRYABLE);
6464
}
6565
else if (hashCode == LIST_TEAMS_CHANNEL_CONFIGURATIONS_HASH)
6666
{
67-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::LIST_TEAMS_CHANNEL_CONFIGURATIONS), RetryableType::NOT_RETRYABLE);
67+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::LIST_TEAMS_CHANNEL_CONFIGURATIONS), RetryableType::RETRYABLE);
6868
}
6969
else if (hashCode == LIST_MICROSOFT_TEAMS_CONFIGURED_TEAMS_HASH)
7070
{
71-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::LIST_MICROSOFT_TEAMS_CONFIGURED_TEAMS), RetryableType::NOT_RETRYABLE);
71+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::LIST_MICROSOFT_TEAMS_CONFIGURED_TEAMS), RetryableType::RETRYABLE);
7272
}
7373
else if (hashCode == CREATE_CHIME_WEBHOOK_CONFIGURATION_HASH)
7474
{
75-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::CREATE_CHIME_WEBHOOK_CONFIGURATION), RetryableType::NOT_RETRYABLE);
75+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::CREATE_CHIME_WEBHOOK_CONFIGURATION), RetryableType::RETRYABLE);
7676
}
7777
else if (hashCode == LIMIT_EXCEEDED_HASH)
7878
{
7979
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::LIMIT_EXCEEDED), RetryableType::RETRYABLE);
8080
}
8181
else if (hashCode == CREATE_SLACK_CHANNEL_CONFIGURATION_HASH)
8282
{
83-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::CREATE_SLACK_CHANNEL_CONFIGURATION), RetryableType::NOT_RETRYABLE);
83+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::CREATE_SLACK_CHANNEL_CONFIGURATION), RetryableType::RETRYABLE);
8484
}
8585
else if (hashCode == UPDATE_ACCOUNT_PREFERENCES_HASH)
8686
{
87-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::UPDATE_ACCOUNT_PREFERENCES), RetryableType::NOT_RETRYABLE);
87+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::UPDATE_ACCOUNT_PREFERENCES), RetryableType::RETRYABLE);
8888
}
8989
else if (hashCode == UPDATE_CHIME_WEBHOOK_CONFIGURATION_HASH)
9090
{
91-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::UPDATE_CHIME_WEBHOOK_CONFIGURATION), RetryableType::NOT_RETRYABLE);
91+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::UPDATE_CHIME_WEBHOOK_CONFIGURATION), RetryableType::RETRYABLE);
9292
}
9393
else if (hashCode == DELETE_SLACK_CHANNEL_CONFIGURATION_HASH)
9494
{
95-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_SLACK_CHANNEL_CONFIGURATION), RetryableType::NOT_RETRYABLE);
95+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_SLACK_CHANNEL_CONFIGURATION), RetryableType::RETRYABLE);
9696
}
9797
else if (hashCode == DESCRIBE_SLACK_WORKSPACES_HASH)
9898
{
99-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DESCRIBE_SLACK_WORKSPACES), RetryableType::NOT_RETRYABLE);
99+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DESCRIBE_SLACK_WORKSPACES), RetryableType::RETRYABLE);
100100
}
101101
else if (hashCode == DESCRIBE_SLACK_CHANNEL_CONFIGURATIONS_HASH)
102102
{
103-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DESCRIBE_SLACK_CHANNEL_CONFIGURATIONS), RetryableType::NOT_RETRYABLE);
103+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DESCRIBE_SLACK_CHANNEL_CONFIGURATIONS), RetryableType::RETRYABLE);
104104
}
105105
else if (hashCode == INTERNAL_SERVICE_HASH)
106106
{
107-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::INTERNAL_SERVICE), RetryableType::NOT_RETRYABLE);
107+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::INTERNAL_SERVICE), RetryableType::RETRYABLE);
108108
}
109109
else if (hashCode == DESCRIBE_SLACK_USER_IDENTITIES_HASH)
110110
{
111-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DESCRIBE_SLACK_USER_IDENTITIES), RetryableType::NOT_RETRYABLE);
111+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DESCRIBE_SLACK_USER_IDENTITIES), RetryableType::RETRYABLE);
112112
}
113113
else if (hashCode == DESCRIBE_CHIME_WEBHOOK_CONFIGURATIONS_HASH)
114114
{
115-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DESCRIBE_CHIME_WEBHOOK_CONFIGURATIONS), RetryableType::NOT_RETRYABLE);
115+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DESCRIBE_CHIME_WEBHOOK_CONFIGURATIONS), RetryableType::RETRYABLE);
116116
}
117117
else if (hashCode == INVALID_PARAMETER_HASH)
118118
{
@@ -124,55 +124,55 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
124124
}
125125
else if (hashCode == DELETE_TEAMS_CONFIGURED_TEAM_HASH)
126126
{
127-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_TEAMS_CONFIGURED_TEAM), RetryableType::NOT_RETRYABLE);
127+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_TEAMS_CONFIGURED_TEAM), RetryableType::RETRYABLE);
128128
}
129129
else if (hashCode == DELETE_MICROSOFT_TEAMS_USER_IDENTITY_HASH)
130130
{
131-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_MICROSOFT_TEAMS_USER_IDENTITY), RetryableType::NOT_RETRYABLE);
131+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_MICROSOFT_TEAMS_USER_IDENTITY), RetryableType::RETRYABLE);
132132
}
133133
else if (hashCode == CREATE_TEAMS_CHANNEL_CONFIGURATION_HASH)
134134
{
135-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::CREATE_TEAMS_CHANNEL_CONFIGURATION), RetryableType::NOT_RETRYABLE);
135+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::CREATE_TEAMS_CHANNEL_CONFIGURATION), RetryableType::RETRYABLE);
136136
}
137137
else if (hashCode == GET_ACCOUNT_PREFERENCES_HASH)
138138
{
139-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::GET_ACCOUNT_PREFERENCES), RetryableType::NOT_RETRYABLE);
139+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::GET_ACCOUNT_PREFERENCES), RetryableType::RETRYABLE);
140140
}
141141
else if (hashCode == INVALID_REQUEST_HASH)
142142
{
143143
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::INVALID_REQUEST), RetryableType::NOT_RETRYABLE);
144144
}
145145
else if (hashCode == DELETE_SLACK_USER_IDENTITY_HASH)
146146
{
147-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_SLACK_USER_IDENTITY), RetryableType::NOT_RETRYABLE);
147+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_SLACK_USER_IDENTITY), RetryableType::RETRYABLE);
148148
}
149149
else if (hashCode == LIST_MICROSOFT_TEAMS_USER_IDENTITIES_HASH)
150150
{
151-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::LIST_MICROSOFT_TEAMS_USER_IDENTITIES), RetryableType::NOT_RETRYABLE);
151+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::LIST_MICROSOFT_TEAMS_USER_IDENTITIES), RetryableType::RETRYABLE);
152152
}
153153
else if (hashCode == UPDATE_TEAMS_CHANNEL_CONFIGURATION_HASH)
154154
{
155-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::UPDATE_TEAMS_CHANNEL_CONFIGURATION), RetryableType::NOT_RETRYABLE);
155+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::UPDATE_TEAMS_CHANNEL_CONFIGURATION), RetryableType::RETRYABLE);
156156
}
157157
else if (hashCode == GET_TEAMS_CHANNEL_CONFIGURATION_HASH)
158158
{
159-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::GET_TEAMS_CHANNEL_CONFIGURATION), RetryableType::NOT_RETRYABLE);
159+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::GET_TEAMS_CHANNEL_CONFIGURATION), RetryableType::RETRYABLE);
160160
}
161161
else if (hashCode == TOO_MANY_TAGS_HASH)
162162
{
163163
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::TOO_MANY_TAGS), RetryableType::NOT_RETRYABLE);
164164
}
165165
else if (hashCode == DELETE_CHIME_WEBHOOK_CONFIGURATION_HASH)
166166
{
167-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_CHIME_WEBHOOK_CONFIGURATION), RetryableType::NOT_RETRYABLE);
167+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_CHIME_WEBHOOK_CONFIGURATION), RetryableType::RETRYABLE);
168168
}
169169
else if (hashCode == DELETE_SLACK_WORKSPACE_AUTHORIZATION_FAULT_HASH)
170170
{
171-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_SLACK_WORKSPACE_AUTHORIZATION_FAULT), RetryableType::NOT_RETRYABLE);
171+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_SLACK_WORKSPACE_AUTHORIZATION_FAULT), RetryableType::RETRYABLE);
172172
}
173173
else if (hashCode == DELETE_TEAMS_CHANNEL_CONFIGURATION_HASH)
174174
{
175-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_TEAMS_CHANNEL_CONFIGURATION), RetryableType::NOT_RETRYABLE);
175+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChatbotErrors::DELETE_TEAMS_CHANNEL_CONFIGURATION), RetryableType::RETRYABLE);
176176
}
177177
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
178178
}

generated/src/aws-cpp-sdk-chime-sdk-identity/source/ChimeSDKIdentityErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
106106
}
107107
else if (hashCode == SERVICE_FAILURE_HASH)
108108
{
109-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChimeSDKIdentityErrors::SERVICE_FAILURE), RetryableType::NOT_RETRYABLE);
109+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChimeSDKIdentityErrors::SERVICE_FAILURE), RetryableType::RETRYABLE);
110110
}
111111
else if (hashCode == FORBIDDEN_HASH)
112112
{

generated/src/aws-cpp-sdk-chime-sdk-media-pipelines/source/ChimeSDKMediaPipelinesErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
106106
}
107107
else if (hashCode == SERVICE_FAILURE_HASH)
108108
{
109-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChimeSDKMediaPipelinesErrors::SERVICE_FAILURE), RetryableType::NOT_RETRYABLE);
109+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChimeSDKMediaPipelinesErrors::SERVICE_FAILURE), RetryableType::RETRYABLE);
110110
}
111111
else if (hashCode == FORBIDDEN_HASH)
112112
{

generated/src/aws-cpp-sdk-chime-sdk-meetings/source/ChimeSDKMeetingsErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
128128
}
129129
else if (hashCode == SERVICE_FAILURE_HASH)
130130
{
131-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChimeSDKMeetingsErrors::SERVICE_FAILURE), RetryableType::NOT_RETRYABLE);
131+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChimeSDKMeetingsErrors::SERVICE_FAILURE), RetryableType::RETRYABLE);
132132
}
133133
else if (hashCode == FORBIDDEN_HASH)
134134
{

generated/src/aws-cpp-sdk-chime-sdk-messaging/source/ChimeSDKMessagingErrors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
106106
}
107107
else if (hashCode == SERVICE_FAILURE_HASH)
108108
{
109-
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChimeSDKMessagingErrors::SERVICE_FAILURE), RetryableType::NOT_RETRYABLE);
109+
return AWSError<CoreErrors>(static_cast<CoreErrors>(ChimeSDKMessagingErrors::SERVICE_FAILURE), RetryableType::RETRYABLE);
110110
}
111111
else if (hashCode == FORBIDDEN_HASH)
112112
{

0 commit comments

Comments
 (0)