@@ -14412,6 +14412,10 @@ const serializeAws_json1_1CreateCsvClassifierRequest = (
14412
14412
return {
14413
14413
...(input.AllowSingleColumn != null && { AllowSingleColumn: input.AllowSingleColumn }),
14414
14414
...(input.ContainsHeader != null && { ContainsHeader: input.ContainsHeader }),
14415
+ ...(input.CustomDatatypeConfigured != null && { CustomDatatypeConfigured: input.CustomDatatypeConfigured }),
14416
+ ...(input.CustomDatatypes != null && {
14417
+ CustomDatatypes: serializeAws_json1_1CustomDatatypes(input.CustomDatatypes, context),
14418
+ }),
14415
14419
...(input.Delimiter != null && { Delimiter: input.Delimiter }),
14416
14420
...(input.DisableValueTrimming != null && { DisableValueTrimming: input.DisableValueTrimming }),
14417
14421
...(input.Header != null && { Header: serializeAws_json1_1CsvHeader(input.Header, context) }),
@@ -14727,6 +14731,14 @@ const serializeAws_json1_1CustomCode = (input: CustomCode, context: __SerdeConte
14727
14731
};
14728
14732
};
14729
14733
14734
+ const serializeAws_json1_1CustomDatatypes = (input: string[], context: __SerdeContext): any => {
14735
+ return input
14736
+ .filter((e: any) => e != null)
14737
+ .map((entry) => {
14738
+ return entry;
14739
+ });
14740
+ };
14741
+
14730
14742
const serializeAws_json1_1CustomEntityTypeNames = (input: string[], context: __SerdeContext): any => {
14731
14743
return input
14732
14744
.filter((e: any) => e != null)
@@ -17925,6 +17937,10 @@ const serializeAws_json1_1UpdateCsvClassifierRequest = (
17925
17937
return {
17926
17938
...(input.AllowSingleColumn != null && { AllowSingleColumn: input.AllowSingleColumn }),
17927
17939
...(input.ContainsHeader != null && { ContainsHeader: input.ContainsHeader }),
17940
+ ...(input.CustomDatatypeConfigured != null && { CustomDatatypeConfigured: input.CustomDatatypeConfigured }),
17941
+ ...(input.CustomDatatypes != null && {
17942
+ CustomDatatypes: serializeAws_json1_1CustomDatatypes(input.CustomDatatypes, context),
17943
+ }),
17928
17944
...(input.Delimiter != null && { Delimiter: input.Delimiter }),
17929
17945
...(input.DisableValueTrimming != null && { DisableValueTrimming: input.DisableValueTrimming }),
17930
17946
...(input.Header != null && { Header: serializeAws_json1_1CsvHeader(input.Header, context) }),
@@ -19810,6 +19826,11 @@ const deserializeAws_json1_1CsvClassifier = (output: any, context: __SerdeContex
19810
19826
output.CreationTime != null
19811
19827
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
19812
19828
: undefined,
19829
+ CustomDatatypeConfigured: __expectBoolean(output.CustomDatatypeConfigured),
19830
+ CustomDatatypes:
19831
+ output.CustomDatatypes != null
19832
+ ? deserializeAws_json1_1CustomDatatypes(output.CustomDatatypes, context)
19833
+ : undefined,
19813
19834
Delimiter: __expectString(output.Delimiter),
19814
19835
DisableValueTrimming: __expectBoolean(output.DisableValueTrimming),
19815
19836
Header: output.Header != null ? deserializeAws_json1_1CsvHeader(output.Header, context) : undefined,
@@ -19846,6 +19867,18 @@ const deserializeAws_json1_1CustomCode = (output: any, context: __SerdeContext):
19846
19867
} as any;
19847
19868
};
19848
19869
19870
+ const deserializeAws_json1_1CustomDatatypes = (output: any, context: __SerdeContext): string[] => {
19871
+ const retVal = (output || [])
19872
+ .filter((e: any) => e != null)
19873
+ .map((entry: any) => {
19874
+ if (entry === null) {
19875
+ return null as any;
19876
+ }
19877
+ return __expectString(entry) as any;
19878
+ });
19879
+ return retVal;
19880
+ };
19881
+
19849
19882
const deserializeAws_json1_1CustomEntityType = (output: any, context: __SerdeContext): CustomEntityType => {
19850
19883
return {
19851
19884
ContextWords:
0 commit comments