Skip to content

Commit 3745bcd

Browse files
chore: update generated code
1 parent 0c9872f commit 3745bcd

File tree

137 files changed

+575
-653
lines changed

Some content is hidden

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

137 files changed

+575
-653
lines changed

clients/client-accessanalyzer/protocols/Aws_restJson1.ts

+14-17
Original file line numberDiff line numberDiff line change
@@ -3637,7 +3637,7 @@ const serializeAws_restJson1ConfigurationsMap = (
36373637
input: { [key: string]: Configuration },
36383638
context: __SerdeContext
36393639
): any => {
3640-
return Object.entries(input).reduce((acc: { [key: string]: Configuration }, [key, value]: [string, any]) => {
3640+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
36413641
if (value === null) {
36423642
return acc;
36433643
}
@@ -3659,7 +3659,7 @@ const serializeAws_restJson1Criterion = (input: Criterion, context: __SerdeConte
36593659
};
36603660

36613661
const serializeAws_restJson1FilterCriteriaMap = (input: { [key: string]: Criterion }, context: __SerdeContext): any => {
3662-
return Object.entries(input).reduce((acc: { [key: string]: Criterion }, [key, value]: [string, any]) => {
3662+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
36633663
if (value === null) {
36643664
return acc;
36653665
}
@@ -3711,7 +3711,7 @@ const serializeAws_restJson1InternetConfiguration = (input: InternetConfiguratio
37113711
};
37123712

37133713
const serializeAws_restJson1KmsConstraintsMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
3714-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
3714+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
37153715
if (value === null) {
37163716
return acc;
37173717
}
@@ -3794,7 +3794,7 @@ const serializeAws_restJson1KmsKeyConfiguration = (input: KmsKeyConfiguration, c
37943794
};
37953795

37963796
const serializeAws_restJson1KmsKeyPoliciesMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
3797-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
3797+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
37983798
if (value === null) {
37993799
return acc;
38003800
}
@@ -3860,18 +3860,15 @@ const serializeAws_restJson1S3AccessPointConfigurationsMap = (
38603860
input: { [key: string]: S3AccessPointConfiguration },
38613861
context: __SerdeContext
38623862
): any => {
3863-
return Object.entries(input).reduce(
3864-
(acc: { [key: string]: S3AccessPointConfiguration }, [key, value]: [string, any]) => {
3865-
if (value === null) {
3866-
return acc;
3867-
}
3868-
return {
3869-
...acc,
3870-
[key]: serializeAws_restJson1S3AccessPointConfiguration(value, context),
3871-
};
3872-
},
3873-
{}
3874-
);
3863+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
3864+
if (value === null) {
3865+
return acc;
3866+
}
3867+
return {
3868+
...acc,
3869+
[key]: serializeAws_restJson1S3AccessPointConfiguration(value, context),
3870+
};
3871+
}, {});
38753872
};
38763873

38773874
const serializeAws_restJson1S3BucketAclGrantConfiguration = (
@@ -3956,7 +3953,7 @@ const serializeAws_restJson1SqsQueueConfiguration = (input: SqsQueueConfiguratio
39563953
};
39573954

39583955
const serializeAws_restJson1TagsMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
3959-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
3956+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
39603957
if (value === null) {
39613958
return acc;
39623959
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -7447,7 +7447,7 @@ const serializeAws_json1_1AudioList = (input: Audio[], context: __SerdeContext):
74477447
};
74487448

74497449
const serializeAws_json1_1AuthorizationResult = (input: { [key: string]: string }, context: __SerdeContext): any => {
7450-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
7450+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
74517451
if (value === null) {
74527452
return acc;
74537453
}

clients/client-amplify/protocols/Aws_restJson1.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4864,7 +4864,7 @@ const serializeAws_restJson1CustomRules = (input: CustomRule[], context: __Serde
48644864
};
48654865

48664866
const serializeAws_restJson1EnvironmentVariables = (input: { [key: string]: string }, context: __SerdeContext): any => {
4867-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
4867+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
48684868
if (value === null) {
48694869
return acc;
48704870
}
@@ -4876,7 +4876,7 @@ const serializeAws_restJson1EnvironmentVariables = (input: { [key: string]: stri
48764876
};
48774877

48784878
const serializeAws_restJson1FileMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
4879-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
4879+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
48804880
if (value === null) {
48814881
return acc;
48824882
}
@@ -4906,7 +4906,7 @@ const serializeAws_restJson1SubDomainSettings = (input: SubDomainSetting[], cont
49064906
};
49074907

49084908
const serializeAws_restJson1TagMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
4909-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
4909+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
49104910
if (value === null) {
49114911
return acc;
49124912
}

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -16906,7 +16906,7 @@ const serializeAws_restJson1MapOfApiStageThrottleSettings = (
1690616906
input: { [key: string]: ThrottleSettings },
1690716907
context: __SerdeContext
1690816908
): any => {
16909-
return Object.entries(input).reduce((acc: { [key: string]: ThrottleSettings }, [key, value]: [string, any]) => {
16909+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1691016910
if (value === null) {
1691116911
return acc;
1691216912
}
@@ -16921,7 +16921,7 @@ const serializeAws_restJson1MapOfStringToBoolean = (
1692116921
input: { [key: string]: boolean },
1692216922
context: __SerdeContext
1692316923
): any => {
16924-
return Object.entries(input).reduce((acc: { [key: string]: boolean }, [key, value]: [string, any]) => {
16924+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1692516925
if (value === null) {
1692616926
return acc;
1692716927
}
@@ -16933,7 +16933,7 @@ const serializeAws_restJson1MapOfStringToBoolean = (
1693316933
};
1693416934

1693516935
const serializeAws_restJson1MapOfStringToList = (input: { [key: string]: string[] }, context: __SerdeContext): any => {
16936-
return Object.entries(input).reduce((acc: { [key: string]: string[] }, [key, value]: [string, any]) => {
16936+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1693716937
if (value === null) {
1693816938
return acc;
1693916939
}
@@ -16945,7 +16945,7 @@ const serializeAws_restJson1MapOfStringToList = (input: { [key: string]: string[
1694516945
};
1694616946

1694716947
const serializeAws_restJson1MapOfStringToString = (input: { [key: string]: string }, context: __SerdeContext): any => {
16948-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
16948+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1694916949
if (value === null) {
1695016950
return acc;
1695116951
}

clients/client-apigatewayv2/protocols/Aws_restJson1.ts

+16-19
Original file line numberDiff line numberDiff line change
@@ -9753,7 +9753,7 @@ const serializeAws_restJson1IntegrationParameters = (
97539753
input: { [key: string]: string },
97549754
context: __SerdeContext
97559755
): any => {
9756-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
9756+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
97579757
if (value === null) {
97589758
return acc;
97599759
}
@@ -9793,22 +9793,19 @@ const serializeAws_restJson1ResponseParameters = (
97939793
input: { [key: string]: { [key: string]: string } },
97949794
context: __SerdeContext
97959795
): any => {
9796-
return Object.entries(input).reduce(
9797-
(acc: { [key: string]: { [key: string]: string } }, [key, value]: [string, any]) => {
9798-
if (value === null) {
9799-
return acc;
9800-
}
9801-
return {
9802-
...acc,
9803-
[key]: serializeAws_restJson1IntegrationParameters(value, context),
9804-
};
9805-
},
9806-
{}
9807-
);
9796+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
9797+
if (value === null) {
9798+
return acc;
9799+
}
9800+
return {
9801+
...acc,
9802+
[key]: serializeAws_restJson1IntegrationParameters(value, context),
9803+
};
9804+
}, {});
98089805
};
98099806

98109807
const serializeAws_restJson1RouteModels = (input: { [key: string]: string }, context: __SerdeContext): any => {
9811-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
9808+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
98129809
if (value === null) {
98139810
return acc;
98149811
}
@@ -9823,7 +9820,7 @@ const serializeAws_restJson1RouteParameters = (
98239820
input: { [key: string]: ParameterConstraints },
98249821
context: __SerdeContext
98259822
): any => {
9826-
return Object.entries(input).reduce((acc: { [key: string]: ParameterConstraints }, [key, value]: [string, any]) => {
9823+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
98279824
if (value === null) {
98289825
return acc;
98299826
}
@@ -9852,7 +9849,7 @@ const serializeAws_restJson1RouteSettingsMap = (
98529849
input: { [key: string]: RouteSettings },
98539850
context: __SerdeContext
98549851
): any => {
9855-
return Object.entries(input).reduce((acc: { [key: string]: RouteSettings }, [key, value]: [string, any]) => {
9852+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
98569853
if (value === null) {
98579854
return acc;
98589855
}
@@ -9875,7 +9872,7 @@ const serializeAws_restJson1SecurityGroupIdList = (input: string[], context: __S
98759872
};
98769873

98779874
const serializeAws_restJson1StageVariablesMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
9878-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
9875+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
98799876
if (value === null) {
98809877
return acc;
98819878
}
@@ -9898,7 +9895,7 @@ const serializeAws_restJson1SubnetIdList = (input: string[], context: __SerdeCon
98989895
};
98999896

99009897
const serializeAws_restJson1Tags = (input: { [key: string]: string }, context: __SerdeContext): any => {
9901-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
9898+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
99029899
if (value === null) {
99039900
return acc;
99049901
}
@@ -9910,7 +9907,7 @@ const serializeAws_restJson1Tags = (input: { [key: string]: string }, context: _
99109907
};
99119908

99129909
const serializeAws_restJson1TemplateMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
9913-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
9910+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
99149911
if (value === null) {
99159912
return acc;
99169913
}

clients/client-appconfig/protocols/Aws_restJson1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4319,7 +4319,7 @@ const serializeAws_restJson1MonitorList = (input: Monitor[], context: __SerdeCon
43194319
};
43204320

43214321
const serializeAws_restJson1TagMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
4322-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
4322+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
43234323
if (value === null) {
43244324
return acc;
43254325
}

clients/client-appflow/protocols/Aws_restJson1.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3251,7 +3251,7 @@ const serializeAws_restJson1SourceFlowConfig = (input: SourceFlowConfig, context
32513251
};
32523252

32533253
const serializeAws_restJson1TagMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
3254-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
3254+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
32553255
if (value === null) {
32563256
return acc;
32573257
}
@@ -3282,7 +3282,7 @@ const serializeAws_restJson1Task = (input: Task, context: __SerdeContext): any =
32823282

32833283
const serializeAws_restJson1TaskPropertiesMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
32843284
return Object.entries(input).reduce(
3285-
(acc: { [key: string]: string }, [key, value]: [OperatorPropertiesKeys | string, any]) => {
3285+
(acc: { [key: string]: any }, [key, value]: [OperatorPropertiesKeys | string, any]) => {
32863286
if (value === null) {
32873287
return acc;
32883288
}

clients/client-appintegrations/protocols/Aws_restJson1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ const serializeAws_restJson1EventFilter = (input: EventFilter, context: __SerdeC
12241224
};
12251225

12261226
const serializeAws_restJson1TagMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
1227-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
1227+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
12281228
if (value === null) {
12291229
return acc;
12301230
}

clients/client-apprunner/protocols/Aws_json1_0.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,7 @@ const serializeAws_json1_0RuntimeEnvironmentVariables = (
23672367
input: { [key: string]: string },
23682368
context: __SerdeContext
23692369
): any => {
2370-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
2370+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
23712371
if (value === null) {
23722372
return acc;
23732373
}

clients/client-appstream/protocols/Aws_json1_1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5295,7 +5295,7 @@ const serializeAws_json1_1TagResourceRequest = (input: TagResourceRequest, conte
52955295
};
52965296

52975297
const serializeAws_json1_1Tags = (input: { [key: string]: string }, context: __SerdeContext): any => {
5298-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
5298+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
52995299
if (value === null) {
53005300
return acc;
53015301
}

clients/client-appsync/protocols/Aws_restJson1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5589,7 +5589,7 @@ const serializeAws_restJson1SyncConfig = (input: SyncConfig, context: __SerdeCon
55895589
};
55905590

55915591
const serializeAws_restJson1TagMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
5592-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
5592+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
55935593
if (value === null) {
55945594
return acc;
55955595
}

clients/client-athena/protocols/Aws_json1_1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3157,7 +3157,7 @@ const serializeAws_json1_1NamedQueryIdList = (input: string[], context: __SerdeC
31573157
};
31583158

31593159
const serializeAws_json1_1ParametersMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
3160-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
3160+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
31613161
if (value === null) {
31623162
return acc;
31633163
}

clients/client-auditmanager/protocols/Aws_restJson1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6188,7 +6188,7 @@ const serializeAws_restJson1SourceKeyword = (input: SourceKeyword, context: __Se
61886188
};
61896189

61906190
const serializeAws_restJson1TagMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
6191-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
6191+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
61926192
if (value === null) {
61936193
return acc;
61946194
}

clients/client-backup/protocols/Aws_restJson1.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -6522,7 +6522,7 @@ const serializeAws_restJson1AdvancedBackupSettings = (input: AdvancedBackupSetti
65226522
};
65236523

65246524
const serializeAws_restJson1BackupOptions = (input: { [key: string]: string }, context: __SerdeContext): any => {
6525-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
6525+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
65266526
if (value === null) {
65276527
return acc;
65286528
}
@@ -6636,7 +6636,7 @@ const serializeAws_restJson1CopyActions = (input: CopyAction[], context: __Serde
66366636
};
66376637

66386638
const serializeAws_restJson1GlobalSettings = (input: { [key: string]: string }, context: __SerdeContext): any => {
6639-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
6639+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
66406640
if (value === null) {
66416641
return acc;
66426642
}
@@ -6668,7 +6668,7 @@ const serializeAws_restJson1ListOfTags = (input: Condition[], context: __SerdeCo
66686668
};
66696669

66706670
const serializeAws_restJson1Metadata = (input: { [key: string]: string }, context: __SerdeContext): any => {
6671-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
6671+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
66726672
if (value === null) {
66736673
return acc;
66746674
}
@@ -6694,7 +6694,7 @@ const serializeAws_restJson1ResourceTypeOptInPreference = (
66946694
input: { [key: string]: boolean },
66956695
context: __SerdeContext
66966696
): any => {
6697-
return Object.entries(input).reduce((acc: { [key: string]: boolean }, [key, value]: [string, any]) => {
6697+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
66986698
if (value === null) {
66996699
return acc;
67006700
}
@@ -6717,7 +6717,7 @@ const serializeAws_restJson1TagKeyList = (input: string[], context: __SerdeConte
67176717
};
67186718

67196719
const serializeAws_restJson1Tags = (input: { [key: string]: string }, context: __SerdeContext): any => {
6720-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
6720+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
67216721
if (value === null) {
67226722
return acc;
67236723
}

clients/client-batch/protocols/Aws_restJson1.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,7 @@ const serializeAws_restJson1LogConfigurationOptionsMap = (
23042304
input: { [key: string]: string },
23052305
context: __SerdeContext
23062306
): any => {
2307-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
2307+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
23082308
if (value === null) {
23092309
return acc;
23102310
}
@@ -2403,7 +2403,7 @@ const serializeAws_restJson1NodeRangeProperty = (input: NodeRangeProperty, conte
24032403
};
24042404

24052405
const serializeAws_restJson1ParametersMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
2406-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
2406+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
24072407
if (value === null) {
24082408
return acc;
24092409
}
@@ -2486,7 +2486,7 @@ const serializeAws_restJson1StringList = (input: string[], context: __SerdeConte
24862486
};
24872487

24882488
const serializeAws_restJson1TagrisTagsMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
2489-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
2489+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
24902490
if (value === null) {
24912491
return acc;
24922492
}
@@ -2498,7 +2498,7 @@ const serializeAws_restJson1TagrisTagsMap = (input: { [key: string]: string }, c
24982498
};
24992499

25002500
const serializeAws_restJson1TagsMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
2501-
return Object.entries(input).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => {
2501+
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
25022502
if (value === null) {
25032503
return acc;
25042504
}

0 commit comments

Comments
 (0)