Skip to content

Commit 312adb0

Browse files
authored
chore(codegen): use Record type instead of Object (#3659)
1 parent 776214d commit 312adb0

File tree

202 files changed

+625
-624
lines changed

Some content is hidden

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

202 files changed

+625
-624
lines changed

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -2764,7 +2764,7 @@ const serializeAws_restJson1ConfigurationsMap = (
27642764
input: Record<string, Configuration>,
27652765
context: __SerdeContext
27662766
): any => {
2767-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
2767+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
27682768
if (value === null) {
27692769
return acc;
27702770
}
@@ -2786,7 +2786,7 @@ const serializeAws_restJson1Criterion = (input: Criterion, context: __SerdeConte
27862786
};
27872787

27882788
const serializeAws_restJson1FilterCriteriaMap = (input: Record<string, Criterion>, context: __SerdeContext): any => {
2789-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
2789+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
27902790
if (value === null) {
27912791
return acc;
27922792
}
@@ -2838,7 +2838,7 @@ const serializeAws_restJson1InternetConfiguration = (input: InternetConfiguratio
28382838
};
28392839

28402840
const serializeAws_restJson1KmsConstraintsMap = (input: Record<string, string>, context: __SerdeContext): any => {
2841-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
2841+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
28422842
if (value === null) {
28432843
return acc;
28442844
}
@@ -2921,7 +2921,7 @@ const serializeAws_restJson1KmsKeyConfiguration = (input: KmsKeyConfiguration, c
29212921
};
29222922

29232923
const serializeAws_restJson1KmsKeyPoliciesMap = (input: Record<string, string>, context: __SerdeContext): any => {
2924-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
2924+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
29252925
if (value === null) {
29262926
return acc;
29272927
}
@@ -2987,7 +2987,7 @@ const serializeAws_restJson1S3AccessPointConfigurationsMap = (
29872987
input: Record<string, S3AccessPointConfiguration>,
29882988
context: __SerdeContext
29892989
): any => {
2990-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
2990+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
29912991
if (value === null) {
29922992
return acc;
29932993
}
@@ -3080,7 +3080,7 @@ const serializeAws_restJson1SqsQueueConfiguration = (input: SqsQueueConfiguratio
30803080
};
30813081

30823082
const serializeAws_restJson1TagsMap = (input: Record<string, string>, context: __SerdeContext): any => {
3083-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
3083+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
30843084
if (value === null) {
30853085
return acc;
30863086
}

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

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

61426142
const serializeAws_json1_1AuthorizationResult = (input: Record<string, string>, context: __SerdeContext): any => {
6143-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
6143+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
61446144
if (value === null) {
61456145
return acc;
61466146
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1840,7 +1840,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (
18401840
};
18411841

18421842
const serializeAws_restJson1TagMap = (input: Record<string, string>, context: __SerdeContext): any => {
1843-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1843+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
18441844
if (value === null) {
18451845
return acc;
18461846
}

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

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

38483848
const serializeAws_restJson1EnvironmentVariables = (input: Record<string, string>, context: __SerdeContext): any => {
3849-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
3849+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
38503850
if (value === null) {
38513851
return acc;
38523852
}
@@ -3858,7 +3858,7 @@ const serializeAws_restJson1EnvironmentVariables = (input: Record<string, string
38583858
};
38593859

38603860
const serializeAws_restJson1FileMap = (input: Record<string, string>, context: __SerdeContext): any => {
3861-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
3861+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
38623862
if (value === null) {
38633863
return acc;
38643864
}
@@ -3888,7 +3888,7 @@ const serializeAws_restJson1SubDomainSettings = (input: SubDomainSetting[], cont
38883888
};
38893889

38903890
const serializeAws_restJson1TagMap = (input: Record<string, string>, context: __SerdeContext): any => {
3891-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
3891+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
38923892
if (value === null) {
38933893
return acc;
38943894
}

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ const serializeAws_restJson1ComponentBindingProperties = (
15321532
input: Record<string, ComponentBindingPropertiesValue>,
15331533
context: __SerdeContext
15341534
): any => {
1535-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1535+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
15361536
if (value === null) {
15371537
return acc;
15381538
}
@@ -1607,7 +1607,7 @@ const serializeAws_restJson1ComponentCollectionProperties = (
16071607
input: Record<string, ComponentDataConfiguration>,
16081608
context: __SerdeContext
16091609
): any => {
1610-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1610+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
16111611
if (value === null) {
16121612
return acc;
16131613
}
@@ -1660,7 +1660,7 @@ const serializeAws_restJson1ComponentEvent = (input: ComponentEvent, context: __
16601660
};
16611661

16621662
const serializeAws_restJson1ComponentEvents = (input: Record<string, ComponentEvent>, context: __SerdeContext): any => {
1663-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1663+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
16641664
if (value === null) {
16651665
return acc;
16661666
}
@@ -1675,7 +1675,7 @@ const serializeAws_restJson1ComponentOverrides = (
16751675
input: Record<string, Record<string, string>>,
16761676
context: __SerdeContext
16771677
): any => {
1678-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1678+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
16791679
if (value === null) {
16801680
return acc;
16811681
}
@@ -1687,7 +1687,7 @@ const serializeAws_restJson1ComponentOverrides = (
16871687
};
16881688

16891689
const serializeAws_restJson1ComponentOverridesValue = (input: Record<string, string>, context: __SerdeContext): any => {
1690-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1690+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
16911691
if (value === null) {
16921692
return acc;
16931693
}
@@ -1702,7 +1702,7 @@ const serializeAws_restJson1ComponentProperties = (
17021702
input: Record<string, ComponentProperty>,
17031703
context: __SerdeContext
17041704
): any => {
1705-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1705+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
17061706
if (value === null) {
17071707
return acc;
17081708
}
@@ -1791,7 +1791,7 @@ const serializeAws_restJson1ComponentVariants = (input: ComponentVariant[], cont
17911791
};
17921792

17931793
const serializeAws_restJson1ComponentVariantValues = (input: Record<string, string>, context: __SerdeContext): any => {
1794-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1794+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
17951795
if (value === null) {
17961796
return acc;
17971797
}
@@ -1864,7 +1864,7 @@ const serializeAws_restJson1FormBindings = (
18641864
input: Record<string, FormBindingElement>,
18651865
context: __SerdeContext
18661866
): any => {
1867-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1867+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
18681868
if (value === null) {
18691869
return acc;
18701870
}
@@ -1948,7 +1948,7 @@ const serializeAws_restJson1SortPropertyList = (input: SortProperty[], context:
19481948
};
19491949

19501950
const serializeAws_restJson1Tags = (input: Record<string, string>, context: __SerdeContext): any => {
1951-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1951+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
19521952
if (value === null) {
19531953
return acc;
19541954
}

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -13988,7 +13988,7 @@ const serializeAws_restJson1MapOfApiStageThrottleSettings = (
1398813988
input: Record<string, ThrottleSettings>,
1398913989
context: __SerdeContext
1399013990
): any => {
13991-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
13991+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
1399213992
if (value === null) {
1399313993
return acc;
1399413994
}
@@ -14000,7 +14000,7 @@ const serializeAws_restJson1MapOfApiStageThrottleSettings = (
1400014000
};
1400114001

1400214002
const serializeAws_restJson1MapOfStringToBoolean = (input: Record<string, boolean>, context: __SerdeContext): any => {
14003-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
14003+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
1400414004
if (value === null) {
1400514005
return acc;
1400614006
}
@@ -14012,7 +14012,7 @@ const serializeAws_restJson1MapOfStringToBoolean = (input: Record<string, boolea
1401214012
};
1401314013

1401414014
const serializeAws_restJson1MapOfStringToList = (input: Record<string, string[]>, context: __SerdeContext): any => {
14015-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
14015+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
1401614016
if (value === null) {
1401714017
return acc;
1401814018
}
@@ -14024,7 +14024,7 @@ const serializeAws_restJson1MapOfStringToList = (input: Record<string, string[]>
1402414024
};
1402514025

1402614026
const serializeAws_restJson1MapOfStringToString = (input: Record<string, string>, context: __SerdeContext): any => {
14027-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
14027+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
1402814028
if (value === null) {
1402914029
return acc;
1403014030
}

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -8325,7 +8325,7 @@ const serializeAws_restJson1IdentitySourceList = (input: string[], context: __Se
83258325
};
83268326

83278327
const serializeAws_restJson1IntegrationParameters = (input: Record<string, string>, context: __SerdeContext): any => {
8328-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8328+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
83298329
if (value === null) {
83308330
return acc;
83318331
}
@@ -8365,7 +8365,7 @@ const serializeAws_restJson1ResponseParameters = (
83658365
input: Record<string, Record<string, string>>,
83668366
context: __SerdeContext
83678367
): any => {
8368-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8368+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
83698369
if (value === null) {
83708370
return acc;
83718371
}
@@ -8377,7 +8377,7 @@ const serializeAws_restJson1ResponseParameters = (
83778377
};
83788378

83798379
const serializeAws_restJson1RouteModels = (input: Record<string, string>, context: __SerdeContext): any => {
8380-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8380+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
83818381
if (value === null) {
83828382
return acc;
83838383
}
@@ -8392,7 +8392,7 @@ const serializeAws_restJson1RouteParameters = (
83928392
input: Record<string, ParameterConstraints>,
83938393
context: __SerdeContext
83948394
): any => {
8395-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8395+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
83968396
if (value === null) {
83978397
return acc;
83988398
}
@@ -8418,7 +8418,7 @@ const serializeAws_restJson1RouteSettings = (input: RouteSettings, context: __Se
84188418
};
84198419

84208420
const serializeAws_restJson1RouteSettingsMap = (input: Record<string, RouteSettings>, context: __SerdeContext): any => {
8421-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8421+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
84228422
if (value === null) {
84238423
return acc;
84248424
}
@@ -8441,7 +8441,7 @@ const serializeAws_restJson1SecurityGroupIdList = (input: string[], context: __S
84418441
};
84428442

84438443
const serializeAws_restJson1StageVariablesMap = (input: Record<string, string>, context: __SerdeContext): any => {
8444-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8444+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
84458445
if (value === null) {
84468446
return acc;
84478447
}
@@ -8464,7 +8464,7 @@ const serializeAws_restJson1SubnetIdList = (input: string[], context: __SerdeCon
84648464
};
84658465

84668466
const serializeAws_restJson1Tags = (input: Record<string, string>, context: __SerdeContext): any => {
8467-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8467+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
84688468
if (value === null) {
84698469
return acc;
84708470
}
@@ -8476,7 +8476,7 @@ const serializeAws_restJson1Tags = (input: Record<string, string>, context: __Se
84768476
};
84778477

84788478
const serializeAws_restJson1TemplateMap = (input: Record<string, string>, context: __SerdeContext): any => {
8479-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8479+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
84808480
if (value === null) {
84818481
return acc;
84828482
}

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

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

36823682
const serializeAws_restJson1TagMap = (input: Record<string, string>, context: __SerdeContext): any => {
3683-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
3683+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
36843684
if (value === null) {
36853685
return acc;
36863686
}

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -2586,7 +2586,7 @@ const serializeAws_restJson1ConnectorTypeList = (input: (ConnectorType | string)
25862586
};
25872587

25882588
const serializeAws_restJson1CredentialsMap = (input: Record<string, string>, context: __SerdeContext): any => {
2589-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
2589+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
25902590
if (value === null) {
25912591
return acc;
25922592
}
@@ -2690,7 +2690,7 @@ const serializeAws_restJson1CustomerProfilesDestinationProperties = (
26902690
};
26912691

26922692
const serializeAws_restJson1CustomProperties = (input: Record<string, string>, context: __SerdeContext): any => {
2693-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
2693+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
26942694
if (value === null) {
26952695
return acc;
26962696
}
@@ -3113,7 +3113,7 @@ const serializeAws_restJson1PrefixConfig = (input: PrefixConfig, context: __Serd
31133113
};
31143114

31153115
const serializeAws_restJson1ProfilePropertiesMap = (input: Record<string, string>, context: __SerdeContext): any => {
3116-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
3116+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
31173117
if (value === null) {
31183118
return acc;
31193119
}
@@ -3588,7 +3588,7 @@ const serializeAws_restJson1SuccessResponseHandlingConfig = (
35883588
};
35893589

35903590
const serializeAws_restJson1TagMap = (input: Record<string, string>, context: __SerdeContext): any => {
3591-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
3591+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
35923592
if (value === null) {
35933593
return acc;
35943594
}
@@ -3619,7 +3619,7 @@ const serializeAws_restJson1Task = (input: Task, context: __SerdeContext): any =
36193619

36203620
const serializeAws_restJson1TaskPropertiesMap = (input: Record<string, string>, context: __SerdeContext): any => {
36213621
return Object.entries(input).reduce(
3622-
(acc: { [key: string]: any }, [key, value]: [OperatorPropertiesKeys | string, any]) => {
3622+
(acc: Record<string, any>, [key, value]: [OperatorPropertiesKeys | string, any]) => {
36233623
if (value === null) {
36243624
return acc;
36253625
}
@@ -3647,7 +3647,7 @@ const serializeAws_restJson1TokenUrlCustomProperties = (
36473647
input: Record<string, string>,
36483648
context: __SerdeContext
36493649
): any => {
3650-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
3650+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
36513651
if (value === null) {
36523652
return acc;
36533653
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ const serializeAws_restJson1ScheduleConfiguration = (input: ScheduleConfiguratio
15811581
};
15821582

15831583
const serializeAws_restJson1TagMap = (input: Record<string, string>, context: __SerdeContext): any => {
1584-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1584+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
15851585
if (value === null) {
15861586
return acc;
15871587
}

clients/client-apprunner/src/protocols/Aws_json1_0.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2542,7 +2542,7 @@ const serializeAws_json1_0RuntimeEnvironmentVariables = (
25422542
input: Record<string, string>,
25432543
context: __SerdeContext
25442544
): any => {
2545-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
2545+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
25462546
if (value === null) {
25472547
return acc;
25482548
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5631,7 +5631,7 @@ const serializeAws_json1_1TagResourceRequest = (input: TagResourceRequest, conte
56315631
};
56325632

56335633
const serializeAws_json1_1Tags = (input: Record<string, string>, context: __SerdeContext): any => {
5634-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
5634+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
56355635
if (value === null) {
56365636
return acc;
56375637
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5125,7 +5125,7 @@ const serializeAws_restJson1SyncConfig = (input: SyncConfig, context: __SerdeCon
51255125
};
51265126

51275127
const serializeAws_restJson1TagMap = (input: Record<string, string>, context: __SerdeContext): any => {
5128-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
5128+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
51295129
if (value === null) {
51305130
return acc;
51315131
}

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

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

26262626
const serializeAws_json1_1ParametersMap = (input: Record<string, string>, context: __SerdeContext): any => {
2627-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
2627+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
26282628
if (value === null) {
26292629
return acc;
26302630
}

0 commit comments

Comments
 (0)