Skip to content

Commit 51c2422

Browse files
authored
chore(codegen): update codegen from PR #3852 (#3904)
1 parent e2c4714 commit 51c2422

File tree

301 files changed

+891
-0
lines changed

Some content is hidden

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

301 files changed

+891
-0
lines changed

clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3846,6 +3846,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
38463846
if (typeof cleanValue === "number") {
38473847
cleanValue = cleanValue.toString();
38483848
}
3849+
if (cleanValue.indexOf(",") >= 0) {
3850+
cleanValue = cleanValue.split(",")[0];
3851+
}
38493852
if (cleanValue.indexOf(":") >= 0) {
38503853
cleanValue = cleanValue.split(":")[0];
38513854
}

clients/client-account/src/protocols/Aws_restJson1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
596596
if (typeof cleanValue === "number") {
597597
cleanValue = cleanValue.toString();
598598
}
599+
if (cleanValue.indexOf(",") >= 0) {
600+
cleanValue = cleanValue.split(",")[0];
601+
}
599602
if (cleanValue.indexOf(":") >= 0) {
600603
cleanValue = cleanValue.split(":")[0];
601604
}

clients/client-acm-pca/src/protocols/Aws_json1_1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2993,6 +2993,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
29932993
if (typeof cleanValue === "number") {
29942994
cleanValue = cleanValue.toString();
29952995
}
2996+
if (cleanValue.indexOf(",") >= 0) {
2997+
cleanValue = cleanValue.split(",")[0];
2998+
}
29962999
if (cleanValue.indexOf(":") >= 0) {
29973000
cleanValue = cleanValue.split(":")[0];
29983001
}

clients/client-acm/src/protocols/Aws_json1_1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,6 +1959,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
19591959
if (typeof cleanValue === "number") {
19601960
cleanValue = cleanValue.toString();
19611961
}
1962+
if (cleanValue.indexOf(",") >= 0) {
1963+
cleanValue = cleanValue.split(",")[0];
1964+
}
19621965
if (cleanValue.indexOf(":") >= 0) {
19631966
cleanValue = cleanValue.split(":")[0];
19641967
}

clients/client-alexa-for-business/src/protocols/Aws_json1_1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8880,6 +8880,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
88808880
if (typeof cleanValue === "number") {
88818881
cleanValue = cleanValue.toString();
88828882
}
8883+
if (cleanValue.indexOf(",") >= 0) {
8884+
cleanValue = cleanValue.split(",")[0];
8885+
}
88838886
if (cleanValue.indexOf(":") >= 0) {
88848887
cleanValue = cleanValue.split(":")[0];
88858888
}

clients/client-amp/src/protocols/Aws_restJson1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2219,6 +2219,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
22192219
if (typeof cleanValue === "number") {
22202220
cleanValue = cleanValue.toString();
22212221
}
2222+
if (cleanValue.indexOf(",") >= 0) {
2223+
cleanValue = cleanValue.split(",")[0];
2224+
}
22222225
if (cleanValue.indexOf(":") >= 0) {
22232226
cleanValue = cleanValue.split(":")[0];
22242227
}

clients/client-amplify/src/protocols/Aws_restJson1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3781,6 +3781,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
37813781
if (typeof cleanValue === "number") {
37823782
cleanValue = cleanValue.toString();
37833783
}
3784+
if (cleanValue.indexOf(",") >= 0) {
3785+
cleanValue = cleanValue.split(",")[0];
3786+
}
37843787
if (cleanValue.indexOf(":") >= 0) {
37853788
cleanValue = cleanValue.split(":")[0];
37863789
}

clients/client-amplifybackend/src/protocols/Aws_restJson1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4079,6 +4079,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
40794079
if (typeof cleanValue === "number") {
40804080
cleanValue = cleanValue.toString();
40814081
}
4082+
if (cleanValue.indexOf(",") >= 0) {
4083+
cleanValue = cleanValue.split(",")[0];
4084+
}
40824085
if (cleanValue.indexOf(":") >= 0) {
40834086
cleanValue = cleanValue.split(":")[0];
40844087
}

clients/client-amplifyuibuilder/src/protocols/Aws_restJson1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2317,6 +2317,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
23172317
if (typeof cleanValue === "number") {
23182318
cleanValue = cleanValue.toString();
23192319
}
2320+
if (cleanValue.indexOf(",") >= 0) {
2321+
cleanValue = cleanValue.split(",")[0];
2322+
}
23202323
if (cleanValue.indexOf(":") >= 0) {
23212324
cleanValue = cleanValue.split(":")[0];
23222325
}

clients/client-api-gateway/src/protocols/Aws_restJson1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12794,6 +12794,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
1279412794
if (typeof cleanValue === "number") {
1279512795
cleanValue = cleanValue.toString();
1279612796
}
12797+
if (cleanValue.indexOf(",") >= 0) {
12798+
cleanValue = cleanValue.split(",")[0];
12799+
}
1279712800
if (cleanValue.indexOf(":") >= 0) {
1279812801
cleanValue = cleanValue.split(":")[0];
1279912802
}

0 commit comments

Comments
 (0)