Skip to content

Commit 25526cf

Browse files
committed
chore(clients): use Record type instead of Object
1 parent e9cbc85 commit 25526cf

File tree

199 files changed

+622
-621
lines changed

Some content is hidden

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

199 files changed

+622
-621
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2764,7 +2764,7 @@ const serializeAws_restJson1ConfigurationsMap = (
27642764
input: { [key: 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: { [key: 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: { [key: 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: { [key: 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: { [key: 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: { [key: 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

Lines changed: 1 addition & 1 deletion
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: { [key: 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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1840,7 +1840,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (
18401840
};
18411841

18421842
const serializeAws_restJson1TagMap = (input: { [key: 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

Lines changed: 3 additions & 3 deletions
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: { [key: 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: { [key: string]: stri
38583858
};
38593859

38603860
const serializeAws_restJson1FileMap = (input: { [key: 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: { [key: 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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ const serializeAws_restJson1ComponentBindingProperties = (
15321532
input: { [key: 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: { [key: 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
}
@@ -1663,7 +1663,7 @@ const serializeAws_restJson1ComponentEvents = (
16631663
input: { [key: string]: ComponentEvent },
16641664
context: __SerdeContext
16651665
): any => {
1666-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1666+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
16671667
if (value === null) {
16681668
return acc;
16691669
}
@@ -1678,7 +1678,7 @@ const serializeAws_restJson1ComponentOverrides = (
16781678
input: { [key: string]: { [key: string]: string } },
16791679
context: __SerdeContext
16801680
): any => {
1681-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1681+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
16821682
if (value === null) {
16831683
return acc;
16841684
}
@@ -1693,7 +1693,7 @@ const serializeAws_restJson1ComponentOverridesValue = (
16931693
input: { [key: string]: string },
16941694
context: __SerdeContext
16951695
): any => {
1696-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1696+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
16971697
if (value === null) {
16981698
return acc;
16991699
}
@@ -1708,7 +1708,7 @@ const serializeAws_restJson1ComponentProperties = (
17081708
input: { [key: string]: ComponentProperty },
17091709
context: __SerdeContext
17101710
): any => {
1711-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1711+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
17121712
if (value === null) {
17131713
return acc;
17141714
}
@@ -1800,7 +1800,7 @@ const serializeAws_restJson1ComponentVariantValues = (
18001800
input: { [key: string]: string },
18011801
context: __SerdeContext
18021802
): any => {
1803-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1803+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
18041804
if (value === null) {
18051805
return acc;
18061806
}
@@ -1873,7 +1873,7 @@ const serializeAws_restJson1FormBindings = (
18731873
input: { [key: string]: FormBindingElement },
18741874
context: __SerdeContext
18751875
): any => {
1876-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1876+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
18771877
if (value === null) {
18781878
return acc;
18791879
}
@@ -1957,7 +1957,7 @@ const serializeAws_restJson1SortPropertyList = (input: SortProperty[], context:
19571957
};
19581958

19591959
const serializeAws_restJson1Tags = (input: { [key: string]: string }, context: __SerdeContext): any => {
1960-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
1960+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
19611961
if (value === null) {
19621962
return acc;
19631963
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13988,7 +13988,7 @@ const serializeAws_restJson1MapOfApiStageThrottleSettings = (
1398813988
input: { [key: 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
}
@@ -14003,7 +14003,7 @@ const serializeAws_restJson1MapOfStringToBoolean = (
1400314003
input: { [key: string]: boolean },
1400414004
context: __SerdeContext
1400514005
): any => {
14006-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
14006+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
1400714007
if (value === null) {
1400814008
return acc;
1400914009
}
@@ -14015,7 +14015,7 @@ const serializeAws_restJson1MapOfStringToBoolean = (
1401514015
};
1401614016

1401714017
const serializeAws_restJson1MapOfStringToList = (input: { [key: string]: string[] }, context: __SerdeContext): any => {
14018-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
14018+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
1401914019
if (value === null) {
1402014020
return acc;
1402114021
}
@@ -14027,7 +14027,7 @@ const serializeAws_restJson1MapOfStringToList = (input: { [key: string]: string[
1402714027
};
1402814028

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

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8328,7 +8328,7 @@ const serializeAws_restJson1IntegrationParameters = (
83288328
input: { [key: string]: string },
83298329
context: __SerdeContext
83308330
): any => {
8331-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8331+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
83328332
if (value === null) {
83338333
return acc;
83348334
}
@@ -8368,7 +8368,7 @@ const serializeAws_restJson1ResponseParameters = (
83688368
input: { [key: string]: { [key: string]: string } },
83698369
context: __SerdeContext
83708370
): any => {
8371-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8371+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
83728372
if (value === null) {
83738373
return acc;
83748374
}
@@ -8380,7 +8380,7 @@ const serializeAws_restJson1ResponseParameters = (
83808380
};
83818381

83828382
const serializeAws_restJson1RouteModels = (input: { [key: string]: string }, context: __SerdeContext): any => {
8383-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8383+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
83848384
if (value === null) {
83858385
return acc;
83868386
}
@@ -8395,7 +8395,7 @@ const serializeAws_restJson1RouteParameters = (
83958395
input: { [key: string]: ParameterConstraints },
83968396
context: __SerdeContext
83978397
): any => {
8398-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8398+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
83998399
if (value === null) {
84008400
return acc;
84018401
}
@@ -8424,7 +8424,7 @@ const serializeAws_restJson1RouteSettingsMap = (
84248424
input: { [key: string]: RouteSettings },
84258425
context: __SerdeContext
84268426
): any => {
8427-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8427+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
84288428
if (value === null) {
84298429
return acc;
84308430
}
@@ -8447,7 +8447,7 @@ const serializeAws_restJson1SecurityGroupIdList = (input: string[], context: __S
84478447
};
84488448

84498449
const serializeAws_restJson1StageVariablesMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
8450-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8450+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
84518451
if (value === null) {
84528452
return acc;
84538453
}
@@ -8470,7 +8470,7 @@ const serializeAws_restJson1SubnetIdList = (input: string[], context: __SerdeCon
84708470
};
84718471

84728472
const serializeAws_restJson1Tags = (input: { [key: string]: string }, context: __SerdeContext): any => {
8473-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8473+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
84748474
if (value === null) {
84758475
return acc;
84768476
}
@@ -8482,7 +8482,7 @@ const serializeAws_restJson1Tags = (input: { [key: string]: string }, context: _
84828482
};
84838483

84848484
const serializeAws_restJson1TemplateMap = (input: { [key: string]: string }, context: __SerdeContext): any => {
8485-
return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => {
8485+
return Object.entries(input).reduce((acc: Record<string, any>, [key, value]: [string, any]) => {
84868486
if (value === null) {
84878487
return acc;
84888488
}

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

Lines changed: 1 addition & 1 deletion
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: { [key: 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

Lines changed: 6 additions & 6 deletions
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: { [key: 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: { [key: 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: { [key: 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: { [key: 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: { [key: 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: { [key: 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

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

15831583
const serializeAws_restJson1TagMap = (input: { [key: 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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2542,7 +2542,7 @@ const serializeAws_json1_0RuntimeEnvironmentVariables = (
25422542
input: { [key: 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

Lines changed: 1 addition & 1 deletion
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: { [key: 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

Lines changed: 1 addition & 1 deletion
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: { [key: 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

Lines changed: 1 addition & 1 deletion
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: { [key: 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)