Skip to content

Commit

Permalink
chore(codegen): update codegen from PR #3852 (#3904)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored Sep 6, 2022
1 parent e2c4714 commit 51c2422
Show file tree
Hide file tree
Showing 301 changed files with 891 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clients/client-accessanalyzer/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3846,6 +3846,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-account/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-acm-pca/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2993,6 +2993,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-acm/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1959,6 +1959,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8880,6 +8880,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-amp/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2219,6 +2219,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-amplify/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3781,6 +3781,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-amplifybackend/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4079,6 +4079,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2317,6 +2317,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-api-gateway/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12794,6 +12794,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-apigatewayv2/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7814,6 +7814,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-app-mesh/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7332,6 +7332,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-appconfig/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4838,6 +4838,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-appconfigdata/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-appflow/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5509,6 +5509,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-appintegrations/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1655,6 +1655,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3173,6 +3173,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2862,6 +2862,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-apprunner/src/protocols/Aws_json1_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3494,6 +3494,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-appstream/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7258,6 +7258,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-appsync/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5025,6 +5025,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-athena/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4033,6 +4033,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-auditmanager/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6701,6 +6701,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1261,6 +1261,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-backup-gateway/src/protocols/Aws_json1_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1800,6 +1800,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-backup/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7474,6 +7474,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-backupstorage/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-batch/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3569,6 +3569,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3583,6 +3583,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-braket/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1793,6 +1793,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-budgets/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3147,6 +3147,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2781,6 +2781,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2308,6 +2308,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5389,6 +5389,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-chime/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20714,6 +20714,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
3 changes: 3 additions & 0 deletions clients/client-cloud9/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1615,6 +1615,9 @@ const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string | unde
if (typeof cleanValue === "number") {
cleanValue = cleanValue.toString();
}
if (cleanValue.indexOf(",") >= 0) {
cleanValue = cleanValue.split(",")[0];
}
if (cleanValue.indexOf(":") >= 0) {
cleanValue = cleanValue.split(":")[0];
}
Expand Down
Loading

0 comments on commit 51c2422

Please sign in to comment.