@aws-sdk/client-databrew 3.121.0 → 3.130.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,8 +24,7 @@ export var serializeAws_restJson1BatchDeleteRecipeVersionCommand = function (inp
24
24
  else {
25
25
  throw new Error("No value provided for input HTTP label: Name.");
26
26
  }
27
- body = JSON.stringify(__assign({}, (input.RecipeVersions !== undefined &&
28
- input.RecipeVersions !== null && {
27
+ body = JSON.stringify(__assign({}, (input.RecipeVersions != null && {
29
28
  RecipeVersions: serializeAws_restJson1RecipeVersionList(input.RecipeVersions, context),
30
29
  })));
31
30
  return [2, new __HttpRequest({
@@ -51,12 +50,9 @@ export var serializeAws_restJson1CreateDatasetCommand = function (input, context
51
50
  "content-type": "application/json",
52
51
  };
53
52
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasets";
54
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.FormatOptions !== undefined &&
55
- input.FormatOptions !== null && {
53
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Format != null && { Format: input.Format })), (input.FormatOptions != null && {
56
54
  FormatOptions: serializeAws_restJson1FormatOptions(input.FormatOptions, context),
57
- })), (input.Input !== undefined &&
58
- input.Input !== null && { Input: serializeAws_restJson1Input(input.Input, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PathOptions !== undefined &&
59
- input.PathOptions !== null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
55
+ })), (input.Input != null && { Input: serializeAws_restJson1Input(input.Input, context) })), (input.Name != null && { Name: input.Name })), (input.PathOptions != null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
60
56
  return [2, new __HttpRequest({
61
57
  protocol: protocol,
62
58
  hostname: hostname,
@@ -80,18 +76,11 @@ export var serializeAws_restJson1CreateProfileJobCommand = function (input, cont
80
76
  "content-type": "application/json",
81
77
  };
82
78
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/profileJobs";
83
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration !== undefined &&
84
- input.Configuration !== null && {
79
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
85
80
  Configuration: serializeAws_restJson1ProfileConfiguration(input.Configuration, context),
86
- })), (input.DatasetName !== undefined && input.DatasetName !== null && { DatasetName: input.DatasetName })), (input.EncryptionKeyArn !== undefined &&
87
- input.EncryptionKeyArn !== null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode !== undefined &&
88
- input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.JobSample !== undefined &&
89
- input.JobSample !== null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) })), (input.LogSubscription !== undefined &&
90
- input.LogSubscription !== null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity !== undefined && input.MaxCapacity !== null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries !== undefined && input.MaxRetries !== null && { MaxRetries: input.MaxRetries })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.OutputLocation !== undefined &&
91
- input.OutputLocation !== null && {
81
+ })), (input.DatasetName != null && { DatasetName: input.DatasetName })), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode })), (input.JobSample != null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) })), (input.LogSubscription != null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries != null && { MaxRetries: input.MaxRetries })), (input.Name != null && { Name: input.Name })), (input.OutputLocation != null && {
92
82
  OutputLocation: serializeAws_restJson1S3Location(input.OutputLocation, context),
93
- })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Timeout !== undefined && input.Timeout !== null && { Timeout: input.Timeout })), (input.ValidationConfigurations !== undefined &&
94
- input.ValidationConfigurations !== null && {
83
+ })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Timeout != null && { Timeout: input.Timeout })), (input.ValidationConfigurations != null && {
95
84
  ValidationConfigurations: serializeAws_restJson1ValidationConfigurationList(input.ValidationConfigurations, context),
96
85
  })));
97
86
  return [2, new __HttpRequest({
@@ -117,8 +106,7 @@ export var serializeAws_restJson1CreateProjectCommand = function (input, context
117
106
  "content-type": "application/json",
118
107
  };
119
108
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/projects";
120
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DatasetName !== undefined && input.DatasetName !== null && { DatasetName: input.DatasetName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RecipeName !== undefined && input.RecipeName !== null && { RecipeName: input.RecipeName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Sample !== undefined &&
121
- input.Sample !== null && { Sample: serializeAws_restJson1Sample(input.Sample, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
109
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DatasetName != null && { DatasetName: input.DatasetName })), (input.Name != null && { Name: input.Name })), (input.RecipeName != null && { RecipeName: input.RecipeName })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Sample != null && { Sample: serializeAws_restJson1Sample(input.Sample, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
122
110
  return [2, new __HttpRequest({
123
111
  protocol: protocol,
124
112
  hostname: hostname,
@@ -142,8 +130,7 @@ export var serializeAws_restJson1CreateRecipeCommand = function (input, context)
142
130
  "content-type": "application/json",
143
131
  };
144
132
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipes";
145
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Steps !== undefined &&
146
- input.Steps !== null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
133
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.Steps != null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
147
134
  return [2, new __HttpRequest({
148
135
  protocol: protocol,
149
136
  hostname: hostname,
@@ -167,20 +154,13 @@ export var serializeAws_restJson1CreateRecipeJobCommand = function (input, conte
167
154
  "content-type": "application/json",
168
155
  };
169
156
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipeJobs";
170
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCatalogOutputs !== undefined &&
171
- input.DataCatalogOutputs !== null && {
157
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCatalogOutputs != null && {
172
158
  DataCatalogOutputs: serializeAws_restJson1DataCatalogOutputList(input.DataCatalogOutputs, context),
173
- })), (input.DatabaseOutputs !== undefined &&
174
- input.DatabaseOutputs !== null && {
159
+ })), (input.DatabaseOutputs != null && {
175
160
  DatabaseOutputs: serializeAws_restJson1DatabaseOutputList(input.DatabaseOutputs, context),
176
- })), (input.DatasetName !== undefined && input.DatasetName !== null && { DatasetName: input.DatasetName })), (input.EncryptionKeyArn !== undefined &&
177
- input.EncryptionKeyArn !== null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode !== undefined &&
178
- input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.LogSubscription !== undefined &&
179
- input.LogSubscription !== null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity !== undefined && input.MaxCapacity !== null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries !== undefined && input.MaxRetries !== null && { MaxRetries: input.MaxRetries })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Outputs !== undefined &&
180
- input.Outputs !== null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) })), (input.ProjectName !== undefined && input.ProjectName !== null && { ProjectName: input.ProjectName })), (input.RecipeReference !== undefined &&
181
- input.RecipeReference !== null && {
161
+ })), (input.DatasetName != null && { DatasetName: input.DatasetName })), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode })), (input.LogSubscription != null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries != null && { MaxRetries: input.MaxRetries })), (input.Name != null && { Name: input.Name })), (input.Outputs != null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) })), (input.ProjectName != null && { ProjectName: input.ProjectName })), (input.RecipeReference != null && {
182
162
  RecipeReference: serializeAws_restJson1RecipeReference(input.RecipeReference, context),
183
- })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Timeout !== undefined && input.Timeout !== null && { Timeout: input.Timeout })));
163
+ })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Timeout != null && { Timeout: input.Timeout })));
184
164
  return [2, new __HttpRequest({
185
165
  protocol: protocol,
186
166
  hostname: hostname,
@@ -204,8 +184,7 @@ export var serializeAws_restJson1CreateRulesetCommand = function (input, context
204
184
  "content-type": "application/json",
205
185
  };
206
186
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rulesets";
207
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Rules !== undefined &&
208
- input.Rules !== null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.TargetArn !== undefined && input.TargetArn !== null && { TargetArn: input.TargetArn })));
187
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.Rules != null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.TargetArn != null && { TargetArn: input.TargetArn })));
209
188
  return [2, new __HttpRequest({
210
189
  protocol: protocol,
211
190
  hostname: hostname,
@@ -229,9 +208,7 @@ export var serializeAws_restJson1CreateScheduleCommand = function (input, contex
229
208
  "content-type": "application/json",
230
209
  };
231
210
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/schedules";
232
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.CronExpression !== undefined &&
233
- input.CronExpression !== null && { CronExpression: input.CronExpression })), (input.JobNames !== undefined &&
234
- input.JobNames !== null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
211
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.CronExpression != null && { CronExpression: input.CronExpression })), (input.JobNames != null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
235
212
  return [2, new __HttpRequest({
236
213
  protocol: protocol,
237
214
  hostname: hostname,
@@ -916,7 +893,7 @@ export var serializeAws_restJson1PublishRecipeCommand = function (input, context
916
893
  else {
917
894
  throw new Error("No value provided for input HTTP label: Name.");
918
895
  }
919
- body = JSON.stringify(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })));
896
+ body = JSON.stringify(__assign({}, (input.Description != null && { Description: input.Description })));
920
897
  return [2, new __HttpRequest({
921
898
  protocol: protocol,
922
899
  hostname: hostname,
@@ -950,10 +927,7 @@ export var serializeAws_restJson1SendProjectSessionActionCommand = function (inp
950
927
  else {
951
928
  throw new Error("No value provided for input HTTP label: Name.");
952
929
  }
953
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.ClientSessionId !== undefined &&
954
- input.ClientSessionId !== null && { ClientSessionId: input.ClientSessionId })), (input.Preview !== undefined && input.Preview !== null && { Preview: input.Preview })), (input.RecipeStep !== undefined &&
955
- input.RecipeStep !== null && { RecipeStep: serializeAws_restJson1RecipeStep(input.RecipeStep, context) })), (input.StepIndex !== undefined && input.StepIndex !== null && { StepIndex: input.StepIndex })), (input.ViewFrame !== undefined &&
956
- input.ViewFrame !== null && { ViewFrame: serializeAws_restJson1ViewFrame(input.ViewFrame, context) })));
930
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.ClientSessionId != null && { ClientSessionId: input.ClientSessionId })), (input.Preview != null && { Preview: input.Preview })), (input.RecipeStep != null && { RecipeStep: serializeAws_restJson1RecipeStep(input.RecipeStep, context) })), (input.StepIndex != null && { StepIndex: input.StepIndex })), (input.ViewFrame != null && { ViewFrame: serializeAws_restJson1ViewFrame(input.ViewFrame, context) })));
957
931
  return [2, new __HttpRequest({
958
932
  protocol: protocol,
959
933
  hostname: hostname,
@@ -1018,7 +992,7 @@ export var serializeAws_restJson1StartProjectSessionCommand = function (input, c
1018
992
  else {
1019
993
  throw new Error("No value provided for input HTTP label: Name.");
1020
994
  }
1021
- body = JSON.stringify(__assign({}, (input.AssumeControl !== undefined && input.AssumeControl !== null && { AssumeControl: input.AssumeControl })));
995
+ body = JSON.stringify(__assign({}, (input.AssumeControl != null && { AssumeControl: input.AssumeControl })));
1022
996
  return [2, new __HttpRequest({
1023
997
  protocol: protocol,
1024
998
  hostname: hostname,
@@ -1093,7 +1067,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
1093
1067
  else {
1094
1068
  throw new Error("No value provided for input HTTP label: ResourceArn.");
1095
1069
  }
1096
- body = JSON.stringify(__assign({}, (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
1070
+ body = JSON.stringify(__assign({}, (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
1097
1071
  return [2, new __HttpRequest({
1098
1072
  protocol: protocol,
1099
1073
  hostname: hostname,
@@ -1160,12 +1134,9 @@ export var serializeAws_restJson1UpdateDatasetCommand = function (input, context
1160
1134
  else {
1161
1135
  throw new Error("No value provided for input HTTP label: Name.");
1162
1136
  }
1163
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.FormatOptions !== undefined &&
1164
- input.FormatOptions !== null && {
1137
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Format != null && { Format: input.Format })), (input.FormatOptions != null && {
1165
1138
  FormatOptions: serializeAws_restJson1FormatOptions(input.FormatOptions, context),
1166
- })), (input.Input !== undefined &&
1167
- input.Input !== null && { Input: serializeAws_restJson1Input(input.Input, context) })), (input.PathOptions !== undefined &&
1168
- input.PathOptions !== null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) })));
1139
+ })), (input.Input != null && { Input: serializeAws_restJson1Input(input.Input, context) })), (input.PathOptions != null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) })));
1169
1140
  return [2, new __HttpRequest({
1170
1141
  protocol: protocol,
1171
1142
  hostname: hostname,
@@ -1199,18 +1170,11 @@ export var serializeAws_restJson1UpdateProfileJobCommand = function (input, cont
1199
1170
  else {
1200
1171
  throw new Error("No value provided for input HTTP label: Name.");
1201
1172
  }
1202
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration !== undefined &&
1203
- input.Configuration !== null && {
1173
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
1204
1174
  Configuration: serializeAws_restJson1ProfileConfiguration(input.Configuration, context),
1205
- })), (input.EncryptionKeyArn !== undefined &&
1206
- input.EncryptionKeyArn !== null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode !== undefined &&
1207
- input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.JobSample !== undefined &&
1208
- input.JobSample !== null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) })), (input.LogSubscription !== undefined &&
1209
- input.LogSubscription !== null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity !== undefined && input.MaxCapacity !== null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries !== undefined && input.MaxRetries !== null && { MaxRetries: input.MaxRetries })), (input.OutputLocation !== undefined &&
1210
- input.OutputLocation !== null && {
1175
+ })), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode })), (input.JobSample != null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) })), (input.LogSubscription != null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries != null && { MaxRetries: input.MaxRetries })), (input.OutputLocation != null && {
1211
1176
  OutputLocation: serializeAws_restJson1S3Location(input.OutputLocation, context),
1212
- })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Timeout !== undefined && input.Timeout !== null && { Timeout: input.Timeout })), (input.ValidationConfigurations !== undefined &&
1213
- input.ValidationConfigurations !== null && {
1177
+ })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Timeout != null && { Timeout: input.Timeout })), (input.ValidationConfigurations != null && {
1214
1178
  ValidationConfigurations: serializeAws_restJson1ValidationConfigurationList(input.ValidationConfigurations, context),
1215
1179
  })));
1216
1180
  return [2, new __HttpRequest({
@@ -1246,8 +1210,7 @@ export var serializeAws_restJson1UpdateProjectCommand = function (input, context
1246
1210
  else {
1247
1211
  throw new Error("No value provided for input HTTP label: Name.");
1248
1212
  }
1249
- body = JSON.stringify(__assign(__assign({}, (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Sample !== undefined &&
1250
- input.Sample !== null && { Sample: serializeAws_restJson1Sample(input.Sample, context) })));
1213
+ body = JSON.stringify(__assign(__assign({}, (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Sample != null && { Sample: serializeAws_restJson1Sample(input.Sample, context) })));
1251
1214
  return [2, new __HttpRequest({
1252
1215
  protocol: protocol,
1253
1216
  hostname: hostname,
@@ -1281,8 +1244,7 @@ export var serializeAws_restJson1UpdateRecipeCommand = function (input, context)
1281
1244
  else {
1282
1245
  throw new Error("No value provided for input HTTP label: Name.");
1283
1246
  }
1284
- body = JSON.stringify(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Steps !== undefined &&
1285
- input.Steps !== null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) })));
1247
+ body = JSON.stringify(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Steps != null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) })));
1286
1248
  return [2, new __HttpRequest({
1287
1249
  protocol: protocol,
1288
1250
  hostname: hostname,
@@ -1316,17 +1278,11 @@ export var serializeAws_restJson1UpdateRecipeJobCommand = function (input, conte
1316
1278
  else {
1317
1279
  throw new Error("No value provided for input HTTP label: Name.");
1318
1280
  }
1319
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCatalogOutputs !== undefined &&
1320
- input.DataCatalogOutputs !== null && {
1281
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCatalogOutputs != null && {
1321
1282
  DataCatalogOutputs: serializeAws_restJson1DataCatalogOutputList(input.DataCatalogOutputs, context),
1322
- })), (input.DatabaseOutputs !== undefined &&
1323
- input.DatabaseOutputs !== null && {
1283
+ })), (input.DatabaseOutputs != null && {
1324
1284
  DatabaseOutputs: serializeAws_restJson1DatabaseOutputList(input.DatabaseOutputs, context),
1325
- })), (input.EncryptionKeyArn !== undefined &&
1326
- input.EncryptionKeyArn !== null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode !== undefined &&
1327
- input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.LogSubscription !== undefined &&
1328
- input.LogSubscription !== null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity !== undefined && input.MaxCapacity !== null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries !== undefined && input.MaxRetries !== null && { MaxRetries: input.MaxRetries })), (input.Outputs !== undefined &&
1329
- input.Outputs !== null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Timeout !== undefined && input.Timeout !== null && { Timeout: input.Timeout })));
1285
+ })), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode })), (input.LogSubscription != null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries != null && { MaxRetries: input.MaxRetries })), (input.Outputs != null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Timeout != null && { Timeout: input.Timeout })));
1330
1286
  return [2, new __HttpRequest({
1331
1287
  protocol: protocol,
1332
1288
  hostname: hostname,
@@ -1360,8 +1316,7 @@ export var serializeAws_restJson1UpdateRulesetCommand = function (input, context
1360
1316
  else {
1361
1317
  throw new Error("No value provided for input HTTP label: Name.");
1362
1318
  }
1363
- body = JSON.stringify(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Rules !== undefined &&
1364
- input.Rules !== null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) })));
1319
+ body = JSON.stringify(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Rules != null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) })));
1365
1320
  return [2, new __HttpRequest({
1366
1321
  protocol: protocol,
1367
1322
  hostname: hostname,
@@ -1395,9 +1350,7 @@ export var serializeAws_restJson1UpdateScheduleCommand = function (input, contex
1395
1350
  else {
1396
1351
  throw new Error("No value provided for input HTTP label: Name.");
1397
1352
  }
1398
- body = JSON.stringify(__assign(__assign({}, (input.CronExpression !== undefined &&
1399
- input.CronExpression !== null && { CronExpression: input.CronExpression })), (input.JobNames !== undefined &&
1400
- input.JobNames !== null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) })));
1353
+ body = JSON.stringify(__assign(__assign({}, (input.CronExpression != null && { CronExpression: input.CronExpression })), (input.JobNames != null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) })));
1401
1354
  return [2, new __HttpRequest({
1402
1355
  protocol: protocol,
1403
1356
  hostname: hostname,
@@ -4701,8 +4654,7 @@ var serializeAws_restJson1AllowedStatisticList = function (input, context) {
4701
4654
  });
4702
4655
  };
4703
4656
  var serializeAws_restJson1AllowedStatistics = function (input, context) {
4704
- return __assign({}, (input.Statistics !== undefined &&
4705
- input.Statistics !== null && { Statistics: serializeAws_restJson1StatisticList(input.Statistics, context) }));
4657
+ return __assign({}, (input.Statistics != null && { Statistics: serializeAws_restJson1StatisticList(input.Statistics, context) }));
4706
4658
  };
4707
4659
  var serializeAws_restJson1ColumnNameList = function (input, context) {
4708
4660
  return input
@@ -4715,7 +4667,7 @@ var serializeAws_restJson1ColumnNameList = function (input, context) {
4715
4667
  });
4716
4668
  };
4717
4669
  var serializeAws_restJson1ColumnSelector = function (input, context) {
4718
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Regex !== undefined && input.Regex !== null && { Regex: input.Regex }));
4670
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Regex != null && { Regex: input.Regex }));
4719
4671
  };
4720
4672
  var serializeAws_restJson1ColumnSelectorList = function (input, context) {
4721
4673
  return input
@@ -4728,9 +4680,7 @@ var serializeAws_restJson1ColumnSelectorList = function (input, context) {
4728
4680
  });
4729
4681
  };
4730
4682
  var serializeAws_restJson1ColumnStatisticsConfiguration = function (input, context) {
4731
- return __assign(__assign({}, (input.Selectors !== undefined &&
4732
- input.Selectors !== null && { Selectors: serializeAws_restJson1ColumnSelectorList(input.Selectors, context) })), (input.Statistics !== undefined &&
4733
- input.Statistics !== null && {
4683
+ return __assign(__assign({}, (input.Selectors != null && { Selectors: serializeAws_restJson1ColumnSelectorList(input.Selectors, context) })), (input.Statistics != null && {
4734
4684
  Statistics: serializeAws_restJson1StatisticsConfiguration(input.Statistics, context),
4735
4685
  }));
4736
4686
  };
@@ -4745,7 +4695,7 @@ var serializeAws_restJson1ColumnStatisticsConfigurationList = function (input, c
4745
4695
  });
4746
4696
  };
4747
4697
  var serializeAws_restJson1ConditionExpression = function (input, context) {
4748
- return __assign(__assign(__assign({}, (input.Condition !== undefined && input.Condition !== null && { Condition: input.Condition })), (input.TargetColumn !== undefined && input.TargetColumn !== null && { TargetColumn: input.TargetColumn })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
4698
+ return __assign(__assign(__assign({}, (input.Condition != null && { Condition: input.Condition })), (input.TargetColumn != null && { TargetColumn: input.TargetColumn })), (input.Value != null && { Value: input.Value }));
4749
4699
  };
4750
4700
  var serializeAws_restJson1ConditionExpressionList = function (input, context) {
4751
4701
  return input
@@ -4758,26 +4708,20 @@ var serializeAws_restJson1ConditionExpressionList = function (input, context) {
4758
4708
  });
4759
4709
  };
4760
4710
  var serializeAws_restJson1CsvOptions = function (input, context) {
4761
- return __assign(__assign({}, (input.Delimiter !== undefined && input.Delimiter !== null && { Delimiter: input.Delimiter })), (input.HeaderRow !== undefined && input.HeaderRow !== null && { HeaderRow: input.HeaderRow }));
4711
+ return __assign(__assign({}, (input.Delimiter != null && { Delimiter: input.Delimiter })), (input.HeaderRow != null && { HeaderRow: input.HeaderRow }));
4762
4712
  };
4763
4713
  var serializeAws_restJson1CsvOutputOptions = function (input, context) {
4764
- return __assign({}, (input.Delimiter !== undefined && input.Delimiter !== null && { Delimiter: input.Delimiter }));
4714
+ return __assign({}, (input.Delimiter != null && { Delimiter: input.Delimiter }));
4765
4715
  };
4766
4716
  var serializeAws_restJson1DatabaseInputDefinition = function (input, context) {
4767
- return __assign(__assign(__assign(__assign({}, (input.DatabaseTableName !== undefined &&
4768
- input.DatabaseTableName !== null && { DatabaseTableName: input.DatabaseTableName })), (input.GlueConnectionName !== undefined &&
4769
- input.GlueConnectionName !== null && { GlueConnectionName: input.GlueConnectionName })), (input.QueryString !== undefined && input.QueryString !== null && { QueryString: input.QueryString })), (input.TempDirectory !== undefined &&
4770
- input.TempDirectory !== null && {
4717
+ return __assign(__assign(__assign(__assign({}, (input.DatabaseTableName != null && { DatabaseTableName: input.DatabaseTableName })), (input.GlueConnectionName != null && { GlueConnectionName: input.GlueConnectionName })), (input.QueryString != null && { QueryString: input.QueryString })), (input.TempDirectory != null && {
4771
4718
  TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context),
4772
4719
  }));
4773
4720
  };
4774
4721
  var serializeAws_restJson1DatabaseOutput = function (input, context) {
4775
- return __assign(__assign(__assign({}, (input.DatabaseOptions !== undefined &&
4776
- input.DatabaseOptions !== null && {
4722
+ return __assign(__assign(__assign({}, (input.DatabaseOptions != null && {
4777
4723
  DatabaseOptions: serializeAws_restJson1DatabaseTableOutputOptions(input.DatabaseOptions, context),
4778
- })), (input.DatabaseOutputMode !== undefined &&
4779
- input.DatabaseOutputMode !== null && { DatabaseOutputMode: input.DatabaseOutputMode })), (input.GlueConnectionName !== undefined &&
4780
- input.GlueConnectionName !== null && { GlueConnectionName: input.GlueConnectionName }));
4724
+ })), (input.DatabaseOutputMode != null && { DatabaseOutputMode: input.DatabaseOutputMode })), (input.GlueConnectionName != null && { GlueConnectionName: input.GlueConnectionName }));
4781
4725
  };
4782
4726
  var serializeAws_restJson1DatabaseOutputList = function (input, context) {
4783
4727
  return input
@@ -4790,23 +4734,19 @@ var serializeAws_restJson1DatabaseOutputList = function (input, context) {
4790
4734
  });
4791
4735
  };
4792
4736
  var serializeAws_restJson1DatabaseTableOutputOptions = function (input, context) {
4793
- return __assign(__assign({}, (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.TempDirectory !== undefined &&
4794
- input.TempDirectory !== null && {
4737
+ return __assign(__assign({}, (input.TableName != null && { TableName: input.TableName })), (input.TempDirectory != null && {
4795
4738
  TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context),
4796
4739
  }));
4797
4740
  };
4798
4741
  var serializeAws_restJson1DataCatalogInputDefinition = function (input, context) {
4799
- return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.TempDirectory !== undefined &&
4800
- input.TempDirectory !== null && {
4742
+ return __assign(__assign(__assign(__assign({}, (input.CatalogId != null && { CatalogId: input.CatalogId })), (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.TableName != null && { TableName: input.TableName })), (input.TempDirectory != null && {
4801
4743
  TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context),
4802
4744
  }));
4803
4745
  };
4804
4746
  var serializeAws_restJson1DataCatalogOutput = function (input, context) {
4805
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.DatabaseOptions !== undefined &&
4806
- input.DatabaseOptions !== null && {
4747
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId != null && { CatalogId: input.CatalogId })), (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.DatabaseOptions != null && {
4807
4748
  DatabaseOptions: serializeAws_restJson1DatabaseTableOutputOptions(input.DatabaseOptions, context),
4808
- })), (input.Overwrite !== undefined && input.Overwrite !== null && { Overwrite: input.Overwrite })), (input.S3Options !== undefined &&
4809
- input.S3Options !== null && { S3Options: serializeAws_restJson1S3TableOutputOptions(input.S3Options, context) })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
4749
+ })), (input.Overwrite != null && { Overwrite: input.Overwrite })), (input.S3Options != null && { S3Options: serializeAws_restJson1S3TableOutputOptions(input.S3Options, context) })), (input.TableName != null && { TableName: input.TableName }));
4810
4750
  };
4811
4751
  var serializeAws_restJson1DataCatalogOutputList = function (input, context) {
4812
4752
  return input
@@ -4819,22 +4759,17 @@ var serializeAws_restJson1DataCatalogOutputList = function (input, context) {
4819
4759
  });
4820
4760
  };
4821
4761
  var serializeAws_restJson1DatasetParameter = function (input, context) {
4822
- return __assign(__assign(__assign(__assign(__assign({}, (input.CreateColumn !== undefined && input.CreateColumn !== null && { CreateColumn: input.CreateColumn })), (input.DatetimeOptions !== undefined &&
4823
- input.DatetimeOptions !== null && {
4762
+ return __assign(__assign(__assign(__assign(__assign({}, (input.CreateColumn != null && { CreateColumn: input.CreateColumn })), (input.DatetimeOptions != null && {
4824
4763
  DatetimeOptions: serializeAws_restJson1DatetimeOptions(input.DatetimeOptions, context),
4825
- })), (input.Filter !== undefined &&
4826
- input.Filter !== null && { Filter: serializeAws_restJson1FilterExpression(input.Filter, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
4764
+ })), (input.Filter != null && { Filter: serializeAws_restJson1FilterExpression(input.Filter, context) })), (input.Name != null && { Name: input.Name })), (input.Type != null && { Type: input.Type }));
4827
4765
  };
4828
4766
  var serializeAws_restJson1DatetimeOptions = function (input, context) {
4829
- return __assign(__assign(__assign({}, (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.LocaleCode !== undefined && input.LocaleCode !== null && { LocaleCode: input.LocaleCode })), (input.TimezoneOffset !== undefined &&
4830
- input.TimezoneOffset !== null && { TimezoneOffset: input.TimezoneOffset }));
4767
+ return __assign(__assign(__assign({}, (input.Format != null && { Format: input.Format })), (input.LocaleCode != null && { LocaleCode: input.LocaleCode })), (input.TimezoneOffset != null && { TimezoneOffset: input.TimezoneOffset }));
4831
4768
  };
4832
4769
  var serializeAws_restJson1EntityDetectorConfiguration = function (input, context) {
4833
- return __assign(__assign({}, (input.AllowedStatistics !== undefined &&
4834
- input.AllowedStatistics !== null && {
4770
+ return __assign(__assign({}, (input.AllowedStatistics != null && {
4835
4771
  AllowedStatistics: serializeAws_restJson1AllowedStatisticList(input.AllowedStatistics, context),
4836
- })), (input.EntityTypes !== undefined &&
4837
- input.EntityTypes !== null && { EntityTypes: serializeAws_restJson1EntityTypeList(input.EntityTypes, context) }));
4772
+ })), (input.EntityTypes != null && { EntityTypes: serializeAws_restJson1EntityTypeList(input.EntityTypes, context) }));
4838
4773
  };
4839
4774
  var serializeAws_restJson1EntityTypeList = function (input, context) {
4840
4775
  return input
@@ -4847,23 +4782,18 @@ var serializeAws_restJson1EntityTypeList = function (input, context) {
4847
4782
  });
4848
4783
  };
4849
4784
  var serializeAws_restJson1ExcelOptions = function (input, context) {
4850
- return __assign(__assign(__assign({}, (input.HeaderRow !== undefined && input.HeaderRow !== null && { HeaderRow: input.HeaderRow })), (input.SheetIndexes !== undefined &&
4851
- input.SheetIndexes !== null && {
4785
+ return __assign(__assign(__assign({}, (input.HeaderRow != null && { HeaderRow: input.HeaderRow })), (input.SheetIndexes != null && {
4852
4786
  SheetIndexes: serializeAws_restJson1SheetIndexList(input.SheetIndexes, context),
4853
- })), (input.SheetNames !== undefined &&
4854
- input.SheetNames !== null && { SheetNames: serializeAws_restJson1SheetNameList(input.SheetNames, context) }));
4787
+ })), (input.SheetNames != null && { SheetNames: serializeAws_restJson1SheetNameList(input.SheetNames, context) }));
4855
4788
  };
4856
4789
  var serializeAws_restJson1FilesLimit = function (input, context) {
4857
- return __assign(__assign(__assign({}, (input.MaxFiles !== undefined && input.MaxFiles !== null && { MaxFiles: input.MaxFiles })), (input.Order !== undefined && input.Order !== null && { Order: input.Order })), (input.OrderedBy !== undefined && input.OrderedBy !== null && { OrderedBy: input.OrderedBy }));
4790
+ return __assign(__assign(__assign({}, (input.MaxFiles != null && { MaxFiles: input.MaxFiles })), (input.Order != null && { Order: input.Order })), (input.OrderedBy != null && { OrderedBy: input.OrderedBy }));
4858
4791
  };
4859
4792
  var serializeAws_restJson1FilterExpression = function (input, context) {
4860
- return __assign(__assign({}, (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.ValuesMap !== undefined &&
4861
- input.ValuesMap !== null && { ValuesMap: serializeAws_restJson1ValuesMap(input.ValuesMap, context) }));
4793
+ return __assign(__assign({}, (input.Expression != null && { Expression: input.Expression })), (input.ValuesMap != null && { ValuesMap: serializeAws_restJson1ValuesMap(input.ValuesMap, context) }));
4862
4794
  };
4863
4795
  var serializeAws_restJson1FormatOptions = function (input, context) {
4864
- return __assign(__assign(__assign({}, (input.Csv !== undefined && input.Csv !== null && { Csv: serializeAws_restJson1CsvOptions(input.Csv, context) })), (input.Excel !== undefined &&
4865
- input.Excel !== null && { Excel: serializeAws_restJson1ExcelOptions(input.Excel, context) })), (input.Json !== undefined &&
4866
- input.Json !== null && { Json: serializeAws_restJson1JsonOptions(input.Json, context) }));
4796
+ return __assign(__assign(__assign({}, (input.Csv != null && { Csv: serializeAws_restJson1CsvOptions(input.Csv, context) })), (input.Excel != null && { Excel: serializeAws_restJson1ExcelOptions(input.Excel, context) })), (input.Json != null && { Json: serializeAws_restJson1JsonOptions(input.Json, context) }));
4867
4797
  };
4868
4798
  var serializeAws_restJson1HiddenColumnList = function (input, context) {
4869
4799
  return input
@@ -4876,15 +4806,11 @@ var serializeAws_restJson1HiddenColumnList = function (input, context) {
4876
4806
  });
4877
4807
  };
4878
4808
  var serializeAws_restJson1Input = function (input, context) {
4879
- return __assign(__assign(__assign(__assign({}, (input.DataCatalogInputDefinition !== undefined &&
4880
- input.DataCatalogInputDefinition !== null && {
4809
+ return __assign(__assign(__assign(__assign({}, (input.DataCatalogInputDefinition != null && {
4881
4810
  DataCatalogInputDefinition: serializeAws_restJson1DataCatalogInputDefinition(input.DataCatalogInputDefinition, context),
4882
- })), (input.DatabaseInputDefinition !== undefined &&
4883
- input.DatabaseInputDefinition !== null && {
4811
+ })), (input.DatabaseInputDefinition != null && {
4884
4812
  DatabaseInputDefinition: serializeAws_restJson1DatabaseInputDefinition(input.DatabaseInputDefinition, context),
4885
- })), (input.Metadata !== undefined &&
4886
- input.Metadata !== null && { Metadata: serializeAws_restJson1Metadata(input.Metadata, context) })), (input.S3InputDefinition !== undefined &&
4887
- input.S3InputDefinition !== null && {
4813
+ })), (input.Metadata != null && { Metadata: serializeAws_restJson1Metadata(input.Metadata, context) })), (input.S3InputDefinition != null && {
4888
4814
  S3InputDefinition: serializeAws_restJson1S3Location(input.S3InputDefinition, context),
4889
4815
  }));
4890
4816
  };
@@ -4899,29 +4825,23 @@ var serializeAws_restJson1JobNameList = function (input, context) {
4899
4825
  });
4900
4826
  };
4901
4827
  var serializeAws_restJson1JobSample = function (input, context) {
4902
- return __assign(__assign({}, (input.Mode !== undefined && input.Mode !== null && { Mode: input.Mode })), (input.Size !== undefined && input.Size !== null && { Size: input.Size }));
4828
+ return __assign(__assign({}, (input.Mode != null && { Mode: input.Mode })), (input.Size != null && { Size: input.Size }));
4903
4829
  };
4904
4830
  var serializeAws_restJson1JsonOptions = function (input, context) {
4905
- return __assign({}, (input.MultiLine !== undefined && input.MultiLine !== null && { MultiLine: input.MultiLine }));
4831
+ return __assign({}, (input.MultiLine != null && { MultiLine: input.MultiLine }));
4906
4832
  };
4907
4833
  var serializeAws_restJson1Metadata = function (input, context) {
4908
- return __assign({}, (input.SourceArn !== undefined && input.SourceArn !== null && { SourceArn: input.SourceArn }));
4834
+ return __assign({}, (input.SourceArn != null && { SourceArn: input.SourceArn }));
4909
4835
  };
4910
4836
  var serializeAws_restJson1Output = function (input, context) {
4911
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CompressionFormat !== undefined &&
4912
- input.CompressionFormat !== null && { CompressionFormat: input.CompressionFormat })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.FormatOptions !== undefined &&
4913
- input.FormatOptions !== null && {
4837
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat })), (input.Format != null && { Format: input.Format })), (input.FormatOptions != null && {
4914
4838
  FormatOptions: serializeAws_restJson1OutputFormatOptions(input.FormatOptions, context),
4915
- })), (input.Location !== undefined &&
4916
- input.Location !== null && { Location: serializeAws_restJson1S3Location(input.Location, context) })), (input.MaxOutputFiles !== undefined &&
4917
- input.MaxOutputFiles !== null && { MaxOutputFiles: input.MaxOutputFiles })), (input.Overwrite !== undefined && input.Overwrite !== null && { Overwrite: input.Overwrite })), (input.PartitionColumns !== undefined &&
4918
- input.PartitionColumns !== null && {
4839
+ })), (input.Location != null && { Location: serializeAws_restJson1S3Location(input.Location, context) })), (input.MaxOutputFiles != null && { MaxOutputFiles: input.MaxOutputFiles })), (input.Overwrite != null && { Overwrite: input.Overwrite })), (input.PartitionColumns != null && {
4919
4840
  PartitionColumns: serializeAws_restJson1ColumnNameList(input.PartitionColumns, context),
4920
4841
  }));
4921
4842
  };
4922
4843
  var serializeAws_restJson1OutputFormatOptions = function (input, context) {
4923
- return __assign({}, (input.Csv !== undefined &&
4924
- input.Csv !== null && { Csv: serializeAws_restJson1CsvOutputOptions(input.Csv, context) }));
4844
+ return __assign({}, (input.Csv != null && { Csv: serializeAws_restJson1CsvOutputOptions(input.Csv, context) }));
4925
4845
  };
4926
4846
  var serializeAws_restJson1OutputList = function (input, context) {
4927
4847
  return input
@@ -4944,12 +4864,9 @@ var serializeAws_restJson1ParameterMap = function (input, context) {
4944
4864
  }, {});
4945
4865
  };
4946
4866
  var serializeAws_restJson1PathOptions = function (input, context) {
4947
- return __assign(__assign(__assign({}, (input.FilesLimit !== undefined &&
4948
- input.FilesLimit !== null && { FilesLimit: serializeAws_restJson1FilesLimit(input.FilesLimit, context) })), (input.LastModifiedDateCondition !== undefined &&
4949
- input.LastModifiedDateCondition !== null && {
4867
+ return __assign(__assign(__assign({}, (input.FilesLimit != null && { FilesLimit: serializeAws_restJson1FilesLimit(input.FilesLimit, context) })), (input.LastModifiedDateCondition != null && {
4950
4868
  LastModifiedDateCondition: serializeAws_restJson1FilterExpression(input.LastModifiedDateCondition, context),
4951
- })), (input.Parameters !== undefined &&
4952
- input.Parameters !== null && { Parameters: serializeAws_restJson1PathParametersMap(input.Parameters, context) }));
4869
+ })), (input.Parameters != null && { Parameters: serializeAws_restJson1PathParametersMap(input.Parameters, context) }));
4953
4870
  };
4954
4871
  var serializeAws_restJson1PathParametersMap = function (input, context) {
4955
4872
  return Object.entries(input).reduce(function (acc, _a) {
@@ -4962,31 +4879,24 @@ var serializeAws_restJson1PathParametersMap = function (input, context) {
4962
4879
  }, {});
4963
4880
  };
4964
4881
  var serializeAws_restJson1ProfileConfiguration = function (input, context) {
4965
- return __assign(__assign(__assign(__assign({}, (input.ColumnStatisticsConfigurations !== undefined &&
4966
- input.ColumnStatisticsConfigurations !== null && {
4882
+ return __assign(__assign(__assign(__assign({}, (input.ColumnStatisticsConfigurations != null && {
4967
4883
  ColumnStatisticsConfigurations: serializeAws_restJson1ColumnStatisticsConfigurationList(input.ColumnStatisticsConfigurations, context),
4968
- })), (input.DatasetStatisticsConfiguration !== undefined &&
4969
- input.DatasetStatisticsConfiguration !== null && {
4884
+ })), (input.DatasetStatisticsConfiguration != null && {
4970
4885
  DatasetStatisticsConfiguration: serializeAws_restJson1StatisticsConfiguration(input.DatasetStatisticsConfiguration, context),
4971
- })), (input.EntityDetectorConfiguration !== undefined &&
4972
- input.EntityDetectorConfiguration !== null && {
4886
+ })), (input.EntityDetectorConfiguration != null && {
4973
4887
  EntityDetectorConfiguration: serializeAws_restJson1EntityDetectorConfiguration(input.EntityDetectorConfiguration, context),
4974
- })), (input.ProfileColumns !== undefined &&
4975
- input.ProfileColumns !== null && {
4888
+ })), (input.ProfileColumns != null && {
4976
4889
  ProfileColumns: serializeAws_restJson1ColumnSelectorList(input.ProfileColumns, context),
4977
4890
  }));
4978
4891
  };
4979
4892
  var serializeAws_restJson1RecipeAction = function (input, context) {
4980
- return __assign(__assign({}, (input.Operation !== undefined && input.Operation !== null && { Operation: input.Operation })), (input.Parameters !== undefined &&
4981
- input.Parameters !== null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) }));
4893
+ return __assign(__assign({}, (input.Operation != null && { Operation: input.Operation })), (input.Parameters != null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) }));
4982
4894
  };
4983
4895
  var serializeAws_restJson1RecipeReference = function (input, context) {
4984
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RecipeVersion !== undefined && input.RecipeVersion !== null && { RecipeVersion: input.RecipeVersion }));
4896
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.RecipeVersion != null && { RecipeVersion: input.RecipeVersion }));
4985
4897
  };
4986
4898
  var serializeAws_restJson1RecipeStep = function (input, context) {
4987
- return __assign(__assign({}, (input.Action !== undefined &&
4988
- input.Action !== null && { Action: serializeAws_restJson1RecipeAction(input.Action, context) })), (input.ConditionExpressions !== undefined &&
4989
- input.ConditionExpressions !== null && {
4899
+ return __assign(__assign({}, (input.Action != null && { Action: serializeAws_restJson1RecipeAction(input.Action, context) })), (input.ConditionExpressions != null && {
4990
4900
  ConditionExpressions: serializeAws_restJson1ConditionExpressionList(input.ConditionExpressions, context),
4991
4901
  }));
4992
4902
  };
@@ -5011,15 +4921,11 @@ var serializeAws_restJson1RecipeVersionList = function (input, context) {
5011
4921
  });
5012
4922
  };
5013
4923
  var serializeAws_restJson1Rule = function (input, context) {
5014
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CheckExpression !== undefined &&
5015
- input.CheckExpression !== null && { CheckExpression: input.CheckExpression })), (input.ColumnSelectors !== undefined &&
5016
- input.ColumnSelectors !== null && {
4924
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CheckExpression != null && { CheckExpression: input.CheckExpression })), (input.ColumnSelectors != null && {
5017
4925
  ColumnSelectors: serializeAws_restJson1ColumnSelectorList(input.ColumnSelectors, context),
5018
- })), (input.Disabled !== undefined && input.Disabled !== null && { Disabled: input.Disabled })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SubstitutionMap !== undefined &&
5019
- input.SubstitutionMap !== null && {
4926
+ })), (input.Disabled != null && { Disabled: input.Disabled })), (input.Name != null && { Name: input.Name })), (input.SubstitutionMap != null && {
5020
4927
  SubstitutionMap: serializeAws_restJson1ValuesMap(input.SubstitutionMap, context),
5021
- })), (input.Threshold !== undefined &&
5022
- input.Threshold !== null && { Threshold: serializeAws_restJson1Threshold(input.Threshold, context) }));
4928
+ })), (input.Threshold != null && { Threshold: serializeAws_restJson1Threshold(input.Threshold, context) }));
5023
4929
  };
5024
4930
  var serializeAws_restJson1RuleList = function (input, context) {
5025
4931
  return input
@@ -5032,14 +4938,13 @@ var serializeAws_restJson1RuleList = function (input, context) {
5032
4938
  });
5033
4939
  };
5034
4940
  var serializeAws_restJson1S3Location = function (input, context) {
5035
- return __assign(__assign(__assign({}, (input.Bucket !== undefined && input.Bucket !== null && { Bucket: input.Bucket })), (input.BucketOwner !== undefined && input.BucketOwner !== null && { BucketOwner: input.BucketOwner })), (input.Key !== undefined && input.Key !== null && { Key: input.Key }));
4941
+ return __assign(__assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.BucketOwner != null && { BucketOwner: input.BucketOwner })), (input.Key != null && { Key: input.Key }));
5036
4942
  };
5037
4943
  var serializeAws_restJson1S3TableOutputOptions = function (input, context) {
5038
- return __assign({}, (input.Location !== undefined &&
5039
- input.Location !== null && { Location: serializeAws_restJson1S3Location(input.Location, context) }));
4944
+ return __assign({}, (input.Location != null && { Location: serializeAws_restJson1S3Location(input.Location, context) }));
5040
4945
  };
5041
4946
  var serializeAws_restJson1Sample = function (input, context) {
5042
- return __assign(__assign({}, (input.Size !== undefined && input.Size !== null && { Size: input.Size })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
4947
+ return __assign(__assign({}, (input.Size != null && { Size: input.Size })), (input.Type != null && { Type: input.Type }));
5043
4948
  };
5044
4949
  var serializeAws_restJson1SheetIndexList = function (input, context) {
5045
4950
  return input
@@ -5072,8 +4977,7 @@ var serializeAws_restJson1StatisticList = function (input, context) {
5072
4977
  });
5073
4978
  };
5074
4979
  var serializeAws_restJson1StatisticOverride = function (input, context) {
5075
- return __assign(__assign({}, (input.Parameters !== undefined &&
5076
- input.Parameters !== null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) })), (input.Statistic !== undefined && input.Statistic !== null && { Statistic: input.Statistic }));
4980
+ return __assign(__assign({}, (input.Parameters != null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) })), (input.Statistic != null && { Statistic: input.Statistic }));
5077
4981
  };
5078
4982
  var serializeAws_restJson1StatisticOverrideList = function (input, context) {
5079
4983
  return input
@@ -5086,11 +4990,11 @@ var serializeAws_restJson1StatisticOverrideList = function (input, context) {
5086
4990
  });
5087
4991
  };
5088
4992
  var serializeAws_restJson1StatisticsConfiguration = function (input, context) {
5089
- return __assign(__assign({}, (input.IncludedStatistics !== undefined &&
5090
- input.IncludedStatistics !== null && {
4993
+ return __assign(__assign({}, (input.IncludedStatistics != null && {
5091
4994
  IncludedStatistics: serializeAws_restJson1StatisticList(input.IncludedStatistics, context),
5092
- })), (input.Overrides !== undefined &&
5093
- input.Overrides !== null && { Overrides: serializeAws_restJson1StatisticOverrideList(input.Overrides, context) }));
4995
+ })), (input.Overrides != null && {
4996
+ Overrides: serializeAws_restJson1StatisticOverrideList(input.Overrides, context),
4997
+ }));
5094
4998
  };
5095
4999
  var serializeAws_restJson1TagMap = function (input, context) {
5096
5000
  return Object.entries(input).reduce(function (acc, _a) {
@@ -5103,11 +5007,10 @@ var serializeAws_restJson1TagMap = function (input, context) {
5103
5007
  }, {});
5104
5008
  };
5105
5009
  var serializeAws_restJson1Threshold = function (input, context) {
5106
- return __assign(__assign(__assign({}, (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.Unit !== undefined && input.Unit !== null && { Unit: input.Unit })), (input.Value !== undefined && input.Value !== null && { Value: __serializeFloat(input.Value) }));
5010
+ return __assign(__assign(__assign({}, (input.Type != null && { Type: input.Type })), (input.Unit != null && { Unit: input.Unit })), (input.Value != null && { Value: __serializeFloat(input.Value) }));
5107
5011
  };
5108
5012
  var serializeAws_restJson1ValidationConfiguration = function (input, context) {
5109
- return __assign(__assign({}, (input.RulesetArn !== undefined && input.RulesetArn !== null && { RulesetArn: input.RulesetArn })), (input.ValidationMode !== undefined &&
5110
- input.ValidationMode !== null && { ValidationMode: input.ValidationMode }));
5013
+ return __assign(__assign({}, (input.RulesetArn != null && { RulesetArn: input.RulesetArn })), (input.ValidationMode != null && { ValidationMode: input.ValidationMode }));
5111
5014
  };
5112
5015
  var serializeAws_restJson1ValidationConfigurationList = function (input, context) {
5113
5016
  return input
@@ -5130,11 +5033,9 @@ var serializeAws_restJson1ValuesMap = function (input, context) {
5130
5033
  }, {});
5131
5034
  };
5132
5035
  var serializeAws_restJson1ViewFrame = function (input, context) {
5133
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Analytics !== undefined && input.Analytics !== null && { Analytics: input.Analytics })), (input.ColumnRange !== undefined && input.ColumnRange !== null && { ColumnRange: input.ColumnRange })), (input.HiddenColumns !== undefined &&
5134
- input.HiddenColumns !== null && {
5036
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Analytics != null && { Analytics: input.Analytics })), (input.ColumnRange != null && { ColumnRange: input.ColumnRange })), (input.HiddenColumns != null && {
5135
5037
  HiddenColumns: serializeAws_restJson1HiddenColumnList(input.HiddenColumns, context),
5136
- })), (input.RowRange !== undefined && input.RowRange !== null && { RowRange: input.RowRange })), (input.StartColumnIndex !== undefined &&
5137
- input.StartColumnIndex !== null && { StartColumnIndex: input.StartColumnIndex })), (input.StartRowIndex !== undefined && input.StartRowIndex !== null && { StartRowIndex: input.StartRowIndex }));
5038
+ })), (input.RowRange != null && { RowRange: input.RowRange })), (input.StartColumnIndex != null && { StartColumnIndex: input.StartColumnIndex })), (input.StartRowIndex != null && { StartRowIndex: input.StartRowIndex }));
5138
5039
  };
5139
5040
  var deserializeAws_restJson1AllowedStatisticList = function (output, context) {
5140
5041
  var retVal = (output || [])
@@ -5149,9 +5050,7 @@ var deserializeAws_restJson1AllowedStatisticList = function (output, context) {
5149
5050
  };
5150
5051
  var deserializeAws_restJson1AllowedStatistics = function (output, context) {
5151
5052
  return {
5152
- Statistics: output.Statistics !== undefined && output.Statistics !== null
5153
- ? deserializeAws_restJson1StatisticList(output.Statistics, context)
5154
- : undefined,
5053
+ Statistics: output.Statistics != null ? deserializeAws_restJson1StatisticList(output.Statistics, context) : undefined,
5155
5054
  };
5156
5055
  };
5157
5056
  var deserializeAws_restJson1ColumnNameList = function (output, context) {
@@ -5184,10 +5083,8 @@ var deserializeAws_restJson1ColumnSelectorList = function (output, context) {
5184
5083
  };
5185
5084
  var deserializeAws_restJson1ColumnStatisticsConfiguration = function (output, context) {
5186
5085
  return {
5187
- Selectors: output.Selectors !== undefined && output.Selectors !== null
5188
- ? deserializeAws_restJson1ColumnSelectorList(output.Selectors, context)
5189
- : undefined,
5190
- Statistics: output.Statistics !== undefined && output.Statistics !== null
5086
+ Selectors: output.Selectors != null ? deserializeAws_restJson1ColumnSelectorList(output.Selectors, context) : undefined,
5087
+ Statistics: output.Statistics != null
5191
5088
  ? deserializeAws_restJson1StatisticsConfiguration(output.Statistics, context)
5192
5089
  : undefined,
5193
5090
  };
@@ -5237,14 +5134,12 @@ var deserializeAws_restJson1DatabaseInputDefinition = function (output, context)
5237
5134
  DatabaseTableName: __expectString(output.DatabaseTableName),
5238
5135
  GlueConnectionName: __expectString(output.GlueConnectionName),
5239
5136
  QueryString: __expectString(output.QueryString),
5240
- TempDirectory: output.TempDirectory !== undefined && output.TempDirectory !== null
5241
- ? deserializeAws_restJson1S3Location(output.TempDirectory, context)
5242
- : undefined,
5137
+ TempDirectory: output.TempDirectory != null ? deserializeAws_restJson1S3Location(output.TempDirectory, context) : undefined,
5243
5138
  };
5244
5139
  };
5245
5140
  var deserializeAws_restJson1DatabaseOutput = function (output, context) {
5246
5141
  return {
5247
- DatabaseOptions: output.DatabaseOptions !== undefined && output.DatabaseOptions !== null
5142
+ DatabaseOptions: output.DatabaseOptions != null
5248
5143
  ? deserializeAws_restJson1DatabaseTableOutputOptions(output.DatabaseOptions, context)
5249
5144
  : undefined,
5250
5145
  DatabaseOutputMode: __expectString(output.DatabaseOutputMode),
@@ -5265,9 +5160,7 @@ var deserializeAws_restJson1DatabaseOutputList = function (output, context) {
5265
5160
  var deserializeAws_restJson1DatabaseTableOutputOptions = function (output, context) {
5266
5161
  return {
5267
5162
  TableName: __expectString(output.TableName),
5268
- TempDirectory: output.TempDirectory !== undefined && output.TempDirectory !== null
5269
- ? deserializeAws_restJson1S3Location(output.TempDirectory, context)
5270
- : undefined,
5163
+ TempDirectory: output.TempDirectory != null ? deserializeAws_restJson1S3Location(output.TempDirectory, context) : undefined,
5271
5164
  };
5272
5165
  };
5273
5166
  var deserializeAws_restJson1DataCatalogInputDefinition = function (output, context) {
@@ -5275,22 +5168,18 @@ var deserializeAws_restJson1DataCatalogInputDefinition = function (output, conte
5275
5168
  CatalogId: __expectString(output.CatalogId),
5276
5169
  DatabaseName: __expectString(output.DatabaseName),
5277
5170
  TableName: __expectString(output.TableName),
5278
- TempDirectory: output.TempDirectory !== undefined && output.TempDirectory !== null
5279
- ? deserializeAws_restJson1S3Location(output.TempDirectory, context)
5280
- : undefined,
5171
+ TempDirectory: output.TempDirectory != null ? deserializeAws_restJson1S3Location(output.TempDirectory, context) : undefined,
5281
5172
  };
5282
5173
  };
5283
5174
  var deserializeAws_restJson1DataCatalogOutput = function (output, context) {
5284
5175
  return {
5285
5176
  CatalogId: __expectString(output.CatalogId),
5286
5177
  DatabaseName: __expectString(output.DatabaseName),
5287
- DatabaseOptions: output.DatabaseOptions !== undefined && output.DatabaseOptions !== null
5178
+ DatabaseOptions: output.DatabaseOptions != null
5288
5179
  ? deserializeAws_restJson1DatabaseTableOutputOptions(output.DatabaseOptions, context)
5289
5180
  : undefined,
5290
5181
  Overwrite: __expectBoolean(output.Overwrite),
5291
- S3Options: output.S3Options !== undefined && output.S3Options !== null
5292
- ? deserializeAws_restJson1S3TableOutputOptions(output.S3Options, context)
5293
- : undefined,
5182
+ S3Options: output.S3Options != null ? deserializeAws_restJson1S3TableOutputOptions(output.S3Options, context) : undefined,
5294
5183
  TableName: __expectString(output.TableName),
5295
5184
  };
5296
5185
  };
@@ -5308,30 +5197,20 @@ var deserializeAws_restJson1DataCatalogOutputList = function (output, context) {
5308
5197
  var deserializeAws_restJson1Dataset = function (output, context) {
5309
5198
  return {
5310
5199
  AccountId: __expectString(output.AccountId),
5311
- CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
5312
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
5313
- : undefined,
5200
+ CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
5314
5201
  CreatedBy: __expectString(output.CreatedBy),
5315
5202
  Format: __expectString(output.Format),
5316
- FormatOptions: output.FormatOptions !== undefined && output.FormatOptions !== null
5317
- ? deserializeAws_restJson1FormatOptions(output.FormatOptions, context)
5318
- : undefined,
5319
- Input: output.Input !== undefined && output.Input !== null
5320
- ? deserializeAws_restJson1Input(output.Input, context)
5321
- : undefined,
5203
+ FormatOptions: output.FormatOptions != null ? deserializeAws_restJson1FormatOptions(output.FormatOptions, context) : undefined,
5204
+ Input: output.Input != null ? deserializeAws_restJson1Input(output.Input, context) : undefined,
5322
5205
  LastModifiedBy: __expectString(output.LastModifiedBy),
5323
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
5206
+ LastModifiedDate: output.LastModifiedDate != null
5324
5207
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
5325
5208
  : undefined,
5326
5209
  Name: __expectString(output.Name),
5327
- PathOptions: output.PathOptions !== undefined && output.PathOptions !== null
5328
- ? deserializeAws_restJson1PathOptions(output.PathOptions, context)
5329
- : undefined,
5210
+ PathOptions: output.PathOptions != null ? deserializeAws_restJson1PathOptions(output.PathOptions, context) : undefined,
5330
5211
  ResourceArn: __expectString(output.ResourceArn),
5331
5212
  Source: __expectString(output.Source),
5332
- Tags: output.Tags !== undefined && output.Tags !== null
5333
- ? deserializeAws_restJson1TagMap(output.Tags, context)
5334
- : undefined,
5213
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
5335
5214
  };
5336
5215
  };
5337
5216
  var deserializeAws_restJson1DatasetList = function (output, context) {
@@ -5348,12 +5227,10 @@ var deserializeAws_restJson1DatasetList = function (output, context) {
5348
5227
  var deserializeAws_restJson1DatasetParameter = function (output, context) {
5349
5228
  return {
5350
5229
  CreateColumn: __expectBoolean(output.CreateColumn),
5351
- DatetimeOptions: output.DatetimeOptions !== undefined && output.DatetimeOptions !== null
5230
+ DatetimeOptions: output.DatetimeOptions != null
5352
5231
  ? deserializeAws_restJson1DatetimeOptions(output.DatetimeOptions, context)
5353
5232
  : undefined,
5354
- Filter: output.Filter !== undefined && output.Filter !== null
5355
- ? deserializeAws_restJson1FilterExpression(output.Filter, context)
5356
- : undefined,
5233
+ Filter: output.Filter != null ? deserializeAws_restJson1FilterExpression(output.Filter, context) : undefined,
5357
5234
  Name: __expectString(output.Name),
5358
5235
  Type: __expectString(output.Type),
5359
5236
  };
@@ -5367,12 +5244,10 @@ var deserializeAws_restJson1DatetimeOptions = function (output, context) {
5367
5244
  };
5368
5245
  var deserializeAws_restJson1EntityDetectorConfiguration = function (output, context) {
5369
5246
  return {
5370
- AllowedStatistics: output.AllowedStatistics !== undefined && output.AllowedStatistics !== null
5247
+ AllowedStatistics: output.AllowedStatistics != null
5371
5248
  ? deserializeAws_restJson1AllowedStatisticList(output.AllowedStatistics, context)
5372
5249
  : undefined,
5373
- EntityTypes: output.EntityTypes !== undefined && output.EntityTypes !== null
5374
- ? deserializeAws_restJson1EntityTypeList(output.EntityTypes, context)
5375
- : undefined,
5250
+ EntityTypes: output.EntityTypes != null ? deserializeAws_restJson1EntityTypeList(output.EntityTypes, context) : undefined,
5376
5251
  };
5377
5252
  };
5378
5253
  var deserializeAws_restJson1EntityTypeList = function (output, context) {
@@ -5389,12 +5264,8 @@ var deserializeAws_restJson1EntityTypeList = function (output, context) {
5389
5264
  var deserializeAws_restJson1ExcelOptions = function (output, context) {
5390
5265
  return {
5391
5266
  HeaderRow: __expectBoolean(output.HeaderRow),
5392
- SheetIndexes: output.SheetIndexes !== undefined && output.SheetIndexes !== null
5393
- ? deserializeAws_restJson1SheetIndexList(output.SheetIndexes, context)
5394
- : undefined,
5395
- SheetNames: output.SheetNames !== undefined && output.SheetNames !== null
5396
- ? deserializeAws_restJson1SheetNameList(output.SheetNames, context)
5397
- : undefined,
5267
+ SheetIndexes: output.SheetIndexes != null ? deserializeAws_restJson1SheetIndexList(output.SheetIndexes, context) : undefined,
5268
+ SheetNames: output.SheetNames != null ? deserializeAws_restJson1SheetNameList(output.SheetNames, context) : undefined,
5398
5269
  };
5399
5270
  };
5400
5271
  var deserializeAws_restJson1FilesLimit = function (output, context) {
@@ -5407,36 +5278,26 @@ var deserializeAws_restJson1FilesLimit = function (output, context) {
5407
5278
  var deserializeAws_restJson1FilterExpression = function (output, context) {
5408
5279
  return {
5409
5280
  Expression: __expectString(output.Expression),
5410
- ValuesMap: output.ValuesMap !== undefined && output.ValuesMap !== null
5411
- ? deserializeAws_restJson1ValuesMap(output.ValuesMap, context)
5412
- : undefined,
5281
+ ValuesMap: output.ValuesMap != null ? deserializeAws_restJson1ValuesMap(output.ValuesMap, context) : undefined,
5413
5282
  };
5414
5283
  };
5415
5284
  var deserializeAws_restJson1FormatOptions = function (output, context) {
5416
5285
  return {
5417
- Csv: output.Csv !== undefined && output.Csv !== null
5418
- ? deserializeAws_restJson1CsvOptions(output.Csv, context)
5419
- : undefined,
5420
- Excel: output.Excel !== undefined && output.Excel !== null
5421
- ? deserializeAws_restJson1ExcelOptions(output.Excel, context)
5422
- : undefined,
5423
- Json: output.Json !== undefined && output.Json !== null
5424
- ? deserializeAws_restJson1JsonOptions(output.Json, context)
5425
- : undefined,
5286
+ Csv: output.Csv != null ? deserializeAws_restJson1CsvOptions(output.Csv, context) : undefined,
5287
+ Excel: output.Excel != null ? deserializeAws_restJson1ExcelOptions(output.Excel, context) : undefined,
5288
+ Json: output.Json != null ? deserializeAws_restJson1JsonOptions(output.Json, context) : undefined,
5426
5289
  };
5427
5290
  };
5428
5291
  var deserializeAws_restJson1Input = function (output, context) {
5429
5292
  return {
5430
- DataCatalogInputDefinition: output.DataCatalogInputDefinition !== undefined && output.DataCatalogInputDefinition !== null
5293
+ DataCatalogInputDefinition: output.DataCatalogInputDefinition != null
5431
5294
  ? deserializeAws_restJson1DataCatalogInputDefinition(output.DataCatalogInputDefinition, context)
5432
5295
  : undefined,
5433
- DatabaseInputDefinition: output.DatabaseInputDefinition !== undefined && output.DatabaseInputDefinition !== null
5296
+ DatabaseInputDefinition: output.DatabaseInputDefinition != null
5434
5297
  ? deserializeAws_restJson1DatabaseInputDefinition(output.DatabaseInputDefinition, context)
5435
5298
  : undefined,
5436
- Metadata: output.Metadata !== undefined && output.Metadata !== null
5437
- ? deserializeAws_restJson1Metadata(output.Metadata, context)
5438
- : undefined,
5439
- S3InputDefinition: output.S3InputDefinition !== undefined && output.S3InputDefinition !== null
5299
+ Metadata: output.Metadata != null ? deserializeAws_restJson1Metadata(output.Metadata, context) : undefined,
5300
+ S3InputDefinition: output.S3InputDefinition != null
5440
5301
  ? deserializeAws_restJson1S3Location(output.S3InputDefinition, context)
5441
5302
  : undefined,
5442
5303
  };
@@ -5444,45 +5305,37 @@ var deserializeAws_restJson1Input = function (output, context) {
5444
5305
  var deserializeAws_restJson1Job = function (output, context) {
5445
5306
  return {
5446
5307
  AccountId: __expectString(output.AccountId),
5447
- CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
5448
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
5449
- : undefined,
5308
+ CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
5450
5309
  CreatedBy: __expectString(output.CreatedBy),
5451
- DataCatalogOutputs: output.DataCatalogOutputs !== undefined && output.DataCatalogOutputs !== null
5310
+ DataCatalogOutputs: output.DataCatalogOutputs != null
5452
5311
  ? deserializeAws_restJson1DataCatalogOutputList(output.DataCatalogOutputs, context)
5453
5312
  : undefined,
5454
- DatabaseOutputs: output.DatabaseOutputs !== undefined && output.DatabaseOutputs !== null
5313
+ DatabaseOutputs: output.DatabaseOutputs != null
5455
5314
  ? deserializeAws_restJson1DatabaseOutputList(output.DatabaseOutputs, context)
5456
5315
  : undefined,
5457
5316
  DatasetName: __expectString(output.DatasetName),
5458
5317
  EncryptionKeyArn: __expectString(output.EncryptionKeyArn),
5459
5318
  EncryptionMode: __expectString(output.EncryptionMode),
5460
- JobSample: output.JobSample !== undefined && output.JobSample !== null
5461
- ? deserializeAws_restJson1JobSample(output.JobSample, context)
5462
- : undefined,
5319
+ JobSample: output.JobSample != null ? deserializeAws_restJson1JobSample(output.JobSample, context) : undefined,
5463
5320
  LastModifiedBy: __expectString(output.LastModifiedBy),
5464
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
5321
+ LastModifiedDate: output.LastModifiedDate != null
5465
5322
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
5466
5323
  : undefined,
5467
5324
  LogSubscription: __expectString(output.LogSubscription),
5468
5325
  MaxCapacity: __expectInt32(output.MaxCapacity),
5469
5326
  MaxRetries: __expectInt32(output.MaxRetries),
5470
5327
  Name: __expectString(output.Name),
5471
- Outputs: output.Outputs !== undefined && output.Outputs !== null
5472
- ? deserializeAws_restJson1OutputList(output.Outputs, context)
5473
- : undefined,
5328
+ Outputs: output.Outputs != null ? deserializeAws_restJson1OutputList(output.Outputs, context) : undefined,
5474
5329
  ProjectName: __expectString(output.ProjectName),
5475
- RecipeReference: output.RecipeReference !== undefined && output.RecipeReference !== null
5330
+ RecipeReference: output.RecipeReference != null
5476
5331
  ? deserializeAws_restJson1RecipeReference(output.RecipeReference, context)
5477
5332
  : undefined,
5478
5333
  ResourceArn: __expectString(output.ResourceArn),
5479
5334
  RoleArn: __expectString(output.RoleArn),
5480
- Tags: output.Tags !== undefined && output.Tags !== null
5481
- ? deserializeAws_restJson1TagMap(output.Tags, context)
5482
- : undefined,
5335
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
5483
5336
  Timeout: __expectInt32(output.Timeout),
5484
5337
  Type: __expectString(output.Type),
5485
- ValidationConfigurations: output.ValidationConfigurations !== undefined && output.ValidationConfigurations !== null
5338
+ ValidationConfigurations: output.ValidationConfigurations != null
5486
5339
  ? deserializeAws_restJson1ValidationConfigurationList(output.ValidationConfigurations, context)
5487
5340
  : undefined,
5488
5341
  };
@@ -5512,37 +5365,31 @@ var deserializeAws_restJson1JobNameList = function (output, context) {
5512
5365
  var deserializeAws_restJson1JobRun = function (output, context) {
5513
5366
  return {
5514
5367
  Attempt: __expectInt32(output.Attempt),
5515
- CompletedOn: output.CompletedOn !== undefined && output.CompletedOn !== null
5368
+ CompletedOn: output.CompletedOn != null
5516
5369
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletedOn)))
5517
5370
  : undefined,
5518
- DataCatalogOutputs: output.DataCatalogOutputs !== undefined && output.DataCatalogOutputs !== null
5371
+ DataCatalogOutputs: output.DataCatalogOutputs != null
5519
5372
  ? deserializeAws_restJson1DataCatalogOutputList(output.DataCatalogOutputs, context)
5520
5373
  : undefined,
5521
- DatabaseOutputs: output.DatabaseOutputs !== undefined && output.DatabaseOutputs !== null
5374
+ DatabaseOutputs: output.DatabaseOutputs != null
5522
5375
  ? deserializeAws_restJson1DatabaseOutputList(output.DatabaseOutputs, context)
5523
5376
  : undefined,
5524
5377
  DatasetName: __expectString(output.DatasetName),
5525
5378
  ErrorMessage: __expectString(output.ErrorMessage),
5526
5379
  ExecutionTime: __expectInt32(output.ExecutionTime),
5527
5380
  JobName: __expectString(output.JobName),
5528
- JobSample: output.JobSample !== undefined && output.JobSample !== null
5529
- ? deserializeAws_restJson1JobSample(output.JobSample, context)
5530
- : undefined,
5381
+ JobSample: output.JobSample != null ? deserializeAws_restJson1JobSample(output.JobSample, context) : undefined,
5531
5382
  LogGroupName: __expectString(output.LogGroupName),
5532
5383
  LogSubscription: __expectString(output.LogSubscription),
5533
- Outputs: output.Outputs !== undefined && output.Outputs !== null
5534
- ? deserializeAws_restJson1OutputList(output.Outputs, context)
5535
- : undefined,
5536
- RecipeReference: output.RecipeReference !== undefined && output.RecipeReference !== null
5384
+ Outputs: output.Outputs != null ? deserializeAws_restJson1OutputList(output.Outputs, context) : undefined,
5385
+ RecipeReference: output.RecipeReference != null
5537
5386
  ? deserializeAws_restJson1RecipeReference(output.RecipeReference, context)
5538
5387
  : undefined,
5539
5388
  RunId: __expectString(output.RunId),
5540
5389
  StartedBy: __expectString(output.StartedBy),
5541
- StartedOn: output.StartedOn !== undefined && output.StartedOn !== null
5542
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedOn)))
5543
- : undefined,
5390
+ StartedOn: output.StartedOn != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedOn))) : undefined,
5544
5391
  State: __expectString(output.State),
5545
- ValidationConfigurations: output.ValidationConfigurations !== undefined && output.ValidationConfigurations !== null
5392
+ ValidationConfigurations: output.ValidationConfigurations != null
5546
5393
  ? deserializeAws_restJson1ValidationConfigurationList(output.ValidationConfigurations, context)
5547
5394
  : undefined,
5548
5395
  };
@@ -5578,24 +5425,20 @@ var deserializeAws_restJson1Output = function (output, context) {
5578
5425
  return {
5579
5426
  CompressionFormat: __expectString(output.CompressionFormat),
5580
5427
  Format: __expectString(output.Format),
5581
- FormatOptions: output.FormatOptions !== undefined && output.FormatOptions !== null
5428
+ FormatOptions: output.FormatOptions != null
5582
5429
  ? deserializeAws_restJson1OutputFormatOptions(output.FormatOptions, context)
5583
5430
  : undefined,
5584
- Location: output.Location !== undefined && output.Location !== null
5585
- ? deserializeAws_restJson1S3Location(output.Location, context)
5586
- : undefined,
5431
+ Location: output.Location != null ? deserializeAws_restJson1S3Location(output.Location, context) : undefined,
5587
5432
  MaxOutputFiles: __expectInt32(output.MaxOutputFiles),
5588
5433
  Overwrite: __expectBoolean(output.Overwrite),
5589
- PartitionColumns: output.PartitionColumns !== undefined && output.PartitionColumns !== null
5434
+ PartitionColumns: output.PartitionColumns != null
5590
5435
  ? deserializeAws_restJson1ColumnNameList(output.PartitionColumns, context)
5591
5436
  : undefined,
5592
5437
  };
5593
5438
  };
5594
5439
  var deserializeAws_restJson1OutputFormatOptions = function (output, context) {
5595
5440
  return {
5596
- Csv: output.Csv !== undefined && output.Csv !== null
5597
- ? deserializeAws_restJson1CsvOutputOptions(output.Csv, context)
5598
- : undefined,
5441
+ Csv: output.Csv != null ? deserializeAws_restJson1CsvOutputOptions(output.Csv, context) : undefined,
5599
5442
  };
5600
5443
  };
5601
5444
  var deserializeAws_restJson1OutputList = function (output, context) {
@@ -5621,15 +5464,11 @@ var deserializeAws_restJson1ParameterMap = function (output, context) {
5621
5464
  };
5622
5465
  var deserializeAws_restJson1PathOptions = function (output, context) {
5623
5466
  return {
5624
- FilesLimit: output.FilesLimit !== undefined && output.FilesLimit !== null
5625
- ? deserializeAws_restJson1FilesLimit(output.FilesLimit, context)
5626
- : undefined,
5627
- LastModifiedDateCondition: output.LastModifiedDateCondition !== undefined && output.LastModifiedDateCondition !== null
5467
+ FilesLimit: output.FilesLimit != null ? deserializeAws_restJson1FilesLimit(output.FilesLimit, context) : undefined,
5468
+ LastModifiedDateCondition: output.LastModifiedDateCondition != null
5628
5469
  ? deserializeAws_restJson1FilterExpression(output.LastModifiedDateCondition, context)
5629
5470
  : undefined,
5630
- Parameters: output.Parameters !== undefined && output.Parameters !== null
5631
- ? deserializeAws_restJson1PathParametersMap(output.Parameters, context)
5632
- : undefined,
5471
+ Parameters: output.Parameters != null ? deserializeAws_restJson1PathParametersMap(output.Parameters, context) : undefined,
5633
5472
  };
5634
5473
  };
5635
5474
  var deserializeAws_restJson1PathParametersMap = function (output, context) {
@@ -5644,16 +5483,16 @@ var deserializeAws_restJson1PathParametersMap = function (output, context) {
5644
5483
  };
5645
5484
  var deserializeAws_restJson1ProfileConfiguration = function (output, context) {
5646
5485
  return {
5647
- ColumnStatisticsConfigurations: output.ColumnStatisticsConfigurations !== undefined && output.ColumnStatisticsConfigurations !== null
5486
+ ColumnStatisticsConfigurations: output.ColumnStatisticsConfigurations != null
5648
5487
  ? deserializeAws_restJson1ColumnStatisticsConfigurationList(output.ColumnStatisticsConfigurations, context)
5649
5488
  : undefined,
5650
- DatasetStatisticsConfiguration: output.DatasetStatisticsConfiguration !== undefined && output.DatasetStatisticsConfiguration !== null
5489
+ DatasetStatisticsConfiguration: output.DatasetStatisticsConfiguration != null
5651
5490
  ? deserializeAws_restJson1StatisticsConfiguration(output.DatasetStatisticsConfiguration, context)
5652
5491
  : undefined,
5653
- EntityDetectorConfiguration: output.EntityDetectorConfiguration !== undefined && output.EntityDetectorConfiguration !== null
5492
+ EntityDetectorConfiguration: output.EntityDetectorConfiguration != null
5654
5493
  ? deserializeAws_restJson1EntityDetectorConfiguration(output.EntityDetectorConfiguration, context)
5655
5494
  : undefined,
5656
- ProfileColumns: output.ProfileColumns !== undefined && output.ProfileColumns !== null
5495
+ ProfileColumns: output.ProfileColumns != null
5657
5496
  ? deserializeAws_restJson1ColumnSelectorList(output.ProfileColumns, context)
5658
5497
  : undefined,
5659
5498
  };
@@ -5661,29 +5500,21 @@ var deserializeAws_restJson1ProfileConfiguration = function (output, context) {
5661
5500
  var deserializeAws_restJson1Project = function (output, context) {
5662
5501
  return {
5663
5502
  AccountId: __expectString(output.AccountId),
5664
- CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
5665
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
5666
- : undefined,
5503
+ CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
5667
5504
  CreatedBy: __expectString(output.CreatedBy),
5668
5505
  DatasetName: __expectString(output.DatasetName),
5669
5506
  LastModifiedBy: __expectString(output.LastModifiedBy),
5670
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
5507
+ LastModifiedDate: output.LastModifiedDate != null
5671
5508
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
5672
5509
  : undefined,
5673
5510
  Name: __expectString(output.Name),
5674
- OpenDate: output.OpenDate !== undefined && output.OpenDate !== null
5675
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OpenDate)))
5676
- : undefined,
5511
+ OpenDate: output.OpenDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OpenDate))) : undefined,
5677
5512
  OpenedBy: __expectString(output.OpenedBy),
5678
5513
  RecipeName: __expectString(output.RecipeName),
5679
5514
  ResourceArn: __expectString(output.ResourceArn),
5680
5515
  RoleArn: __expectString(output.RoleArn),
5681
- Sample: output.Sample !== undefined && output.Sample !== null
5682
- ? deserializeAws_restJson1Sample(output.Sample, context)
5683
- : undefined,
5684
- Tags: output.Tags !== undefined && output.Tags !== null
5685
- ? deserializeAws_restJson1TagMap(output.Tags, context)
5686
- : undefined,
5516
+ Sample: output.Sample != null ? deserializeAws_restJson1Sample(output.Sample, context) : undefined,
5517
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
5687
5518
  };
5688
5519
  };
5689
5520
  var deserializeAws_restJson1ProjectList = function (output, context) {
@@ -5699,37 +5530,29 @@ var deserializeAws_restJson1ProjectList = function (output, context) {
5699
5530
  };
5700
5531
  var deserializeAws_restJson1Recipe = function (output, context) {
5701
5532
  return {
5702
- CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
5703
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
5704
- : undefined,
5533
+ CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
5705
5534
  CreatedBy: __expectString(output.CreatedBy),
5706
5535
  Description: __expectString(output.Description),
5707
5536
  LastModifiedBy: __expectString(output.LastModifiedBy),
5708
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
5537
+ LastModifiedDate: output.LastModifiedDate != null
5709
5538
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
5710
5539
  : undefined,
5711
5540
  Name: __expectString(output.Name),
5712
5541
  ProjectName: __expectString(output.ProjectName),
5713
5542
  PublishedBy: __expectString(output.PublishedBy),
5714
- PublishedDate: output.PublishedDate !== undefined && output.PublishedDate !== null
5543
+ PublishedDate: output.PublishedDate != null
5715
5544
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PublishedDate)))
5716
5545
  : undefined,
5717
5546
  RecipeVersion: __expectString(output.RecipeVersion),
5718
5547
  ResourceArn: __expectString(output.ResourceArn),
5719
- Steps: output.Steps !== undefined && output.Steps !== null
5720
- ? deserializeAws_restJson1RecipeStepList(output.Steps, context)
5721
- : undefined,
5722
- Tags: output.Tags !== undefined && output.Tags !== null
5723
- ? deserializeAws_restJson1TagMap(output.Tags, context)
5724
- : undefined,
5548
+ Steps: output.Steps != null ? deserializeAws_restJson1RecipeStepList(output.Steps, context) : undefined,
5549
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
5725
5550
  };
5726
5551
  };
5727
5552
  var deserializeAws_restJson1RecipeAction = function (output, context) {
5728
5553
  return {
5729
5554
  Operation: __expectString(output.Operation),
5730
- Parameters: output.Parameters !== undefined && output.Parameters !== null
5731
- ? deserializeAws_restJson1ParameterMap(output.Parameters, context)
5732
- : undefined,
5555
+ Parameters: output.Parameters != null ? deserializeAws_restJson1ParameterMap(output.Parameters, context) : undefined,
5733
5556
  };
5734
5557
  };
5735
5558
  var deserializeAws_restJson1RecipeErrorList = function (output, context) {
@@ -5762,10 +5585,8 @@ var deserializeAws_restJson1RecipeReference = function (output, context) {
5762
5585
  };
5763
5586
  var deserializeAws_restJson1RecipeStep = function (output, context) {
5764
5587
  return {
5765
- Action: output.Action !== undefined && output.Action !== null
5766
- ? deserializeAws_restJson1RecipeAction(output.Action, context)
5767
- : undefined,
5768
- ConditionExpressions: output.ConditionExpressions !== undefined && output.ConditionExpressions !== null
5588
+ Action: output.Action != null ? deserializeAws_restJson1RecipeAction(output.Action, context) : undefined,
5589
+ ConditionExpressions: output.ConditionExpressions != null
5769
5590
  ? deserializeAws_restJson1ConditionExpressionList(output.ConditionExpressions, context)
5770
5591
  : undefined,
5771
5592
  };
@@ -5791,17 +5612,13 @@ var deserializeAws_restJson1RecipeVersionErrorDetail = function (output, context
5791
5612
  var deserializeAws_restJson1Rule = function (output, context) {
5792
5613
  return {
5793
5614
  CheckExpression: __expectString(output.CheckExpression),
5794
- ColumnSelectors: output.ColumnSelectors !== undefined && output.ColumnSelectors !== null
5615
+ ColumnSelectors: output.ColumnSelectors != null
5795
5616
  ? deserializeAws_restJson1ColumnSelectorList(output.ColumnSelectors, context)
5796
5617
  : undefined,
5797
5618
  Disabled: __expectBoolean(output.Disabled),
5798
5619
  Name: __expectString(output.Name),
5799
- SubstitutionMap: output.SubstitutionMap !== undefined && output.SubstitutionMap !== null
5800
- ? deserializeAws_restJson1ValuesMap(output.SubstitutionMap, context)
5801
- : undefined,
5802
- Threshold: output.Threshold !== undefined && output.Threshold !== null
5803
- ? deserializeAws_restJson1Threshold(output.Threshold, context)
5804
- : undefined,
5620
+ SubstitutionMap: output.SubstitutionMap != null ? deserializeAws_restJson1ValuesMap(output.SubstitutionMap, context) : undefined,
5621
+ Threshold: output.Threshold != null ? deserializeAws_restJson1Threshold(output.Threshold, context) : undefined,
5805
5622
  };
5806
5623
  };
5807
5624
  var deserializeAws_restJson1RuleList = function (output, context) {
@@ -5818,21 +5635,17 @@ var deserializeAws_restJson1RuleList = function (output, context) {
5818
5635
  var deserializeAws_restJson1RulesetItem = function (output, context) {
5819
5636
  return {
5820
5637
  AccountId: __expectString(output.AccountId),
5821
- CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
5822
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
5823
- : undefined,
5638
+ CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
5824
5639
  CreatedBy: __expectString(output.CreatedBy),
5825
5640
  Description: __expectString(output.Description),
5826
5641
  LastModifiedBy: __expectString(output.LastModifiedBy),
5827
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
5642
+ LastModifiedDate: output.LastModifiedDate != null
5828
5643
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
5829
5644
  : undefined,
5830
5645
  Name: __expectString(output.Name),
5831
5646
  ResourceArn: __expectString(output.ResourceArn),
5832
5647
  RuleCount: __expectInt32(output.RuleCount),
5833
- Tags: output.Tags !== undefined && output.Tags !== null
5834
- ? deserializeAws_restJson1TagMap(output.Tags, context)
5835
- : undefined,
5648
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
5836
5649
  TargetArn: __expectString(output.TargetArn),
5837
5650
  };
5838
5651
  };
@@ -5856,9 +5669,7 @@ var deserializeAws_restJson1S3Location = function (output, context) {
5856
5669
  };
5857
5670
  var deserializeAws_restJson1S3TableOutputOptions = function (output, context) {
5858
5671
  return {
5859
- Location: output.Location !== undefined && output.Location !== null
5860
- ? deserializeAws_restJson1S3Location(output.Location, context)
5861
- : undefined,
5672
+ Location: output.Location != null ? deserializeAws_restJson1S3Location(output.Location, context) : undefined,
5862
5673
  };
5863
5674
  };
5864
5675
  var deserializeAws_restJson1Sample = function (output, context) {
@@ -5870,23 +5681,17 @@ var deserializeAws_restJson1Sample = function (output, context) {
5870
5681
  var deserializeAws_restJson1Schedule = function (output, context) {
5871
5682
  return {
5872
5683
  AccountId: __expectString(output.AccountId),
5873
- CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
5874
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
5875
- : undefined,
5684
+ CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
5876
5685
  CreatedBy: __expectString(output.CreatedBy),
5877
5686
  CronExpression: __expectString(output.CronExpression),
5878
- JobNames: output.JobNames !== undefined && output.JobNames !== null
5879
- ? deserializeAws_restJson1JobNameList(output.JobNames, context)
5880
- : undefined,
5687
+ JobNames: output.JobNames != null ? deserializeAws_restJson1JobNameList(output.JobNames, context) : undefined,
5881
5688
  LastModifiedBy: __expectString(output.LastModifiedBy),
5882
- LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
5689
+ LastModifiedDate: output.LastModifiedDate != null
5883
5690
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
5884
5691
  : undefined,
5885
5692
  Name: __expectString(output.Name),
5886
5693
  ResourceArn: __expectString(output.ResourceArn),
5887
- Tags: output.Tags !== undefined && output.Tags !== null
5888
- ? deserializeAws_restJson1TagMap(output.Tags, context)
5889
- : undefined,
5694
+ Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
5890
5695
  };
5891
5696
  };
5892
5697
  var deserializeAws_restJson1ScheduleList = function (output, context) {
@@ -5935,9 +5740,7 @@ var deserializeAws_restJson1StatisticList = function (output, context) {
5935
5740
  };
5936
5741
  var deserializeAws_restJson1StatisticOverride = function (output, context) {
5937
5742
  return {
5938
- Parameters: output.Parameters !== undefined && output.Parameters !== null
5939
- ? deserializeAws_restJson1ParameterMap(output.Parameters, context)
5940
- : undefined,
5743
+ Parameters: output.Parameters != null ? deserializeAws_restJson1ParameterMap(output.Parameters, context) : undefined,
5941
5744
  Statistic: __expectString(output.Statistic),
5942
5745
  };
5943
5746
  };
@@ -5954,12 +5757,10 @@ var deserializeAws_restJson1StatisticOverrideList = function (output, context) {
5954
5757
  };
5955
5758
  var deserializeAws_restJson1StatisticsConfiguration = function (output, context) {
5956
5759
  return {
5957
- IncludedStatistics: output.IncludedStatistics !== undefined && output.IncludedStatistics !== null
5760
+ IncludedStatistics: output.IncludedStatistics != null
5958
5761
  ? deserializeAws_restJson1StatisticList(output.IncludedStatistics, context)
5959
5762
  : undefined,
5960
- Overrides: output.Overrides !== undefined && output.Overrides !== null
5961
- ? deserializeAws_restJson1StatisticOverrideList(output.Overrides, context)
5962
- : undefined,
5763
+ Overrides: output.Overrides != null ? deserializeAws_restJson1StatisticOverrideList(output.Overrides, context) : undefined,
5963
5764
  };
5964
5765
  };
5965
5766
  var deserializeAws_restJson1TagMap = function (output, context) {
@@ -6044,6 +5845,9 @@ var loadRestJsonErrorCode = function (output, data) {
6044
5845
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
6045
5846
  var sanitizeErrorCode = function (rawValue) {
6046
5847
  var cleanValue = rawValue;
5848
+ if (typeof cleanValue === "number") {
5849
+ cleanValue = cleanValue.toString();
5850
+ }
6047
5851
  if (cleanValue.indexOf(":") >= 0) {
6048
5852
  cleanValue = cleanValue.split(":")[0];
6049
5853
  }