@aws-sdk/client-quicksight 3.123.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.
@@ -78,11 +78,9 @@ export var serializeAws_restJson1CreateAccountCustomizationCommand = function (i
78
78
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
79
79
  }
80
80
  query = __assign({}, (input.Namespace !== undefined && { namespace: input.Namespace }));
81
- body = JSON.stringify(__assign(__assign({}, (input.AccountCustomization !== undefined &&
82
- input.AccountCustomization !== null && {
81
+ body = JSON.stringify(__assign(__assign({}, (input.AccountCustomization != null && {
83
82
  AccountCustomization: serializeAws_restJson1AccountCustomization(input.AccountCustomization, context),
84
- })), (input.Tags !== undefined &&
85
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
83
+ })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
86
84
  return [2, new __HttpRequest({
87
85
  protocol: protocol,
88
86
  hostname: hostname,
@@ -117,13 +115,7 @@ export var serializeAws_restJson1CreateAccountSubscriptionCommand = function (in
117
115
  else {
118
116
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
119
117
  }
120
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccountName !== undefined && input.AccountName !== null && { AccountName: input.AccountName })), (input.ActiveDirectoryName !== undefined &&
121
- input.ActiveDirectoryName !== null && { ActiveDirectoryName: input.ActiveDirectoryName })), (input.AdminGroup !== undefined &&
122
- input.AdminGroup !== null && { AdminGroup: serializeAws_restJson1GroupsList(input.AdminGroup, context) })), (input.AuthenticationMethod !== undefined &&
123
- input.AuthenticationMethod !== null && { AuthenticationMethod: input.AuthenticationMethod })), (input.AuthorGroup !== undefined &&
124
- input.AuthorGroup !== null && { AuthorGroup: serializeAws_restJson1GroupsList(input.AuthorGroup, context) })), (input.ContactNumber !== undefined && input.ContactNumber !== null && { ContactNumber: input.ContactNumber })), (input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId })), (input.Edition !== undefined && input.Edition !== null && { Edition: input.Edition })), (input.EmailAddress !== undefined && input.EmailAddress !== null && { EmailAddress: input.EmailAddress })), (input.FirstName !== undefined && input.FirstName !== null && { FirstName: input.FirstName })), (input.LastName !== undefined && input.LastName !== null && { LastName: input.LastName })), (input.NotificationEmail !== undefined &&
125
- input.NotificationEmail !== null && { NotificationEmail: input.NotificationEmail })), (input.ReaderGroup !== undefined &&
126
- input.ReaderGroup !== null && { ReaderGroup: serializeAws_restJson1GroupsList(input.ReaderGroup, context) })), (input.Realm !== undefined && input.Realm !== null && { Realm: input.Realm })));
118
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccountName != null && { AccountName: input.AccountName })), (input.ActiveDirectoryName != null && { ActiveDirectoryName: input.ActiveDirectoryName })), (input.AdminGroup != null && { AdminGroup: serializeAws_restJson1GroupsList(input.AdminGroup, context) })), (input.AuthenticationMethod != null && { AuthenticationMethod: input.AuthenticationMethod })), (input.AuthorGroup != null && { AuthorGroup: serializeAws_restJson1GroupsList(input.AuthorGroup, context) })), (input.ContactNumber != null && { ContactNumber: input.ContactNumber })), (input.DirectoryId != null && { DirectoryId: input.DirectoryId })), (input.Edition != null && { Edition: input.Edition })), (input.EmailAddress != null && { EmailAddress: input.EmailAddress })), (input.FirstName != null && { FirstName: input.FirstName })), (input.LastName != null && { LastName: input.LastName })), (input.NotificationEmail != null && { NotificationEmail: input.NotificationEmail })), (input.ReaderGroup != null && { ReaderGroup: serializeAws_restJson1GroupsList(input.ReaderGroup, context) })), (input.Realm != null && { Realm: input.Realm })));
127
119
  return [2, new __HttpRequest({
128
120
  protocol: protocol,
129
121
  hostname: hostname,
@@ -168,15 +160,11 @@ export var serializeAws_restJson1CreateAnalysisCommand = function (input, contex
168
160
  else {
169
161
  throw new Error("No value provided for input HTTP label: AnalysisId.");
170
162
  }
171
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Parameters !== undefined &&
172
- input.Parameters !== null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.Permissions !== undefined &&
173
- input.Permissions !== null && {
163
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.Permissions != null && {
174
164
  Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
175
- })), (input.SourceEntity !== undefined &&
176
- input.SourceEntity !== null && {
165
+ })), (input.SourceEntity != null && {
177
166
  SourceEntity: serializeAws_restJson1AnalysisSourceEntity(input.SourceEntity, context),
178
- })), (input.Tags !== undefined &&
179
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.ThemeArn !== undefined && input.ThemeArn !== null && { ThemeArn: input.ThemeArn })));
167
+ })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.ThemeArn != null && { ThemeArn: input.ThemeArn })));
180
168
  return [2, new __HttpRequest({
181
169
  protocol: protocol,
182
170
  hostname: hostname,
@@ -221,19 +209,13 @@ export var serializeAws_restJson1CreateDashboardCommand = function (input, conte
221
209
  else {
222
210
  throw new Error("No value provided for input HTTP label: DashboardId.");
223
211
  }
224
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DashboardPublishOptions !== undefined &&
225
- input.DashboardPublishOptions !== null && {
212
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DashboardPublishOptions != null && {
226
213
  DashboardPublishOptions: serializeAws_restJson1DashboardPublishOptions(input.DashboardPublishOptions, context),
227
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Parameters !== undefined &&
228
- input.Parameters !== null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.Permissions !== undefined &&
229
- input.Permissions !== null && {
214
+ })), (input.Name != null && { Name: input.Name })), (input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.Permissions != null && {
230
215
  Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
231
- })), (input.SourceEntity !== undefined &&
232
- input.SourceEntity !== null && {
216
+ })), (input.SourceEntity != null && {
233
217
  SourceEntity: serializeAws_restJson1DashboardSourceEntity(input.SourceEntity, context),
234
- })), (input.Tags !== undefined &&
235
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.ThemeArn !== undefined && input.ThemeArn !== null && { ThemeArn: input.ThemeArn })), (input.VersionDescription !== undefined &&
236
- input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
218
+ })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.ThemeArn != null && { ThemeArn: input.ThemeArn })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
237
219
  return [2, new __HttpRequest({
238
220
  protocol: protocol,
239
221
  hostname: hostname,
@@ -267,35 +249,25 @@ export var serializeAws_restJson1CreateDataSetCommand = function (input, context
267
249
  else {
268
250
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
269
251
  }
270
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups !== undefined &&
271
- input.ColumnGroups !== null && {
252
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups != null && {
272
253
  ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context),
273
- })), (input.ColumnLevelPermissionRules !== undefined &&
274
- input.ColumnLevelPermissionRules !== null && {
254
+ })), (input.ColumnLevelPermissionRules != null && {
275
255
  ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
276
- })), (input.DataSetId !== undefined && input.DataSetId !== null && { DataSetId: input.DataSetId })), (input.DataSetUsageConfiguration !== undefined &&
277
- input.DataSetUsageConfiguration !== null && {
256
+ })), (input.DataSetId != null && { DataSetId: input.DataSetId })), (input.DataSetUsageConfiguration != null && {
278
257
  DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
279
- })), (input.FieldFolders !== undefined &&
280
- input.FieldFolders !== null && {
258
+ })), (input.FieldFolders != null && {
281
259
  FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
282
- })), (input.ImportMode !== undefined && input.ImportMode !== null && { ImportMode: input.ImportMode })), (input.LogicalTableMap !== undefined &&
283
- input.LogicalTableMap !== null && {
260
+ })), (input.ImportMode != null && { ImportMode: input.ImportMode })), (input.LogicalTableMap != null && {
284
261
  LogicalTableMap: serializeAws_restJson1LogicalTableMap(input.LogicalTableMap, context),
285
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Permissions !== undefined &&
286
- input.Permissions !== null && {
262
+ })), (input.Name != null && { Name: input.Name })), (input.Permissions != null && {
287
263
  Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
288
- })), (input.PhysicalTableMap !== undefined &&
289
- input.PhysicalTableMap !== null && {
264
+ })), (input.PhysicalTableMap != null && {
290
265
  PhysicalTableMap: serializeAws_restJson1PhysicalTableMap(input.PhysicalTableMap, context),
291
- })), (input.RowLevelPermissionDataSet !== undefined &&
292
- input.RowLevelPermissionDataSet !== null && {
266
+ })), (input.RowLevelPermissionDataSet != null && {
293
267
  RowLevelPermissionDataSet: serializeAws_restJson1RowLevelPermissionDataSet(input.RowLevelPermissionDataSet, context),
294
- })), (input.RowLevelPermissionTagConfiguration !== undefined &&
295
- input.RowLevelPermissionTagConfiguration !== null && {
268
+ })), (input.RowLevelPermissionTagConfiguration != null && {
296
269
  RowLevelPermissionTagConfiguration: serializeAws_restJson1RowLevelPermissionTagConfiguration(input.RowLevelPermissionTagConfiguration, context),
297
- })), (input.Tags !== undefined &&
298
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
270
+ })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
299
271
  return [2, new __HttpRequest({
300
272
  protocol: protocol,
301
273
  hostname: hostname,
@@ -329,21 +301,15 @@ export var serializeAws_restJson1CreateDataSourceCommand = function (input, cont
329
301
  else {
330
302
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
331
303
  }
332
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Credentials !== undefined &&
333
- input.Credentials !== null && {
304
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Credentials != null && {
334
305
  Credentials: serializeAws_restJson1DataSourceCredentials(input.Credentials, context),
335
- })), (input.DataSourceId !== undefined && input.DataSourceId !== null && { DataSourceId: input.DataSourceId })), (input.DataSourceParameters !== undefined &&
336
- input.DataSourceParameters !== null && {
306
+ })), (input.DataSourceId != null && { DataSourceId: input.DataSourceId })), (input.DataSourceParameters != null && {
337
307
  DataSourceParameters: serializeAws_restJson1DataSourceParameters(input.DataSourceParameters, context),
338
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Permissions !== undefined &&
339
- input.Permissions !== null && {
308
+ })), (input.Name != null && { Name: input.Name })), (input.Permissions != null && {
340
309
  Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
341
- })), (input.SslProperties !== undefined &&
342
- input.SslProperties !== null && {
310
+ })), (input.SslProperties != null && {
343
311
  SslProperties: serializeAws_restJson1SslProperties(input.SslProperties, context),
344
- })), (input.Tags !== undefined &&
345
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.VpcConnectionProperties !== undefined &&
346
- input.VpcConnectionProperties !== null && {
312
+ })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.Type != null && { Type: input.Type })), (input.VpcConnectionProperties != null && {
347
313
  VpcConnectionProperties: serializeAws_restJson1VpcConnectionProperties(input.VpcConnectionProperties, context),
348
314
  })));
349
315
  return [2, new __HttpRequest({
@@ -390,12 +356,9 @@ export var serializeAws_restJson1CreateFolderCommand = function (input, context)
390
356
  else {
391
357
  throw new Error("No value provided for input HTTP label: FolderId.");
392
358
  }
393
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.FolderType !== undefined && input.FolderType !== null && { FolderType: input.FolderType })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParentFolderArn !== undefined &&
394
- input.ParentFolderArn !== null && { ParentFolderArn: input.ParentFolderArn })), (input.Permissions !== undefined &&
395
- input.Permissions !== null && {
359
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.FolderType != null && { FolderType: input.FolderType })), (input.Name != null && { Name: input.Name })), (input.ParentFolderArn != null && { ParentFolderArn: input.ParentFolderArn })), (input.Permissions != null && {
396
360
  Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
397
- })), (input.Tags !== undefined &&
398
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
361
+ })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
399
362
  return [2, new __HttpRequest({
400
363
  protocol: protocol,
401
364
  hostname: hostname,
@@ -502,7 +465,7 @@ export var serializeAws_restJson1CreateGroupCommand = function (input, context)
502
465
  else {
503
466
  throw new Error("No value provided for input HTTP label: Namespace.");
504
467
  }
505
- body = JSON.stringify(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName })));
468
+ body = JSON.stringify(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.GroupName != null && { GroupName: input.GroupName })));
506
469
  return [2, new __HttpRequest({
507
470
  protocol: protocol,
508
471
  hostname: hostname,
@@ -609,10 +572,7 @@ export var serializeAws_restJson1CreateIAMPolicyAssignmentCommand = function (in
609
572
  else {
610
573
  throw new Error("No value provided for input HTTP label: Namespace.");
611
574
  }
612
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AssignmentName !== undefined &&
613
- input.AssignmentName !== null && { AssignmentName: input.AssignmentName })), (input.AssignmentStatus !== undefined &&
614
- input.AssignmentStatus !== null && { AssignmentStatus: input.AssignmentStatus })), (input.Identities !== undefined &&
615
- input.Identities !== null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) })), (input.PolicyArn !== undefined && input.PolicyArn !== null && { PolicyArn: input.PolicyArn })));
575
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AssignmentName != null && { AssignmentName: input.AssignmentName })), (input.AssignmentStatus != null && { AssignmentStatus: input.AssignmentStatus })), (input.Identities != null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) })), (input.PolicyArn != null && { PolicyArn: input.PolicyArn })));
616
576
  return [2, new __HttpRequest({
617
577
  protocol: protocol,
618
578
  hostname: hostname,
@@ -667,7 +627,7 @@ export var serializeAws_restJson1CreateIngestionCommand = function (input, conte
667
627
  else {
668
628
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
669
629
  }
670
- body = JSON.stringify(__assign({}, (input.IngestionType !== undefined && input.IngestionType !== null && { IngestionType: input.IngestionType })));
630
+ body = JSON.stringify(__assign({}, (input.IngestionType != null && { IngestionType: input.IngestionType })));
671
631
  return [2, new __HttpRequest({
672
632
  protocol: protocol,
673
633
  hostname: hostname,
@@ -701,8 +661,7 @@ export var serializeAws_restJson1CreateNamespaceCommand = function (input, conte
701
661
  else {
702
662
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
703
663
  }
704
- body = JSON.stringify(__assign(__assign(__assign({}, (input.IdentityStore !== undefined && input.IdentityStore !== null && { IdentityStore: input.IdentityStore })), (input.Namespace !== undefined && input.Namespace !== null && { Namespace: input.Namespace })), (input.Tags !== undefined &&
705
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
664
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.IdentityStore != null && { IdentityStore: input.IdentityStore })), (input.Namespace != null && { Namespace: input.Namespace })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
706
665
  return [2, new __HttpRequest({
707
666
  protocol: protocol,
708
667
  hostname: hostname,
@@ -747,15 +706,11 @@ export var serializeAws_restJson1CreateTemplateCommand = function (input, contex
747
706
  else {
748
707
  throw new Error("No value provided for input HTTP label: TemplateId.");
749
708
  }
750
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Permissions !== undefined &&
751
- input.Permissions !== null && {
709
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Permissions != null && {
752
710
  Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
753
- })), (input.SourceEntity !== undefined &&
754
- input.SourceEntity !== null && {
711
+ })), (input.SourceEntity != null && {
755
712
  SourceEntity: serializeAws_restJson1TemplateSourceEntity(input.SourceEntity, context),
756
- })), (input.Tags !== undefined &&
757
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.VersionDescription !== undefined &&
758
- input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
713
+ })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
759
714
  return [2, new __HttpRequest({
760
715
  protocol: protocol,
761
716
  hostname: hostname,
@@ -810,8 +765,7 @@ export var serializeAws_restJson1CreateTemplateAliasCommand = function (input, c
810
765
  else {
811
766
  throw new Error("No value provided for input HTTP label: AliasName.");
812
767
  }
813
- body = JSON.stringify(__assign({}, (input.TemplateVersionNumber !== undefined &&
814
- input.TemplateVersionNumber !== null && { TemplateVersionNumber: input.TemplateVersionNumber })));
768
+ body = JSON.stringify(__assign({}, (input.TemplateVersionNumber != null && { TemplateVersionNumber: input.TemplateVersionNumber })));
815
769
  return [2, new __HttpRequest({
816
770
  protocol: protocol,
817
771
  hostname: hostname,
@@ -855,15 +809,11 @@ export var serializeAws_restJson1CreateThemeCommand = function (input, context)
855
809
  else {
856
810
  throw new Error("No value provided for input HTTP label: ThemeId.");
857
811
  }
858
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BaseThemeId !== undefined && input.BaseThemeId !== null && { BaseThemeId: input.BaseThemeId })), (input.Configuration !== undefined &&
859
- input.Configuration !== null && {
812
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BaseThemeId != null && { BaseThemeId: input.BaseThemeId })), (input.Configuration != null && {
860
813
  Configuration: serializeAws_restJson1ThemeConfiguration(input.Configuration, context),
861
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Permissions !== undefined &&
862
- input.Permissions !== null && {
814
+ })), (input.Name != null && { Name: input.Name })), (input.Permissions != null && {
863
815
  Permissions: serializeAws_restJson1ResourcePermissionList(input.Permissions, context),
864
- })), (input.Tags !== undefined &&
865
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.VersionDescription !== undefined &&
866
- input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
816
+ })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
867
817
  return [2, new __HttpRequest({
868
818
  protocol: protocol,
869
819
  hostname: hostname,
@@ -918,8 +868,7 @@ export var serializeAws_restJson1CreateThemeAliasCommand = function (input, cont
918
868
  else {
919
869
  throw new Error("No value provided for input HTTP label: AliasName.");
920
870
  }
921
- body = JSON.stringify(__assign({}, (input.ThemeVersionNumber !== undefined &&
922
- input.ThemeVersionNumber !== null && { ThemeVersionNumber: input.ThemeVersionNumber })));
871
+ body = JSON.stringify(__assign({}, (input.ThemeVersionNumber != null && { ThemeVersionNumber: input.ThemeVersionNumber })));
923
872
  return [2, new __HttpRequest({
924
873
  protocol: protocol,
925
874
  hostname: hostname,
@@ -2947,18 +2896,13 @@ export var serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = funct
2947
2896
  else {
2948
2897
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
2949
2898
  }
2950
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllowedDomains !== undefined &&
2951
- input.AllowedDomains !== null && {
2899
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AllowedDomains != null && {
2952
2900
  AllowedDomains: serializeAws_restJson1StringList(input.AllowedDomains, context),
2953
- })), (input.AuthorizedResourceArns !== undefined &&
2954
- input.AuthorizedResourceArns !== null && {
2901
+ })), (input.AuthorizedResourceArns != null && {
2955
2902
  AuthorizedResourceArns: serializeAws_restJson1ArnList(input.AuthorizedResourceArns, context),
2956
- })), (input.ExperienceConfiguration !== undefined &&
2957
- input.ExperienceConfiguration !== null && {
2903
+ })), (input.ExperienceConfiguration != null && {
2958
2904
  ExperienceConfiguration: serializeAws_restJson1AnonymousUserEmbeddingExperienceConfiguration(input.ExperienceConfiguration, context),
2959
- })), (input.Namespace !== undefined && input.Namespace !== null && { Namespace: input.Namespace })), (input.SessionLifetimeInMinutes !== undefined &&
2960
- input.SessionLifetimeInMinutes !== null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes })), (input.SessionTags !== undefined &&
2961
- input.SessionTags !== null && { SessionTags: serializeAws_restJson1SessionTagList(input.SessionTags, context) })));
2905
+ })), (input.Namespace != null && { Namespace: input.Namespace })), (input.SessionLifetimeInMinutes != null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes })), (input.SessionTags != null && { SessionTags: serializeAws_restJson1SessionTagList(input.SessionTags, context) })));
2962
2906
  return [2, new __HttpRequest({
2963
2907
  protocol: protocol,
2964
2908
  hostname: hostname,
@@ -2993,14 +2937,11 @@ export var serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = func
2993
2937
  else {
2994
2938
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
2995
2939
  }
2996
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AllowedDomains !== undefined &&
2997
- input.AllowedDomains !== null && {
2940
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AllowedDomains != null && {
2998
2941
  AllowedDomains: serializeAws_restJson1StringList(input.AllowedDomains, context),
2999
- })), (input.ExperienceConfiguration !== undefined &&
3000
- input.ExperienceConfiguration !== null && {
2942
+ })), (input.ExperienceConfiguration != null && {
3001
2943
  ExperienceConfiguration: serializeAws_restJson1RegisteredUserEmbeddingExperienceConfiguration(input.ExperienceConfiguration, context),
3002
- })), (input.SessionLifetimeInMinutes !== undefined &&
3003
- input.SessionLifetimeInMinutes !== null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes })), (input.UserArn !== undefined && input.UserArn !== null && { UserArn: input.UserArn })));
2944
+ })), (input.SessionLifetimeInMinutes != null && { SessionLifetimeInMinutes: input.SessionLifetimeInMinutes })), (input.UserArn != null && { UserArn: input.UserArn })));
3004
2945
  return [2, new __HttpRequest({
3005
2946
  protocol: protocol,
3006
2947
  hostname: hostname,
@@ -3483,8 +3424,7 @@ export var serializeAws_restJson1ListIAMPolicyAssignmentsCommand = function (inp
3483
3424
  throw new Error("No value provided for input HTTP label: Namespace.");
3484
3425
  }
3485
3426
  query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
3486
- body = JSON.stringify(__assign({}, (input.AssignmentStatus !== undefined &&
3487
- input.AssignmentStatus !== null && { AssignmentStatus: input.AssignmentStatus })));
3427
+ body = JSON.stringify(__assign({}, (input.AssignmentStatus != null && { AssignmentStatus: input.AssignmentStatus })));
3488
3428
  return [2, new __HttpRequest({
3489
3429
  protocol: protocol,
3490
3430
  hostname: hostname,
@@ -4032,13 +3972,11 @@ export var serializeAws_restJson1RegisterUserCommand = function (input, context)
4032
3972
  else {
4033
3973
  throw new Error("No value provided for input HTTP label: Namespace.");
4034
3974
  }
4035
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomFederationProviderUrl !== undefined &&
4036
- input.CustomFederationProviderUrl !== null && { CustomFederationProviderUrl: input.CustomFederationProviderUrl })), (input.CustomPermissionsName !== undefined &&
4037
- input.CustomPermissionsName !== null && { CustomPermissionsName: input.CustomPermissionsName })), (input.Email !== undefined && input.Email !== null && { Email: input.Email })), (input.ExternalLoginFederationProviderType !== undefined &&
4038
- input.ExternalLoginFederationProviderType !== null && {
3975
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomFederationProviderUrl != null && {
3976
+ CustomFederationProviderUrl: input.CustomFederationProviderUrl,
3977
+ })), (input.CustomPermissionsName != null && { CustomPermissionsName: input.CustomPermissionsName })), (input.Email != null && { Email: input.Email })), (input.ExternalLoginFederationProviderType != null && {
4039
3978
  ExternalLoginFederationProviderType: input.ExternalLoginFederationProviderType,
4040
- })), (input.ExternalLoginId !== undefined &&
4041
- input.ExternalLoginId !== null && { ExternalLoginId: input.ExternalLoginId })), (input.IamArn !== undefined && input.IamArn !== null && { IamArn: input.IamArn })), (input.IdentityType !== undefined && input.IdentityType !== null && { IdentityType: input.IdentityType })), (input.SessionName !== undefined && input.SessionName !== null && { SessionName: input.SessionName })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName })), (input.UserRole !== undefined && input.UserRole !== null && { UserRole: input.UserRole })));
3979
+ })), (input.ExternalLoginId != null && { ExternalLoginId: input.ExternalLoginId })), (input.IamArn != null && { IamArn: input.IamArn })), (input.IdentityType != null && { IdentityType: input.IdentityType })), (input.SessionName != null && { SessionName: input.SessionName })), (input.UserName != null && { UserName: input.UserName })), (input.UserRole != null && { UserRole: input.UserRole })));
4042
3980
  return [2, new __HttpRequest({
4043
3981
  protocol: protocol,
4044
3982
  hostname: hostname,
@@ -4114,8 +4052,7 @@ export var serializeAws_restJson1SearchAnalysesCommand = function (input, contex
4114
4052
  else {
4115
4053
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
4116
4054
  }
4117
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters !== undefined &&
4118
- input.Filters !== null && { Filters: serializeAws_restJson1AnalysisSearchFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
4055
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1AnalysisSearchFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
4119
4056
  return [2, new __HttpRequest({
4120
4057
  protocol: protocol,
4121
4058
  hostname: hostname,
@@ -4150,8 +4087,7 @@ export var serializeAws_restJson1SearchDashboardsCommand = function (input, cont
4150
4087
  else {
4151
4088
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
4152
4089
  }
4153
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters !== undefined &&
4154
- input.Filters !== null && { Filters: serializeAws_restJson1DashboardSearchFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
4090
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1DashboardSearchFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
4155
4091
  return [2, new __HttpRequest({
4156
4092
  protocol: protocol,
4157
4093
  hostname: hostname,
@@ -4185,8 +4121,7 @@ export var serializeAws_restJson1SearchFoldersCommand = function (input, context
4185
4121
  else {
4186
4122
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
4187
4123
  }
4188
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters !== undefined &&
4189
- input.Filters !== null && { Filters: serializeAws_restJson1FolderSearchFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
4124
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1FolderSearchFilterList(input.Filters, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
4190
4125
  return [2, new __HttpRequest({
4191
4126
  protocol: protocol,
4192
4127
  hostname: hostname,
@@ -4232,8 +4167,7 @@ export var serializeAws_restJson1SearchGroupsCommand = function (input, context)
4232
4167
  throw new Error("No value provided for input HTTP label: Namespace.");
4233
4168
  }
4234
4169
  query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
4235
- body = JSON.stringify(__assign({}, (input.Filters !== undefined &&
4236
- input.Filters !== null && { Filters: serializeAws_restJson1GroupSearchFilterList(input.Filters, context) })));
4170
+ body = JSON.stringify(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1GroupSearchFilterList(input.Filters, context) })));
4237
4171
  return [2, new __HttpRequest({
4238
4172
  protocol: protocol,
4239
4173
  hostname: hostname,
@@ -4268,8 +4202,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
4268
4202
  else {
4269
4203
  throw new Error("No value provided for input HTTP label: ResourceArn.");
4270
4204
  }
4271
- body = JSON.stringify(__assign({}, (input.Tags !== undefined &&
4272
- input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
4205
+ body = JSON.stringify(__assign({}, (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
4273
4206
  return [2, new __HttpRequest({
4274
4207
  protocol: protocol,
4275
4208
  hostname: hostname,
@@ -4337,8 +4270,7 @@ export var serializeAws_restJson1UpdateAccountCustomizationCommand = function (i
4337
4270
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
4338
4271
  }
4339
4272
  query = __assign({}, (input.Namespace !== undefined && { namespace: input.Namespace }));
4340
- body = JSON.stringify(__assign({}, (input.AccountCustomization !== undefined &&
4341
- input.AccountCustomization !== null && {
4273
+ body = JSON.stringify(__assign({}, (input.AccountCustomization != null && {
4342
4274
  AccountCustomization: serializeAws_restJson1AccountCustomization(input.AccountCustomization, context),
4343
4275
  })));
4344
4276
  return [2, new __HttpRequest({
@@ -4375,9 +4307,7 @@ export var serializeAws_restJson1UpdateAccountSettingsCommand = function (input,
4375
4307
  else {
4376
4308
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
4377
4309
  }
4378
- body = JSON.stringify(__assign(__assign({}, (input.DefaultNamespace !== undefined &&
4379
- input.DefaultNamespace !== null && { DefaultNamespace: input.DefaultNamespace })), (input.NotificationEmail !== undefined &&
4380
- input.NotificationEmail !== null && { NotificationEmail: input.NotificationEmail })));
4310
+ body = JSON.stringify(__assign(__assign({}, (input.DefaultNamespace != null && { DefaultNamespace: input.DefaultNamespace })), (input.NotificationEmail != null && { NotificationEmail: input.NotificationEmail })));
4381
4311
  return [2, new __HttpRequest({
4382
4312
  protocol: protocol,
4383
4313
  hostname: hostname,
@@ -4422,11 +4352,9 @@ export var serializeAws_restJson1UpdateAnalysisCommand = function (input, contex
4422
4352
  else {
4423
4353
  throw new Error("No value provided for input HTTP label: AnalysisId.");
4424
4354
  }
4425
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Parameters !== undefined &&
4426
- input.Parameters !== null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.SourceEntity !== undefined &&
4427
- input.SourceEntity !== null && {
4355
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.SourceEntity != null && {
4428
4356
  SourceEntity: serializeAws_restJson1AnalysisSourceEntity(input.SourceEntity, context),
4429
- })), (input.ThemeArn !== undefined && input.ThemeArn !== null && { ThemeArn: input.ThemeArn })));
4357
+ })), (input.ThemeArn != null && { ThemeArn: input.ThemeArn })));
4430
4358
  return [2, new __HttpRequest({
4431
4359
  protocol: protocol,
4432
4360
  hostname: hostname,
@@ -4471,11 +4399,9 @@ export var serializeAws_restJson1UpdateAnalysisPermissionsCommand = function (in
4471
4399
  else {
4472
4400
  throw new Error("No value provided for input HTTP label: AnalysisId.");
4473
4401
  }
4474
- body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions !== undefined &&
4475
- input.GrantPermissions !== null && {
4402
+ body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
4476
4403
  GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
4477
- })), (input.RevokePermissions !== undefined &&
4478
- input.RevokePermissions !== null && {
4404
+ })), (input.RevokePermissions != null && {
4479
4405
  RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
4480
4406
  })));
4481
4407
  return [2, new __HttpRequest({
@@ -4522,15 +4448,11 @@ export var serializeAws_restJson1UpdateDashboardCommand = function (input, conte
4522
4448
  else {
4523
4449
  throw new Error("No value provided for input HTTP label: DashboardId.");
4524
4450
  }
4525
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DashboardPublishOptions !== undefined &&
4526
- input.DashboardPublishOptions !== null && {
4451
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DashboardPublishOptions != null && {
4527
4452
  DashboardPublishOptions: serializeAws_restJson1DashboardPublishOptions(input.DashboardPublishOptions, context),
4528
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Parameters !== undefined &&
4529
- input.Parameters !== null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.SourceEntity !== undefined &&
4530
- input.SourceEntity !== null && {
4453
+ })), (input.Name != null && { Name: input.Name })), (input.Parameters != null && { Parameters: serializeAws_restJson1_Parameters(input.Parameters, context) })), (input.SourceEntity != null && {
4531
4454
  SourceEntity: serializeAws_restJson1DashboardSourceEntity(input.SourceEntity, context),
4532
- })), (input.ThemeArn !== undefined && input.ThemeArn !== null && { ThemeArn: input.ThemeArn })), (input.VersionDescription !== undefined &&
4533
- input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
4455
+ })), (input.ThemeArn != null && { ThemeArn: input.ThemeArn })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
4534
4456
  return [2, new __HttpRequest({
4535
4457
  protocol: protocol,
4536
4458
  hostname: hostname,
@@ -4575,17 +4497,13 @@ export var serializeAws_restJson1UpdateDashboardPermissionsCommand = function (i
4575
4497
  else {
4576
4498
  throw new Error("No value provided for input HTTP label: DashboardId.");
4577
4499
  }
4578
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.GrantLinkPermissions !== undefined &&
4579
- input.GrantLinkPermissions !== null && {
4500
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.GrantLinkPermissions != null && {
4580
4501
  GrantLinkPermissions: serializeAws_restJson1UpdateLinkPermissionList(input.GrantLinkPermissions, context),
4581
- })), (input.GrantPermissions !== undefined &&
4582
- input.GrantPermissions !== null && {
4502
+ })), (input.GrantPermissions != null && {
4583
4503
  GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
4584
- })), (input.RevokeLinkPermissions !== undefined &&
4585
- input.RevokeLinkPermissions !== null && {
4504
+ })), (input.RevokeLinkPermissions != null && {
4586
4505
  RevokeLinkPermissions: serializeAws_restJson1UpdateLinkPermissionList(input.RevokeLinkPermissions, context),
4587
- })), (input.RevokePermissions !== undefined &&
4588
- input.RevokePermissions !== null && {
4506
+ })), (input.RevokePermissions != null && {
4589
4507
  RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
4590
4508
  })));
4591
4509
  return [2, new __HttpRequest({
@@ -4684,29 +4602,21 @@ export var serializeAws_restJson1UpdateDataSetCommand = function (input, context
4684
4602
  else {
4685
4603
  throw new Error("No value provided for input HTTP label: DataSetId.");
4686
4604
  }
4687
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups !== undefined &&
4688
- input.ColumnGroups !== null && {
4605
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ColumnGroups != null && {
4689
4606
  ColumnGroups: serializeAws_restJson1ColumnGroupList(input.ColumnGroups, context),
4690
- })), (input.ColumnLevelPermissionRules !== undefined &&
4691
- input.ColumnLevelPermissionRules !== null && {
4607
+ })), (input.ColumnLevelPermissionRules != null && {
4692
4608
  ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
4693
- })), (input.DataSetUsageConfiguration !== undefined &&
4694
- input.DataSetUsageConfiguration !== null && {
4609
+ })), (input.DataSetUsageConfiguration != null && {
4695
4610
  DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
4696
- })), (input.FieldFolders !== undefined &&
4697
- input.FieldFolders !== null && {
4611
+ })), (input.FieldFolders != null && {
4698
4612
  FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
4699
- })), (input.ImportMode !== undefined && input.ImportMode !== null && { ImportMode: input.ImportMode })), (input.LogicalTableMap !== undefined &&
4700
- input.LogicalTableMap !== null && {
4613
+ })), (input.ImportMode != null && { ImportMode: input.ImportMode })), (input.LogicalTableMap != null && {
4701
4614
  LogicalTableMap: serializeAws_restJson1LogicalTableMap(input.LogicalTableMap, context),
4702
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PhysicalTableMap !== undefined &&
4703
- input.PhysicalTableMap !== null && {
4615
+ })), (input.Name != null && { Name: input.Name })), (input.PhysicalTableMap != null && {
4704
4616
  PhysicalTableMap: serializeAws_restJson1PhysicalTableMap(input.PhysicalTableMap, context),
4705
- })), (input.RowLevelPermissionDataSet !== undefined &&
4706
- input.RowLevelPermissionDataSet !== null && {
4617
+ })), (input.RowLevelPermissionDataSet != null && {
4707
4618
  RowLevelPermissionDataSet: serializeAws_restJson1RowLevelPermissionDataSet(input.RowLevelPermissionDataSet, context),
4708
- })), (input.RowLevelPermissionTagConfiguration !== undefined &&
4709
- input.RowLevelPermissionTagConfiguration !== null && {
4619
+ })), (input.RowLevelPermissionTagConfiguration != null && {
4710
4620
  RowLevelPermissionTagConfiguration: serializeAws_restJson1RowLevelPermissionTagConfiguration(input.RowLevelPermissionTagConfiguration, context),
4711
4621
  })));
4712
4622
  return [2, new __HttpRequest({
@@ -4753,11 +4663,9 @@ export var serializeAws_restJson1UpdateDataSetPermissionsCommand = function (inp
4753
4663
  else {
4754
4664
  throw new Error("No value provided for input HTTP label: DataSetId.");
4755
4665
  }
4756
- body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions !== undefined &&
4757
- input.GrantPermissions !== null && {
4666
+ body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
4758
4667
  GrantPermissions: serializeAws_restJson1ResourcePermissionList(input.GrantPermissions, context),
4759
- })), (input.RevokePermissions !== undefined &&
4760
- input.RevokePermissions !== null && {
4668
+ })), (input.RevokePermissions != null && {
4761
4669
  RevokePermissions: serializeAws_restJson1ResourcePermissionList(input.RevokePermissions, context),
4762
4670
  })));
4763
4671
  return [2, new __HttpRequest({
@@ -4804,17 +4712,13 @@ export var serializeAws_restJson1UpdateDataSourceCommand = function (input, cont
4804
4712
  else {
4805
4713
  throw new Error("No value provided for input HTTP label: DataSourceId.");
4806
4714
  }
4807
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Credentials !== undefined &&
4808
- input.Credentials !== null && {
4715
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Credentials != null && {
4809
4716
  Credentials: serializeAws_restJson1DataSourceCredentials(input.Credentials, context),
4810
- })), (input.DataSourceParameters !== undefined &&
4811
- input.DataSourceParameters !== null && {
4717
+ })), (input.DataSourceParameters != null && {
4812
4718
  DataSourceParameters: serializeAws_restJson1DataSourceParameters(input.DataSourceParameters, context),
4813
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SslProperties !== undefined &&
4814
- input.SslProperties !== null && {
4719
+ })), (input.Name != null && { Name: input.Name })), (input.SslProperties != null && {
4815
4720
  SslProperties: serializeAws_restJson1SslProperties(input.SslProperties, context),
4816
- })), (input.VpcConnectionProperties !== undefined &&
4817
- input.VpcConnectionProperties !== null && {
4721
+ })), (input.VpcConnectionProperties != null && {
4818
4722
  VpcConnectionProperties: serializeAws_restJson1VpcConnectionProperties(input.VpcConnectionProperties, context),
4819
4723
  })));
4820
4724
  return [2, new __HttpRequest({
@@ -4861,11 +4765,9 @@ export var serializeAws_restJson1UpdateDataSourcePermissionsCommand = function (
4861
4765
  else {
4862
4766
  throw new Error("No value provided for input HTTP label: DataSourceId.");
4863
4767
  }
4864
- body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions !== undefined &&
4865
- input.GrantPermissions !== null && {
4768
+ body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
4866
4769
  GrantPermissions: serializeAws_restJson1ResourcePermissionList(input.GrantPermissions, context),
4867
- })), (input.RevokePermissions !== undefined &&
4868
- input.RevokePermissions !== null && {
4770
+ })), (input.RevokePermissions != null && {
4869
4771
  RevokePermissions: serializeAws_restJson1ResourcePermissionList(input.RevokePermissions, context),
4870
4772
  })));
4871
4773
  return [2, new __HttpRequest({
@@ -4912,7 +4814,7 @@ export var serializeAws_restJson1UpdateFolderCommand = function (input, context)
4912
4814
  else {
4913
4815
  throw new Error("No value provided for input HTTP label: FolderId.");
4914
4816
  }
4915
- body = JSON.stringify(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })));
4817
+ body = JSON.stringify(__assign({}, (input.Name != null && { Name: input.Name })));
4916
4818
  return [2, new __HttpRequest({
4917
4819
  protocol: protocol,
4918
4820
  hostname: hostname,
@@ -4957,11 +4859,9 @@ export var serializeAws_restJson1UpdateFolderPermissionsCommand = function (inpu
4957
4859
  else {
4958
4860
  throw new Error("No value provided for input HTTP label: FolderId.");
4959
4861
  }
4960
- body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions !== undefined &&
4961
- input.GrantPermissions !== null && {
4862
+ body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
4962
4863
  GrantPermissions: serializeAws_restJson1ResourcePermissionList(input.GrantPermissions, context),
4963
- })), (input.RevokePermissions !== undefined &&
4964
- input.RevokePermissions !== null && {
4864
+ })), (input.RevokePermissions != null && {
4965
4865
  RevokePermissions: serializeAws_restJson1ResourcePermissionList(input.RevokePermissions, context),
4966
4866
  })));
4967
4867
  return [2, new __HttpRequest({
@@ -5018,7 +4918,7 @@ export var serializeAws_restJson1UpdateGroupCommand = function (input, context)
5018
4918
  else {
5019
4919
  throw new Error("No value provided for input HTTP label: Namespace.");
5020
4920
  }
5021
- body = JSON.stringify(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })));
4921
+ body = JSON.stringify(__assign({}, (input.Description != null && { Description: input.Description })));
5022
4922
  return [2, new __HttpRequest({
5023
4923
  protocol: protocol,
5024
4924
  hostname: hostname,
@@ -5073,9 +4973,7 @@ export var serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = function (in
5073
4973
  else {
5074
4974
  throw new Error("No value provided for input HTTP label: Namespace.");
5075
4975
  }
5076
- body = JSON.stringify(__assign(__assign(__assign({}, (input.AssignmentStatus !== undefined &&
5077
- input.AssignmentStatus !== null && { AssignmentStatus: input.AssignmentStatus })), (input.Identities !== undefined &&
5078
- input.Identities !== null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) })), (input.PolicyArn !== undefined && input.PolicyArn !== null && { PolicyArn: input.PolicyArn })));
4976
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.AssignmentStatus != null && { AssignmentStatus: input.AssignmentStatus })), (input.Identities != null && { Identities: serializeAws_restJson1IdentityMap(input.Identities, context) })), (input.PolicyArn != null && { PolicyArn: input.PolicyArn })));
5079
4977
  return [2, new __HttpRequest({
5080
4978
  protocol: protocol,
5081
4979
  hostname: hostname,
@@ -5109,8 +5007,7 @@ export var serializeAws_restJson1UpdateIpRestrictionCommand = function (input, c
5109
5007
  else {
5110
5008
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
5111
5009
  }
5112
- body = JSON.stringify(__assign(__assign({}, (input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled })), (input.IpRestrictionRuleMap !== undefined &&
5113
- input.IpRestrictionRuleMap !== null && {
5010
+ body = JSON.stringify(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.IpRestrictionRuleMap != null && {
5114
5011
  IpRestrictionRuleMap: serializeAws_restJson1IpRestrictionRuleMap(input.IpRestrictionRuleMap, context),
5115
5012
  })));
5116
5013
  return [2, new __HttpRequest({
@@ -5147,8 +5044,7 @@ export var serializeAws_restJson1UpdatePublicSharingSettingsCommand = function (
5147
5044
  else {
5148
5045
  throw new Error("No value provided for input HTTP label: AwsAccountId.");
5149
5046
  }
5150
- body = JSON.stringify(__assign({}, (input.PublicSharingEnabled !== undefined &&
5151
- input.PublicSharingEnabled !== null && { PublicSharingEnabled: input.PublicSharingEnabled })));
5047
+ body = JSON.stringify(__assign({}, (input.PublicSharingEnabled != null && { PublicSharingEnabled: input.PublicSharingEnabled })));
5152
5048
  return [2, new __HttpRequest({
5153
5049
  protocol: protocol,
5154
5050
  hostname: hostname,
@@ -5193,11 +5089,9 @@ export var serializeAws_restJson1UpdateTemplateCommand = function (input, contex
5193
5089
  else {
5194
5090
  throw new Error("No value provided for input HTTP label: TemplateId.");
5195
5091
  }
5196
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SourceEntity !== undefined &&
5197
- input.SourceEntity !== null && {
5092
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.SourceEntity != null && {
5198
5093
  SourceEntity: serializeAws_restJson1TemplateSourceEntity(input.SourceEntity, context),
5199
- })), (input.VersionDescription !== undefined &&
5200
- input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
5094
+ })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
5201
5095
  return [2, new __HttpRequest({
5202
5096
  protocol: protocol,
5203
5097
  hostname: hostname,
@@ -5252,8 +5146,7 @@ export var serializeAws_restJson1UpdateTemplateAliasCommand = function (input, c
5252
5146
  else {
5253
5147
  throw new Error("No value provided for input HTTP label: AliasName.");
5254
5148
  }
5255
- body = JSON.stringify(__assign({}, (input.TemplateVersionNumber !== undefined &&
5256
- input.TemplateVersionNumber !== null && { TemplateVersionNumber: input.TemplateVersionNumber })));
5149
+ body = JSON.stringify(__assign({}, (input.TemplateVersionNumber != null && { TemplateVersionNumber: input.TemplateVersionNumber })));
5257
5150
  return [2, new __HttpRequest({
5258
5151
  protocol: protocol,
5259
5152
  hostname: hostname,
@@ -5298,11 +5191,9 @@ export var serializeAws_restJson1UpdateTemplatePermissionsCommand = function (in
5298
5191
  else {
5299
5192
  throw new Error("No value provided for input HTTP label: TemplateId.");
5300
5193
  }
5301
- body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions !== undefined &&
5302
- input.GrantPermissions !== null && {
5194
+ body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
5303
5195
  GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
5304
- })), (input.RevokePermissions !== undefined &&
5305
- input.RevokePermissions !== null && {
5196
+ })), (input.RevokePermissions != null && {
5306
5197
  RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
5307
5198
  })));
5308
5199
  return [2, new __HttpRequest({
@@ -5348,11 +5239,9 @@ export var serializeAws_restJson1UpdateThemeCommand = function (input, context)
5348
5239
  else {
5349
5240
  throw new Error("No value provided for input HTTP label: ThemeId.");
5350
5241
  }
5351
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.BaseThemeId !== undefined && input.BaseThemeId !== null && { BaseThemeId: input.BaseThemeId })), (input.Configuration !== undefined &&
5352
- input.Configuration !== null && {
5242
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.BaseThemeId != null && { BaseThemeId: input.BaseThemeId })), (input.Configuration != null && {
5353
5243
  Configuration: serializeAws_restJson1ThemeConfiguration(input.Configuration, context),
5354
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.VersionDescription !== undefined &&
5355
- input.VersionDescription !== null && { VersionDescription: input.VersionDescription })));
5244
+ })), (input.Name != null && { Name: input.Name })), (input.VersionDescription != null && { VersionDescription: input.VersionDescription })));
5356
5245
  return [2, new __HttpRequest({
5357
5246
  protocol: protocol,
5358
5247
  hostname: hostname,
@@ -5407,8 +5296,7 @@ export var serializeAws_restJson1UpdateThemeAliasCommand = function (input, cont
5407
5296
  else {
5408
5297
  throw new Error("No value provided for input HTTP label: AliasName.");
5409
5298
  }
5410
- body = JSON.stringify(__assign({}, (input.ThemeVersionNumber !== undefined &&
5411
- input.ThemeVersionNumber !== null && { ThemeVersionNumber: input.ThemeVersionNumber })));
5299
+ body = JSON.stringify(__assign({}, (input.ThemeVersionNumber != null && { ThemeVersionNumber: input.ThemeVersionNumber })));
5412
5300
  return [2, new __HttpRequest({
5413
5301
  protocol: protocol,
5414
5302
  hostname: hostname,
@@ -5453,11 +5341,9 @@ export var serializeAws_restJson1UpdateThemePermissionsCommand = function (input
5453
5341
  else {
5454
5342
  throw new Error("No value provided for input HTTP label: ThemeId.");
5455
5343
  }
5456
- body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions !== undefined &&
5457
- input.GrantPermissions !== null && {
5344
+ body = JSON.stringify(__assign(__assign({}, (input.GrantPermissions != null && {
5458
5345
  GrantPermissions: serializeAws_restJson1UpdateResourcePermissionList(input.GrantPermissions, context),
5459
- })), (input.RevokePermissions !== undefined &&
5460
- input.RevokePermissions !== null && {
5346
+ })), (input.RevokePermissions != null && {
5461
5347
  RevokePermissions: serializeAws_restJson1UpdateResourcePermissionList(input.RevokePermissions, context),
5462
5348
  })));
5463
5349
  return [2, new __HttpRequest({
@@ -5514,14 +5400,11 @@ export var serializeAws_restJson1UpdateUserCommand = function (input, context) {
5514
5400
  else {
5515
5401
  throw new Error("No value provided for input HTTP label: Namespace.");
5516
5402
  }
5517
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomFederationProviderUrl !== undefined &&
5518
- input.CustomFederationProviderUrl !== null && { CustomFederationProviderUrl: input.CustomFederationProviderUrl })), (input.CustomPermissionsName !== undefined &&
5519
- input.CustomPermissionsName !== null && { CustomPermissionsName: input.CustomPermissionsName })), (input.Email !== undefined && input.Email !== null && { Email: input.Email })), (input.ExternalLoginFederationProviderType !== undefined &&
5520
- input.ExternalLoginFederationProviderType !== null && {
5403
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CustomFederationProviderUrl != null && {
5404
+ CustomFederationProviderUrl: input.CustomFederationProviderUrl,
5405
+ })), (input.CustomPermissionsName != null && { CustomPermissionsName: input.CustomPermissionsName })), (input.Email != null && { Email: input.Email })), (input.ExternalLoginFederationProviderType != null && {
5521
5406
  ExternalLoginFederationProviderType: input.ExternalLoginFederationProviderType,
5522
- })), (input.ExternalLoginId !== undefined &&
5523
- input.ExternalLoginId !== null && { ExternalLoginId: input.ExternalLoginId })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.UnapplyCustomPermissions !== undefined &&
5524
- input.UnapplyCustomPermissions !== null && { UnapplyCustomPermissions: input.UnapplyCustomPermissions })));
5407
+ })), (input.ExternalLoginId != null && { ExternalLoginId: input.ExternalLoginId })), (input.Role != null && { Role: input.Role })), (input.UnapplyCustomPermissions != null && { UnapplyCustomPermissions: input.UnapplyCustomPermissions })));
5525
5408
  return [2, new __HttpRequest({
5526
5409
  protocol: protocol,
5527
5410
  hostname: hostname,
@@ -16821,10 +16704,9 @@ var deserializeAws_restJson1UnsupportedUserEditionExceptionResponse = function (
16821
16704
  });
16822
16705
  }); };
16823
16706
  var serializeAws_restJson1AccountCustomization = function (input, context) {
16824
- return __assign(__assign({}, (input.DefaultEmailCustomizationTemplate !== undefined &&
16825
- input.DefaultEmailCustomizationTemplate !== null && {
16707
+ return __assign(__assign({}, (input.DefaultEmailCustomizationTemplate != null && {
16826
16708
  DefaultEmailCustomizationTemplate: input.DefaultEmailCustomizationTemplate,
16827
- })), (input.DefaultTheme !== undefined && input.DefaultTheme !== null && { DefaultTheme: input.DefaultTheme }));
16709
+ })), (input.DefaultTheme != null && { DefaultTheme: input.DefaultTheme }));
16828
16710
  };
16829
16711
  var serializeAws_restJson1ActionList = function (input, context) {
16830
16712
  return input
@@ -16837,17 +16719,16 @@ var serializeAws_restJson1ActionList = function (input, context) {
16837
16719
  });
16838
16720
  };
16839
16721
  var serializeAws_restJson1AdHocFilteringOption = function (input, context) {
16840
- return __assign({}, (input.AvailabilityStatus !== undefined &&
16841
- input.AvailabilityStatus !== null && { AvailabilityStatus: input.AvailabilityStatus }));
16722
+ return __assign({}, (input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }));
16842
16723
  };
16843
16724
  var serializeAws_restJson1AmazonElasticsearchParameters = function (input, context) {
16844
- return __assign({}, (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain }));
16725
+ return __assign({}, (input.Domain != null && { Domain: input.Domain }));
16845
16726
  };
16846
16727
  var serializeAws_restJson1AmazonOpenSearchParameters = function (input, context) {
16847
- return __assign({}, (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain }));
16728
+ return __assign({}, (input.Domain != null && { Domain: input.Domain }));
16848
16729
  };
16849
16730
  var serializeAws_restJson1AnalysisSearchFilter = function (input, context) {
16850
- return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
16731
+ return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Value != null && { Value: input.Value }));
16851
16732
  };
16852
16733
  var serializeAws_restJson1AnalysisSearchFilterList = function (input, context) {
16853
16734
  return input
@@ -16860,24 +16741,20 @@ var serializeAws_restJson1AnalysisSearchFilterList = function (input, context) {
16860
16741
  });
16861
16742
  };
16862
16743
  var serializeAws_restJson1AnalysisSourceEntity = function (input, context) {
16863
- return __assign({}, (input.SourceTemplate !== undefined &&
16864
- input.SourceTemplate !== null && {
16744
+ return __assign({}, (input.SourceTemplate != null && {
16865
16745
  SourceTemplate: serializeAws_restJson1AnalysisSourceTemplate(input.SourceTemplate, context),
16866
16746
  }));
16867
16747
  };
16868
16748
  var serializeAws_restJson1AnalysisSourceTemplate = function (input, context) {
16869
- return __assign(__assign({}, (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn })), (input.DataSetReferences !== undefined &&
16870
- input.DataSetReferences !== null && {
16749
+ return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.DataSetReferences != null && {
16871
16750
  DataSetReferences: serializeAws_restJson1DataSetReferenceList(input.DataSetReferences, context),
16872
16751
  }));
16873
16752
  };
16874
16753
  var serializeAws_restJson1AnonymousUserDashboardEmbeddingConfiguration = function (input, context) {
16875
- return __assign({}, (input.InitialDashboardId !== undefined &&
16876
- input.InitialDashboardId !== null && { InitialDashboardId: input.InitialDashboardId }));
16754
+ return __assign({}, (input.InitialDashboardId != null && { InitialDashboardId: input.InitialDashboardId }));
16877
16755
  };
16878
16756
  var serializeAws_restJson1AnonymousUserEmbeddingExperienceConfiguration = function (input, context) {
16879
- return __assign({}, (input.Dashboard !== undefined &&
16880
- input.Dashboard !== null && {
16757
+ return __assign({}, (input.Dashboard != null && {
16881
16758
  Dashboard: serializeAws_restJson1AnonymousUserDashboardEmbeddingConfiguration(input.Dashboard, context),
16882
16759
  }));
16883
16760
  };
@@ -16892,22 +16769,22 @@ var serializeAws_restJson1ArnList = function (input, context) {
16892
16769
  });
16893
16770
  };
16894
16771
  var serializeAws_restJson1AthenaParameters = function (input, context) {
16895
- return __assign({}, (input.WorkGroup !== undefined && input.WorkGroup !== null && { WorkGroup: input.WorkGroup }));
16772
+ return __assign({}, (input.WorkGroup != null && { WorkGroup: input.WorkGroup }));
16896
16773
  };
16897
16774
  var serializeAws_restJson1AuroraParameters = function (input, context) {
16898
- return __assign(__assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
16775
+ return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
16899
16776
  };
16900
16777
  var serializeAws_restJson1AuroraPostgreSqlParameters = function (input, context) {
16901
- return __assign(__assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
16778
+ return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
16902
16779
  };
16903
16780
  var serializeAws_restJson1AwsIotAnalyticsParameters = function (input, context) {
16904
- return __assign({}, (input.DataSetName !== undefined && input.DataSetName !== null && { DataSetName: input.DataSetName }));
16781
+ return __assign({}, (input.DataSetName != null && { DataSetName: input.DataSetName }));
16905
16782
  };
16906
16783
  var serializeAws_restJson1BorderStyle = function (input, context) {
16907
- return __assign({}, (input.Show !== undefined && input.Show !== null && { Show: input.Show }));
16784
+ return __assign({}, (input.Show != null && { Show: input.Show }));
16908
16785
  };
16909
16786
  var serializeAws_restJson1CalculatedColumn = function (input, context) {
16910
- return __assign(__assign(__assign({}, (input.ColumnId !== undefined && input.ColumnId !== null && { ColumnId: input.ColumnId })), (input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName })), (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression }));
16787
+ return __assign(__assign(__assign({}, (input.ColumnId != null && { ColumnId: input.ColumnId })), (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.Expression != null && { Expression: input.Expression }));
16911
16788
  };
16912
16789
  var serializeAws_restJson1CalculatedColumnList = function (input, context) {
16913
16790
  return input
@@ -16920,7 +16797,7 @@ var serializeAws_restJson1CalculatedColumnList = function (input, context) {
16920
16797
  });
16921
16798
  };
16922
16799
  var serializeAws_restJson1CastColumnTypeOperation = function (input, context) {
16923
- return __assign(__assign(__assign({}, (input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.NewColumnType !== undefined && input.NewColumnType !== null && { NewColumnType: input.NewColumnType }));
16800
+ return __assign(__assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.Format != null && { Format: input.Format })), (input.NewColumnType != null && { NewColumnType: input.NewColumnType }));
16924
16801
  };
16925
16802
  var serializeAws_restJson1ColorList = function (input, context) {
16926
16803
  return input
@@ -16933,11 +16810,10 @@ var serializeAws_restJson1ColorList = function (input, context) {
16933
16810
  });
16934
16811
  };
16935
16812
  var serializeAws_restJson1ColumnDescription = function (input, context) {
16936
- return __assign({}, (input.Text !== undefined && input.Text !== null && { Text: input.Text }));
16813
+ return __assign({}, (input.Text != null && { Text: input.Text }));
16937
16814
  };
16938
16815
  var serializeAws_restJson1ColumnGroup = function (input, context) {
16939
- return __assign({}, (input.GeoSpatialColumnGroup !== undefined &&
16940
- input.GeoSpatialColumnGroup !== null && {
16816
+ return __assign({}, (input.GeoSpatialColumnGroup != null && {
16941
16817
  GeoSpatialColumnGroup: serializeAws_restJson1GeoSpatialColumnGroup(input.GeoSpatialColumnGroup, context),
16942
16818
  }));
16943
16819
  };
@@ -16952,9 +16828,7 @@ var serializeAws_restJson1ColumnGroupList = function (input, context) {
16952
16828
  });
16953
16829
  };
16954
16830
  var serializeAws_restJson1ColumnLevelPermissionRule = function (input, context) {
16955
- return __assign(__assign({}, (input.ColumnNames !== undefined &&
16956
- input.ColumnNames !== null && { ColumnNames: serializeAws_restJson1ColumnNameList(input.ColumnNames, context) })), (input.Principals !== undefined &&
16957
- input.Principals !== null && { Principals: serializeAws_restJson1PrincipalList(input.Principals, context) }));
16831
+ return __assign(__assign({}, (input.ColumnNames != null && { ColumnNames: serializeAws_restJson1ColumnNameList(input.ColumnNames, context) })), (input.Principals != null && { Principals: serializeAws_restJson1PrincipalList(input.Principals, context) }));
16958
16832
  };
16959
16833
  var serializeAws_restJson1ColumnLevelPermissionRuleList = function (input, context) {
16960
16834
  return input
@@ -16987,11 +16861,9 @@ var serializeAws_restJson1ColumnNameList = function (input, context) {
16987
16861
  });
16988
16862
  };
16989
16863
  var serializeAws_restJson1ColumnTag = function (input, context) {
16990
- return __assign(__assign({}, (input.ColumnDescription !== undefined &&
16991
- input.ColumnDescription !== null && {
16864
+ return __assign(__assign({}, (input.ColumnDescription != null && {
16992
16865
  ColumnDescription: serializeAws_restJson1ColumnDescription(input.ColumnDescription, context),
16993
- })), (input.ColumnGeographicRole !== undefined &&
16994
- input.ColumnGeographicRole !== null && { ColumnGeographicRole: input.ColumnGeographicRole }));
16866
+ })), (input.ColumnGeographicRole != null && { ColumnGeographicRole: input.ColumnGeographicRole }));
16995
16867
  };
16996
16868
  var serializeAws_restJson1ColumnTagList = function (input, context) {
16997
16869
  return input
@@ -17014,33 +16886,27 @@ var serializeAws_restJson1ColumnTagNames = function (input, context) {
17014
16886
  });
17015
16887
  };
17016
16888
  var serializeAws_restJson1CreateColumnsOperation = function (input, context) {
17017
- return __assign({}, (input.Columns !== undefined &&
17018
- input.Columns !== null && { Columns: serializeAws_restJson1CalculatedColumnList(input.Columns, context) }));
16889
+ return __assign({}, (input.Columns != null && { Columns: serializeAws_restJson1CalculatedColumnList(input.Columns, context) }));
17019
16890
  };
17020
16891
  var serializeAws_restJson1CredentialPair = function (input, context) {
17021
- return __assign(__assign(__assign({}, (input.AlternateDataSourceParameters !== undefined &&
17022
- input.AlternateDataSourceParameters !== null && {
16892
+ return __assign(__assign(__assign({}, (input.AlternateDataSourceParameters != null && {
17023
16893
  AlternateDataSourceParameters: serializeAws_restJson1DataSourceParametersList(input.AlternateDataSourceParameters, context),
17024
- })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
16894
+ })), (input.Password != null && { Password: input.Password })), (input.Username != null && { Username: input.Username }));
17025
16895
  };
17026
16896
  var serializeAws_restJson1CustomSql = function (input, context) {
17027
- return __assign(__assign(__assign(__assign({}, (input.Columns !== undefined &&
17028
- input.Columns !== null && { Columns: serializeAws_restJson1InputColumnList(input.Columns, context) })), (input.DataSourceArn !== undefined && input.DataSourceArn !== null && { DataSourceArn: input.DataSourceArn })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SqlQuery !== undefined && input.SqlQuery !== null && { SqlQuery: input.SqlQuery }));
16897
+ return __assign(__assign(__assign(__assign({}, (input.Columns != null && { Columns: serializeAws_restJson1InputColumnList(input.Columns, context) })), (input.DataSourceArn != null && { DataSourceArn: input.DataSourceArn })), (input.Name != null && { Name: input.Name })), (input.SqlQuery != null && { SqlQuery: input.SqlQuery }));
17029
16898
  };
17030
16899
  var serializeAws_restJson1DashboardPublishOptions = function (input, context) {
17031
- return __assign(__assign(__assign({}, (input.AdHocFilteringOption !== undefined &&
17032
- input.AdHocFilteringOption !== null && {
16900
+ return __assign(__assign(__assign({}, (input.AdHocFilteringOption != null && {
17033
16901
  AdHocFilteringOption: serializeAws_restJson1AdHocFilteringOption(input.AdHocFilteringOption, context),
17034
- })), (input.ExportToCSVOption !== undefined &&
17035
- input.ExportToCSVOption !== null && {
16902
+ })), (input.ExportToCSVOption != null && {
17036
16903
  ExportToCSVOption: serializeAws_restJson1ExportToCSVOption(input.ExportToCSVOption, context),
17037
- })), (input.SheetControlsOption !== undefined &&
17038
- input.SheetControlsOption !== null && {
16904
+ })), (input.SheetControlsOption != null && {
17039
16905
  SheetControlsOption: serializeAws_restJson1SheetControlsOption(input.SheetControlsOption, context),
17040
16906
  }));
17041
16907
  };
17042
16908
  var serializeAws_restJson1DashboardSearchFilter = function (input, context) {
17043
- return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
16909
+ return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Value != null && { Value: input.Value }));
17044
16910
  };
17045
16911
  var serializeAws_restJson1DashboardSearchFilterList = function (input, context) {
17046
16912
  return input
@@ -17053,28 +16919,22 @@ var serializeAws_restJson1DashboardSearchFilterList = function (input, context)
17053
16919
  });
17054
16920
  };
17055
16921
  var serializeAws_restJson1DashboardSourceEntity = function (input, context) {
17056
- return __assign({}, (input.SourceTemplate !== undefined &&
17057
- input.SourceTemplate !== null && {
16922
+ return __assign({}, (input.SourceTemplate != null && {
17058
16923
  SourceTemplate: serializeAws_restJson1DashboardSourceTemplate(input.SourceTemplate, context),
17059
16924
  }));
17060
16925
  };
17061
16926
  var serializeAws_restJson1DashboardSourceTemplate = function (input, context) {
17062
- return __assign(__assign({}, (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn })), (input.DataSetReferences !== undefined &&
17063
- input.DataSetReferences !== null && {
16927
+ return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.DataSetReferences != null && {
17064
16928
  DataSetReferences: serializeAws_restJson1DataSetReferenceList(input.DataSetReferences, context),
17065
16929
  }));
17066
16930
  };
17067
16931
  var serializeAws_restJson1DataColorPalette = function (input, context) {
17068
- return __assign(__assign(__assign({}, (input.Colors !== undefined &&
17069
- input.Colors !== null && { Colors: serializeAws_restJson1ColorList(input.Colors, context) })), (input.EmptyFillColor !== undefined &&
17070
- input.EmptyFillColor !== null && { EmptyFillColor: input.EmptyFillColor })), (input.MinMaxGradient !== undefined &&
17071
- input.MinMaxGradient !== null && {
16932
+ return __assign(__assign(__assign({}, (input.Colors != null && { Colors: serializeAws_restJson1ColorList(input.Colors, context) })), (input.EmptyFillColor != null && { EmptyFillColor: input.EmptyFillColor })), (input.MinMaxGradient != null && {
17072
16933
  MinMaxGradient: serializeAws_restJson1ColorList(input.MinMaxGradient, context),
17073
16934
  }));
17074
16935
  };
17075
16936
  var serializeAws_restJson1DataSetReference = function (input, context) {
17076
- return __assign(__assign({}, (input.DataSetArn !== undefined && input.DataSetArn !== null && { DataSetArn: input.DataSetArn })), (input.DataSetPlaceholder !== undefined &&
17077
- input.DataSetPlaceholder !== null && { DataSetPlaceholder: input.DataSetPlaceholder }));
16937
+ return __assign(__assign({}, (input.DataSetArn != null && { DataSetArn: input.DataSetArn })), (input.DataSetPlaceholder != null && { DataSetPlaceholder: input.DataSetPlaceholder }));
17078
16938
  };
17079
16939
  var serializeAws_restJson1DataSetReferenceList = function (input, context) {
17080
16940
  return input
@@ -17087,15 +16947,12 @@ var serializeAws_restJson1DataSetReferenceList = function (input, context) {
17087
16947
  });
17088
16948
  };
17089
16949
  var serializeAws_restJson1DataSetUsageConfiguration = function (input, context) {
17090
- return __assign(__assign({}, (input.DisableUseAsDirectQuerySource !== undefined &&
17091
- input.DisableUseAsDirectQuerySource !== null && {
16950
+ return __assign(__assign({}, (input.DisableUseAsDirectQuerySource != null && {
17092
16951
  DisableUseAsDirectQuerySource: input.DisableUseAsDirectQuerySource,
17093
- })), (input.DisableUseAsImportedSource !== undefined &&
17094
- input.DisableUseAsImportedSource !== null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }));
16952
+ })), (input.DisableUseAsImportedSource != null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }));
17095
16953
  };
17096
16954
  var serializeAws_restJson1DataSourceCredentials = function (input, context) {
17097
- return __assign(__assign({}, (input.CopySourceArn !== undefined && input.CopySourceArn !== null && { CopySourceArn: input.CopySourceArn })), (input.CredentialPair !== undefined &&
17098
- input.CredentialPair !== null && {
16955
+ return __assign(__assign({}, (input.CopySourceArn != null && { CopySourceArn: input.CopySourceArn })), (input.CredentialPair != null && {
17099
16956
  CredentialPair: serializeAws_restJson1CredentialPair(input.CredentialPair, context),
17100
16957
  }));
17101
16958
  };
@@ -17153,8 +17010,7 @@ var serializeAws_restJson1DataSourceParametersList = function (input, context) {
17153
17010
  });
17154
17011
  };
17155
17012
  var serializeAws_restJson1DateTimeParameter = function (input, context) {
17156
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
17157
- input.Values !== null && { Values: serializeAws_restJson1TimestampList(input.Values, context) }));
17013
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1TimestampList(input.Values, context) }));
17158
17014
  };
17159
17015
  var serializeAws_restJson1DateTimeParameterList = function (input, context) {
17160
17016
  return input
@@ -17167,8 +17023,7 @@ var serializeAws_restJson1DateTimeParameterList = function (input, context) {
17167
17023
  });
17168
17024
  };
17169
17025
  var serializeAws_restJson1DecimalParameter = function (input, context) {
17170
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
17171
- input.Values !== null && { Values: serializeAws_restJson1DoubleList(input.Values, context) }));
17026
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1DoubleList(input.Values, context) }));
17172
17027
  };
17173
17028
  var serializeAws_restJson1DecimalParameterList = function (input, context) {
17174
17029
  return input
@@ -17191,15 +17046,13 @@ var serializeAws_restJson1DoubleList = function (input, context) {
17191
17046
  });
17192
17047
  };
17193
17048
  var serializeAws_restJson1ExasolParameters = function (input, context) {
17194
- return __assign(__assign({}, (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17049
+ return __assign(__assign({}, (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17195
17050
  };
17196
17051
  var serializeAws_restJson1ExportToCSVOption = function (input, context) {
17197
- return __assign({}, (input.AvailabilityStatus !== undefined &&
17198
- input.AvailabilityStatus !== null && { AvailabilityStatus: input.AvailabilityStatus }));
17052
+ return __assign({}, (input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }));
17199
17053
  };
17200
17054
  var serializeAws_restJson1FieldFolder = function (input, context) {
17201
- return __assign(__assign({}, (input.columns !== undefined &&
17202
- input.columns !== null && { columns: serializeAws_restJson1FolderColumnList(input.columns, context) })), (input.description !== undefined && input.description !== null && { description: input.description }));
17055
+ return __assign(__assign({}, (input.columns != null && { columns: serializeAws_restJson1FolderColumnList(input.columns, context) })), (input.description != null && { description: input.description }));
17203
17056
  };
17204
17057
  var serializeAws_restJson1FieldFolderMap = function (input, context) {
17205
17058
  return Object.entries(input).reduce(function (acc, _a) {
@@ -17212,8 +17065,7 @@ var serializeAws_restJson1FieldFolderMap = function (input, context) {
17212
17065
  }, {});
17213
17066
  };
17214
17067
  var serializeAws_restJson1FilterOperation = function (input, context) {
17215
- return __assign({}, (input.ConditionExpression !== undefined &&
17216
- input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression }));
17068
+ return __assign({}, (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression }));
17217
17069
  };
17218
17070
  var serializeAws_restJson1FolderColumnList = function (input, context) {
17219
17071
  return input
@@ -17226,7 +17078,7 @@ var serializeAws_restJson1FolderColumnList = function (input, context) {
17226
17078
  });
17227
17079
  };
17228
17080
  var serializeAws_restJson1FolderSearchFilter = function (input, context) {
17229
- return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
17081
+ return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Value != null && { Value: input.Value }));
17230
17082
  };
17231
17083
  var serializeAws_restJson1FolderSearchFilterList = function (input, context) {
17232
17084
  return input
@@ -17239,11 +17091,10 @@ var serializeAws_restJson1FolderSearchFilterList = function (input, context) {
17239
17091
  });
17240
17092
  };
17241
17093
  var serializeAws_restJson1GeoSpatialColumnGroup = function (input, context) {
17242
- return __assign(__assign(__assign({}, (input.Columns !== undefined &&
17243
- input.Columns !== null && { Columns: serializeAws_restJson1ColumnList(input.Columns, context) })), (input.CountryCode !== undefined && input.CountryCode !== null && { CountryCode: input.CountryCode })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
17094
+ return __assign(__assign(__assign({}, (input.Columns != null && { Columns: serializeAws_restJson1ColumnList(input.Columns, context) })), (input.CountryCode != null && { CountryCode: input.CountryCode })), (input.Name != null && { Name: input.Name }));
17244
17095
  };
17245
17096
  var serializeAws_restJson1GroupSearchFilter = function (input, context) {
17246
- return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
17097
+ return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Operator != null && { Operator: input.Operator })), (input.Value != null && { Value: input.Value }));
17247
17098
  };
17248
17099
  var serializeAws_restJson1GroupSearchFilterList = function (input, context) {
17249
17100
  return input
@@ -17266,7 +17117,7 @@ var serializeAws_restJson1GroupsList = function (input, context) {
17266
17117
  });
17267
17118
  };
17268
17119
  var serializeAws_restJson1GutterStyle = function (input, context) {
17269
- return __assign({}, (input.Show !== undefined && input.Show !== null && { Show: input.Show }));
17120
+ return __assign({}, (input.Show != null && { Show: input.Show }));
17270
17121
  };
17271
17122
  var serializeAws_restJson1IdentityMap = function (input, context) {
17272
17123
  return Object.entries(input).reduce(function (acc, _a) {
@@ -17289,7 +17140,7 @@ var serializeAws_restJson1IdentityNameList = function (input, context) {
17289
17140
  });
17290
17141
  };
17291
17142
  var serializeAws_restJson1InputColumn = function (input, context) {
17292
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
17143
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Type != null && { Type: input.Type }));
17293
17144
  };
17294
17145
  var serializeAws_restJson1InputColumnList = function (input, context) {
17295
17146
  return input
@@ -17302,8 +17153,7 @@ var serializeAws_restJson1InputColumnList = function (input, context) {
17302
17153
  });
17303
17154
  };
17304
17155
  var serializeAws_restJson1IntegerParameter = function (input, context) {
17305
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
17306
- input.Values !== null && { Values: serializeAws_restJson1LongList(input.Values, context) }));
17156
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1LongList(input.Values, context) }));
17307
17157
  };
17308
17158
  var serializeAws_restJson1IntegerParameterList = function (input, context) {
17309
17159
  return input
@@ -17326,26 +17176,22 @@ var serializeAws_restJson1IpRestrictionRuleMap = function (input, context) {
17326
17176
  }, {});
17327
17177
  };
17328
17178
  var serializeAws_restJson1JiraParameters = function (input, context) {
17329
- return __assign({}, (input.SiteBaseUrl !== undefined && input.SiteBaseUrl !== null && { SiteBaseUrl: input.SiteBaseUrl }));
17179
+ return __assign({}, (input.SiteBaseUrl != null && { SiteBaseUrl: input.SiteBaseUrl }));
17330
17180
  };
17331
17181
  var serializeAws_restJson1JoinInstruction = function (input, context) {
17332
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.LeftJoinKeyProperties !== undefined &&
17333
- input.LeftJoinKeyProperties !== null && {
17182
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.LeftJoinKeyProperties != null && {
17334
17183
  LeftJoinKeyProperties: serializeAws_restJson1JoinKeyProperties(input.LeftJoinKeyProperties, context),
17335
- })), (input.LeftOperand !== undefined && input.LeftOperand !== null && { LeftOperand: input.LeftOperand })), (input.OnClause !== undefined && input.OnClause !== null && { OnClause: input.OnClause })), (input.RightJoinKeyProperties !== undefined &&
17336
- input.RightJoinKeyProperties !== null && {
17184
+ })), (input.LeftOperand != null && { LeftOperand: input.LeftOperand })), (input.OnClause != null && { OnClause: input.OnClause })), (input.RightJoinKeyProperties != null && {
17337
17185
  RightJoinKeyProperties: serializeAws_restJson1JoinKeyProperties(input.RightJoinKeyProperties, context),
17338
- })), (input.RightOperand !== undefined && input.RightOperand !== null && { RightOperand: input.RightOperand })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
17186
+ })), (input.RightOperand != null && { RightOperand: input.RightOperand })), (input.Type != null && { Type: input.Type }));
17339
17187
  };
17340
17188
  var serializeAws_restJson1JoinKeyProperties = function (input, context) {
17341
- return __assign({}, (input.UniqueKey !== undefined && input.UniqueKey !== null && { UniqueKey: input.UniqueKey }));
17189
+ return __assign({}, (input.UniqueKey != null && { UniqueKey: input.UniqueKey }));
17342
17190
  };
17343
17191
  var serializeAws_restJson1LogicalTable = function (input, context) {
17344
- return __assign(__assign(__assign({}, (input.Alias !== undefined && input.Alias !== null && { Alias: input.Alias })), (input.DataTransforms !== undefined &&
17345
- input.DataTransforms !== null && {
17192
+ return __assign(__assign(__assign({}, (input.Alias != null && { Alias: input.Alias })), (input.DataTransforms != null && {
17346
17193
  DataTransforms: serializeAws_restJson1TransformOperationList(input.DataTransforms, context),
17347
- })), (input.Source !== undefined &&
17348
- input.Source !== null && { Source: serializeAws_restJson1LogicalTableSource(input.Source, context) }));
17194
+ })), (input.Source != null && { Source: serializeAws_restJson1LogicalTableSource(input.Source, context) }));
17349
17195
  };
17350
17196
  var serializeAws_restJson1LogicalTableMap = function (input, context) {
17351
17197
  return Object.entries(input).reduce(function (acc, _a) {
@@ -17358,11 +17204,9 @@ var serializeAws_restJson1LogicalTableMap = function (input, context) {
17358
17204
  }, {});
17359
17205
  };
17360
17206
  var serializeAws_restJson1LogicalTableSource = function (input, context) {
17361
- return __assign(__assign(__assign({}, (input.DataSetArn !== undefined && input.DataSetArn !== null && { DataSetArn: input.DataSetArn })), (input.JoinInstruction !== undefined &&
17362
- input.JoinInstruction !== null && {
17207
+ return __assign(__assign(__assign({}, (input.DataSetArn != null && { DataSetArn: input.DataSetArn })), (input.JoinInstruction != null && {
17363
17208
  JoinInstruction: serializeAws_restJson1JoinInstruction(input.JoinInstruction, context),
17364
- })), (input.PhysicalTableId !== undefined &&
17365
- input.PhysicalTableId !== null && { PhysicalTableId: input.PhysicalTableId }));
17209
+ })), (input.PhysicalTableId != null && { PhysicalTableId: input.PhysicalTableId }));
17366
17210
  };
17367
17211
  var serializeAws_restJson1LongList = function (input, context) {
17368
17212
  return input
@@ -17375,32 +17219,28 @@ var serializeAws_restJson1LongList = function (input, context) {
17375
17219
  });
17376
17220
  };
17377
17221
  var serializeAws_restJson1ManifestFileLocation = function (input, context) {
17378
- return __assign(__assign({}, (input.Bucket !== undefined && input.Bucket !== null && { Bucket: input.Bucket })), (input.Key !== undefined && input.Key !== null && { Key: input.Key }));
17222
+ return __assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.Key != null && { Key: input.Key }));
17379
17223
  };
17380
17224
  var serializeAws_restJson1MarginStyle = function (input, context) {
17381
- return __assign({}, (input.Show !== undefined && input.Show !== null && { Show: input.Show }));
17225
+ return __assign({}, (input.Show != null && { Show: input.Show }));
17382
17226
  };
17383
17227
  var serializeAws_restJson1MariaDbParameters = function (input, context) {
17384
- return __assign(__assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17228
+ return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17385
17229
  };
17386
17230
  var serializeAws_restJson1MySqlParameters = function (input, context) {
17387
- return __assign(__assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17231
+ return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17388
17232
  };
17389
17233
  var serializeAws_restJson1OracleParameters = function (input, context) {
17390
- return __assign(__assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17234
+ return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17391
17235
  };
17392
17236
  var serializeAws_restJson1_Parameters = function (input, context) {
17393
- return __assign(__assign(__assign(__assign({}, (input.DateTimeParameters !== undefined &&
17394
- input.DateTimeParameters !== null && {
17237
+ return __assign(__assign(__assign(__assign({}, (input.DateTimeParameters != null && {
17395
17238
  DateTimeParameters: serializeAws_restJson1DateTimeParameterList(input.DateTimeParameters, context),
17396
- })), (input.DecimalParameters !== undefined &&
17397
- input.DecimalParameters !== null && {
17239
+ })), (input.DecimalParameters != null && {
17398
17240
  DecimalParameters: serializeAws_restJson1DecimalParameterList(input.DecimalParameters, context),
17399
- })), (input.IntegerParameters !== undefined &&
17400
- input.IntegerParameters !== null && {
17241
+ })), (input.IntegerParameters != null && {
17401
17242
  IntegerParameters: serializeAws_restJson1IntegerParameterList(input.IntegerParameters, context),
17402
- })), (input.StringParameters !== undefined &&
17403
- input.StringParameters !== null && {
17243
+ })), (input.StringParameters != null && {
17404
17244
  StringParameters: serializeAws_restJson1StringParameterList(input.StringParameters, context),
17405
17245
  }));
17406
17246
  };
@@ -17423,10 +17263,10 @@ var serializeAws_restJson1PhysicalTableMap = function (input, context) {
17423
17263
  }, {});
17424
17264
  };
17425
17265
  var serializeAws_restJson1PostgreSqlParameters = function (input, context) {
17426
- return __assign(__assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17266
+ return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17427
17267
  };
17428
17268
  var serializeAws_restJson1PrestoParameters = function (input, context) {
17429
- return __assign(__assign(__assign({}, (input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17269
+ return __assign(__assign(__assign({}, (input.Catalog != null && { Catalog: input.Catalog })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17430
17270
  };
17431
17271
  var serializeAws_restJson1PrincipalList = function (input, context) {
17432
17272
  return input
@@ -17449,52 +17289,44 @@ var serializeAws_restJson1ProjectedColumnList = function (input, context) {
17449
17289
  });
17450
17290
  };
17451
17291
  var serializeAws_restJson1ProjectOperation = function (input, context) {
17452
- return __assign({}, (input.ProjectedColumns !== undefined &&
17453
- input.ProjectedColumns !== null && {
17292
+ return __assign({}, (input.ProjectedColumns != null && {
17454
17293
  ProjectedColumns: serializeAws_restJson1ProjectedColumnList(input.ProjectedColumns, context),
17455
17294
  }));
17456
17295
  };
17457
17296
  var serializeAws_restJson1RdsParameters = function (input, context) {
17458
- return __assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId }));
17297
+ return __assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.InstanceId != null && { InstanceId: input.InstanceId }));
17459
17298
  };
17460
17299
  var serializeAws_restJson1RedshiftParameters = function (input, context) {
17461
- return __assign(__assign(__assign(__assign({}, (input.ClusterId !== undefined && input.ClusterId !== null && { ClusterId: input.ClusterId })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17300
+ return __assign(__assign(__assign(__assign({}, (input.ClusterId != null && { ClusterId: input.ClusterId })), (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17462
17301
  };
17463
17302
  var serializeAws_restJson1RegisteredUserDashboardEmbeddingConfiguration = function (input, context) {
17464
- return __assign({}, (input.InitialDashboardId !== undefined &&
17465
- input.InitialDashboardId !== null && { InitialDashboardId: input.InitialDashboardId }));
17303
+ return __assign({}, (input.InitialDashboardId != null && { InitialDashboardId: input.InitialDashboardId }));
17466
17304
  };
17467
17305
  var serializeAws_restJson1RegisteredUserEmbeddingExperienceConfiguration = function (input, context) {
17468
- return __assign(__assign(__assign({}, (input.Dashboard !== undefined &&
17469
- input.Dashboard !== null && {
17306
+ return __assign(__assign(__assign({}, (input.Dashboard != null && {
17470
17307
  Dashboard: serializeAws_restJson1RegisteredUserDashboardEmbeddingConfiguration(input.Dashboard, context),
17471
- })), (input.QSearchBar !== undefined &&
17472
- input.QSearchBar !== null && {
17308
+ })), (input.QSearchBar != null && {
17473
17309
  QSearchBar: serializeAws_restJson1RegisteredUserQSearchBarEmbeddingConfiguration(input.QSearchBar, context),
17474
- })), (input.QuickSightConsole !== undefined &&
17475
- input.QuickSightConsole !== null && {
17310
+ })), (input.QuickSightConsole != null && {
17476
17311
  QuickSightConsole: serializeAws_restJson1RegisteredUserQuickSightConsoleEmbeddingConfiguration(input.QuickSightConsole, context),
17477
17312
  }));
17478
17313
  };
17479
17314
  var serializeAws_restJson1RegisteredUserQSearchBarEmbeddingConfiguration = function (input, context) {
17480
- return __assign({}, (input.InitialTopicId !== undefined &&
17481
- input.InitialTopicId !== null && { InitialTopicId: input.InitialTopicId }));
17315
+ return __assign({}, (input.InitialTopicId != null && { InitialTopicId: input.InitialTopicId }));
17482
17316
  };
17483
17317
  var serializeAws_restJson1RegisteredUserQuickSightConsoleEmbeddingConfiguration = function (input, context) {
17484
- return __assign({}, (input.InitialPath !== undefined && input.InitialPath !== null && { InitialPath: input.InitialPath }));
17318
+ return __assign({}, (input.InitialPath != null && { InitialPath: input.InitialPath }));
17485
17319
  };
17486
17320
  var serializeAws_restJson1RelationalTable = function (input, context) {
17487
- return __assign(__assign(__assign(__assign(__assign({}, (input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog })), (input.DataSourceArn !== undefined && input.DataSourceArn !== null && { DataSourceArn: input.DataSourceArn })), (input.InputColumns !== undefined &&
17488
- input.InputColumns !== null && {
17321
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Catalog != null && { Catalog: input.Catalog })), (input.DataSourceArn != null && { DataSourceArn: input.DataSourceArn })), (input.InputColumns != null && {
17489
17322
  InputColumns: serializeAws_restJson1InputColumnList(input.InputColumns, context),
17490
- })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Schema !== undefined && input.Schema !== null && { Schema: input.Schema }));
17323
+ })), (input.Name != null && { Name: input.Name })), (input.Schema != null && { Schema: input.Schema }));
17491
17324
  };
17492
17325
  var serializeAws_restJson1RenameColumnOperation = function (input, context) {
17493
- return __assign(__assign({}, (input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName })), (input.NewColumnName !== undefined && input.NewColumnName !== null && { NewColumnName: input.NewColumnName }));
17326
+ return __assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.NewColumnName != null && { NewColumnName: input.NewColumnName }));
17494
17327
  };
17495
17328
  var serializeAws_restJson1ResourcePermission = function (input, context) {
17496
- return __assign(__assign({}, (input.Actions !== undefined &&
17497
- input.Actions !== null && { Actions: serializeAws_restJson1ActionList(input.Actions, context) })), (input.Principal !== undefined && input.Principal !== null && { Principal: input.Principal }));
17329
+ return __assign(__assign({}, (input.Actions != null && { Actions: serializeAws_restJson1ActionList(input.Actions, context) })), (input.Principal != null && { Principal: input.Principal }));
17498
17330
  };
17499
17331
  var serializeAws_restJson1ResourcePermissionList = function (input, context) {
17500
17332
  return input
@@ -17507,18 +17339,15 @@ var serializeAws_restJson1ResourcePermissionList = function (input, context) {
17507
17339
  });
17508
17340
  };
17509
17341
  var serializeAws_restJson1RowLevelPermissionDataSet = function (input, context) {
17510
- return __assign(__assign(__assign(__assign(__assign({}, (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn })), (input.FormatVersion !== undefined && input.FormatVersion !== null && { FormatVersion: input.FormatVersion })), (input.Namespace !== undefined && input.Namespace !== null && { Namespace: input.Namespace })), (input.PermissionPolicy !== undefined &&
17511
- input.PermissionPolicy !== null && { PermissionPolicy: input.PermissionPolicy })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
17342
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.FormatVersion != null && { FormatVersion: input.FormatVersion })), (input.Namespace != null && { Namespace: input.Namespace })), (input.PermissionPolicy != null && { PermissionPolicy: input.PermissionPolicy })), (input.Status != null && { Status: input.Status }));
17512
17343
  };
17513
17344
  var serializeAws_restJson1RowLevelPermissionTagConfiguration = function (input, context) {
17514
- return __assign(__assign({}, (input.Status !== undefined && input.Status !== null && { Status: input.Status })), (input.TagRules !== undefined &&
17515
- input.TagRules !== null && {
17345
+ return __assign(__assign({}, (input.Status != null && { Status: input.Status })), (input.TagRules != null && {
17516
17346
  TagRules: serializeAws_restJson1RowLevelPermissionTagRuleList(input.TagRules, context),
17517
17347
  }));
17518
17348
  };
17519
17349
  var serializeAws_restJson1RowLevelPermissionTagRule = function (input, context) {
17520
- return __assign(__assign(__assign(__assign({}, (input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName })), (input.MatchAllValue !== undefined && input.MatchAllValue !== null && { MatchAllValue: input.MatchAllValue })), (input.TagKey !== undefined && input.TagKey !== null && { TagKey: input.TagKey })), (input.TagMultiValueDelimiter !== undefined &&
17521
- input.TagMultiValueDelimiter !== null && { TagMultiValueDelimiter: input.TagMultiValueDelimiter }));
17350
+ return __assign(__assign(__assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.MatchAllValue != null && { MatchAllValue: input.MatchAllValue })), (input.TagKey != null && { TagKey: input.TagKey })), (input.TagMultiValueDelimiter != null && { TagMultiValueDelimiter: input.TagMultiValueDelimiter }));
17522
17351
  };
17523
17352
  var serializeAws_restJson1RowLevelPermissionTagRuleList = function (input, context) {
17524
17353
  return input
@@ -17531,25 +17360,22 @@ var serializeAws_restJson1RowLevelPermissionTagRuleList = function (input, conte
17531
17360
  });
17532
17361
  };
17533
17362
  var serializeAws_restJson1S3Parameters = function (input, context) {
17534
- return __assign({}, (input.ManifestFileLocation !== undefined &&
17535
- input.ManifestFileLocation !== null && {
17363
+ return __assign({}, (input.ManifestFileLocation != null && {
17536
17364
  ManifestFileLocation: serializeAws_restJson1ManifestFileLocation(input.ManifestFileLocation, context),
17537
17365
  }));
17538
17366
  };
17539
17367
  var serializeAws_restJson1S3Source = function (input, context) {
17540
- return __assign(__assign(__assign({}, (input.DataSourceArn !== undefined && input.DataSourceArn !== null && { DataSourceArn: input.DataSourceArn })), (input.InputColumns !== undefined &&
17541
- input.InputColumns !== null && {
17368
+ return __assign(__assign(__assign({}, (input.DataSourceArn != null && { DataSourceArn: input.DataSourceArn })), (input.InputColumns != null && {
17542
17369
  InputColumns: serializeAws_restJson1InputColumnList(input.InputColumns, context),
17543
- })), (input.UploadSettings !== undefined &&
17544
- input.UploadSettings !== null && {
17370
+ })), (input.UploadSettings != null && {
17545
17371
  UploadSettings: serializeAws_restJson1UploadSettings(input.UploadSettings, context),
17546
17372
  }));
17547
17373
  };
17548
17374
  var serializeAws_restJson1ServiceNowParameters = function (input, context) {
17549
- return __assign({}, (input.SiteBaseUrl !== undefined && input.SiteBaseUrl !== null && { SiteBaseUrl: input.SiteBaseUrl }));
17375
+ return __assign({}, (input.SiteBaseUrl != null && { SiteBaseUrl: input.SiteBaseUrl }));
17550
17376
  };
17551
17377
  var serializeAws_restJson1SessionTag = function (input, context) {
17552
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
17378
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
17553
17379
  };
17554
17380
  var serializeAws_restJson1SessionTagList = function (input, context) {
17555
17381
  return input
@@ -17562,25 +17388,22 @@ var serializeAws_restJson1SessionTagList = function (input, context) {
17562
17388
  });
17563
17389
  };
17564
17390
  var serializeAws_restJson1SheetControlsOption = function (input, context) {
17565
- return __assign({}, (input.VisibilityState !== undefined &&
17566
- input.VisibilityState !== null && { VisibilityState: input.VisibilityState }));
17391
+ return __assign({}, (input.VisibilityState != null && { VisibilityState: input.VisibilityState }));
17567
17392
  };
17568
17393
  var serializeAws_restJson1SheetStyle = function (input, context) {
17569
- return __assign(__assign({}, (input.Tile !== undefined &&
17570
- input.Tile !== null && { Tile: serializeAws_restJson1TileStyle(input.Tile, context) })), (input.TileLayout !== undefined &&
17571
- input.TileLayout !== null && { TileLayout: serializeAws_restJson1TileLayoutStyle(input.TileLayout, context) }));
17394
+ return __assign(__assign({}, (input.Tile != null && { Tile: serializeAws_restJson1TileStyle(input.Tile, context) })), (input.TileLayout != null && { TileLayout: serializeAws_restJson1TileLayoutStyle(input.TileLayout, context) }));
17572
17395
  };
17573
17396
  var serializeAws_restJson1SnowflakeParameters = function (input, context) {
17574
- return __assign(__assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Warehouse !== undefined && input.Warehouse !== null && { Warehouse: input.Warehouse }));
17397
+ return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Warehouse != null && { Warehouse: input.Warehouse }));
17575
17398
  };
17576
17399
  var serializeAws_restJson1SparkParameters = function (input, context) {
17577
- return __assign(__assign({}, (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17400
+ return __assign(__assign({}, (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17578
17401
  };
17579
17402
  var serializeAws_restJson1SqlServerParameters = function (input, context) {
17580
- return __assign(__assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17403
+ return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17581
17404
  };
17582
17405
  var serializeAws_restJson1SslProperties = function (input, context) {
17583
- return __assign({}, (input.DisableSsl !== undefined && input.DisableSsl !== null && { DisableSsl: input.DisableSsl }));
17406
+ return __assign({}, (input.DisableSsl != null && { DisableSsl: input.DisableSsl }));
17584
17407
  };
17585
17408
  var serializeAws_restJson1StringList = function (input, context) {
17586
17409
  return input
@@ -17593,8 +17416,7 @@ var serializeAws_restJson1StringList = function (input, context) {
17593
17416
  });
17594
17417
  };
17595
17418
  var serializeAws_restJson1StringParameter = function (input, context) {
17596
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
17597
- input.Values !== null && { Values: serializeAws_restJson1StringList(input.Values, context) }));
17419
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1StringList(input.Values, context) }));
17598
17420
  };
17599
17421
  var serializeAws_restJson1StringParameterList = function (input, context) {
17600
17422
  return input
@@ -17607,11 +17429,10 @@ var serializeAws_restJson1StringParameterList = function (input, context) {
17607
17429
  });
17608
17430
  };
17609
17431
  var serializeAws_restJson1Tag = function (input, context) {
17610
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
17432
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
17611
17433
  };
17612
17434
  var serializeAws_restJson1TagColumnOperation = function (input, context) {
17613
- return __assign(__assign({}, (input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName })), (input.Tags !== undefined &&
17614
- input.Tags !== null && { Tags: serializeAws_restJson1ColumnTagList(input.Tags, context) }));
17435
+ return __assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.Tags != null && { Tags: serializeAws_restJson1ColumnTagList(input.Tags, context) }));
17615
17436
  };
17616
17437
  var serializeAws_restJson1TagList = function (input, context) {
17617
17438
  return input
@@ -17624,44 +17445,35 @@ var serializeAws_restJson1TagList = function (input, context) {
17624
17445
  });
17625
17446
  };
17626
17447
  var serializeAws_restJson1TemplateSourceAnalysis = function (input, context) {
17627
- return __assign(__assign({}, (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn })), (input.DataSetReferences !== undefined &&
17628
- input.DataSetReferences !== null && {
17448
+ return __assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.DataSetReferences != null && {
17629
17449
  DataSetReferences: serializeAws_restJson1DataSetReferenceList(input.DataSetReferences, context),
17630
17450
  }));
17631
17451
  };
17632
17452
  var serializeAws_restJson1TemplateSourceEntity = function (input, context) {
17633
- return __assign(__assign({}, (input.SourceAnalysis !== undefined &&
17634
- input.SourceAnalysis !== null && {
17453
+ return __assign(__assign({}, (input.SourceAnalysis != null && {
17635
17454
  SourceAnalysis: serializeAws_restJson1TemplateSourceAnalysis(input.SourceAnalysis, context),
17636
- })), (input.SourceTemplate !== undefined &&
17637
- input.SourceTemplate !== null && {
17455
+ })), (input.SourceTemplate != null && {
17638
17456
  SourceTemplate: serializeAws_restJson1TemplateSourceTemplate(input.SourceTemplate, context),
17639
17457
  }));
17640
17458
  };
17641
17459
  var serializeAws_restJson1TemplateSourceTemplate = function (input, context) {
17642
- return __assign({}, (input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }));
17460
+ return __assign({}, (input.Arn != null && { Arn: input.Arn }));
17643
17461
  };
17644
17462
  var serializeAws_restJson1TeradataParameters = function (input, context) {
17645
- return __assign(__assign(__assign({}, (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
17463
+ return __assign(__assign(__assign({}, (input.Database != null && { Database: input.Database })), (input.Host != null && { Host: input.Host })), (input.Port != null && { Port: input.Port }));
17646
17464
  };
17647
17465
  var serializeAws_restJson1ThemeConfiguration = function (input, context) {
17648
- return __assign(__assign(__assign({}, (input.DataColorPalette !== undefined &&
17649
- input.DataColorPalette !== null && {
17466
+ return __assign(__assign(__assign({}, (input.DataColorPalette != null && {
17650
17467
  DataColorPalette: serializeAws_restJson1DataColorPalette(input.DataColorPalette, context),
17651
- })), (input.Sheet !== undefined &&
17652
- input.Sheet !== null && { Sheet: serializeAws_restJson1SheetStyle(input.Sheet, context) })), (input.UIColorPalette !== undefined &&
17653
- input.UIColorPalette !== null && {
17468
+ })), (input.Sheet != null && { Sheet: serializeAws_restJson1SheetStyle(input.Sheet, context) })), (input.UIColorPalette != null && {
17654
17469
  UIColorPalette: serializeAws_restJson1UIColorPalette(input.UIColorPalette, context),
17655
17470
  }));
17656
17471
  };
17657
17472
  var serializeAws_restJson1TileLayoutStyle = function (input, context) {
17658
- return __assign(__assign({}, (input.Gutter !== undefined &&
17659
- input.Gutter !== null && { Gutter: serializeAws_restJson1GutterStyle(input.Gutter, context) })), (input.Margin !== undefined &&
17660
- input.Margin !== null && { Margin: serializeAws_restJson1MarginStyle(input.Margin, context) }));
17473
+ return __assign(__assign({}, (input.Gutter != null && { Gutter: serializeAws_restJson1GutterStyle(input.Gutter, context) })), (input.Margin != null && { Margin: serializeAws_restJson1MarginStyle(input.Margin, context) }));
17661
17474
  };
17662
17475
  var serializeAws_restJson1TileStyle = function (input, context) {
17663
- return __assign({}, (input.Border !== undefined &&
17664
- input.Border !== null && { Border: serializeAws_restJson1BorderStyle(input.Border, context) }));
17476
+ return __assign({}, (input.Border != null && { Border: serializeAws_restJson1BorderStyle(input.Border, context) }));
17665
17477
  };
17666
17478
  var serializeAws_restJson1TimestampList = function (input, context) {
17667
17479
  return input
@@ -17704,24 +17516,13 @@ var serializeAws_restJson1TransformOperationList = function (input, context) {
17704
17516
  });
17705
17517
  };
17706
17518
  var serializeAws_restJson1TwitterParameters = function (input, context) {
17707
- return __assign(__assign({}, (input.MaxRows !== undefined && input.MaxRows !== null && { MaxRows: input.MaxRows })), (input.Query !== undefined && input.Query !== null && { Query: input.Query }));
17519
+ return __assign(__assign({}, (input.MaxRows != null && { MaxRows: input.MaxRows })), (input.Query != null && { Query: input.Query }));
17708
17520
  };
17709
17521
  var serializeAws_restJson1UIColorPalette = function (input, context) {
17710
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Accent !== undefined && input.Accent !== null && { Accent: input.Accent })), (input.AccentForeground !== undefined &&
17711
- input.AccentForeground !== null && { AccentForeground: input.AccentForeground })), (input.Danger !== undefined && input.Danger !== null && { Danger: input.Danger })), (input.DangerForeground !== undefined &&
17712
- input.DangerForeground !== null && { DangerForeground: input.DangerForeground })), (input.Dimension !== undefined && input.Dimension !== null && { Dimension: input.Dimension })), (input.DimensionForeground !== undefined &&
17713
- input.DimensionForeground !== null && { DimensionForeground: input.DimensionForeground })), (input.Measure !== undefined && input.Measure !== null && { Measure: input.Measure })), (input.MeasureForeground !== undefined &&
17714
- input.MeasureForeground !== null && { MeasureForeground: input.MeasureForeground })), (input.PrimaryBackground !== undefined &&
17715
- input.PrimaryBackground !== null && { PrimaryBackground: input.PrimaryBackground })), (input.PrimaryForeground !== undefined &&
17716
- input.PrimaryForeground !== null && { PrimaryForeground: input.PrimaryForeground })), (input.SecondaryBackground !== undefined &&
17717
- input.SecondaryBackground !== null && { SecondaryBackground: input.SecondaryBackground })), (input.SecondaryForeground !== undefined &&
17718
- input.SecondaryForeground !== null && { SecondaryForeground: input.SecondaryForeground })), (input.Success !== undefined && input.Success !== null && { Success: input.Success })), (input.SuccessForeground !== undefined &&
17719
- input.SuccessForeground !== null && { SuccessForeground: input.SuccessForeground })), (input.Warning !== undefined && input.Warning !== null && { Warning: input.Warning })), (input.WarningForeground !== undefined &&
17720
- input.WarningForeground !== null && { WarningForeground: input.WarningForeground }));
17522
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Accent != null && { Accent: input.Accent })), (input.AccentForeground != null && { AccentForeground: input.AccentForeground })), (input.Danger != null && { Danger: input.Danger })), (input.DangerForeground != null && { DangerForeground: input.DangerForeground })), (input.Dimension != null && { Dimension: input.Dimension })), (input.DimensionForeground != null && { DimensionForeground: input.DimensionForeground })), (input.Measure != null && { Measure: input.Measure })), (input.MeasureForeground != null && { MeasureForeground: input.MeasureForeground })), (input.PrimaryBackground != null && { PrimaryBackground: input.PrimaryBackground })), (input.PrimaryForeground != null && { PrimaryForeground: input.PrimaryForeground })), (input.SecondaryBackground != null && { SecondaryBackground: input.SecondaryBackground })), (input.SecondaryForeground != null && { SecondaryForeground: input.SecondaryForeground })), (input.Success != null && { Success: input.Success })), (input.SuccessForeground != null && { SuccessForeground: input.SuccessForeground })), (input.Warning != null && { Warning: input.Warning })), (input.WarningForeground != null && { WarningForeground: input.WarningForeground }));
17721
17523
  };
17722
17524
  var serializeAws_restJson1UntagColumnOperation = function (input, context) {
17723
- return __assign(__assign({}, (input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName })), (input.TagNames !== undefined &&
17724
- input.TagNames !== null && { TagNames: serializeAws_restJson1ColumnTagNames(input.TagNames, context) }));
17525
+ return __assign(__assign({}, (input.ColumnName != null && { ColumnName: input.ColumnName })), (input.TagNames != null && { TagNames: serializeAws_restJson1ColumnTagNames(input.TagNames, context) }));
17725
17526
  };
17726
17527
  var serializeAws_restJson1UpdateLinkPermissionList = function (input, context) {
17727
17528
  return input
@@ -17744,12 +17545,10 @@ var serializeAws_restJson1UpdateResourcePermissionList = function (input, contex
17744
17545
  });
17745
17546
  };
17746
17547
  var serializeAws_restJson1UploadSettings = function (input, context) {
17747
- return __assign(__assign(__assign(__assign(__assign({}, (input.ContainsHeader !== undefined &&
17748
- input.ContainsHeader !== null && { ContainsHeader: input.ContainsHeader })), (input.Delimiter !== undefined && input.Delimiter !== null && { Delimiter: input.Delimiter })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.StartFromRow !== undefined && input.StartFromRow !== null && { StartFromRow: input.StartFromRow })), (input.TextQualifier !== undefined && input.TextQualifier !== null && { TextQualifier: input.TextQualifier }));
17548
+ return __assign(__assign(__assign(__assign(__assign({}, (input.ContainsHeader != null && { ContainsHeader: input.ContainsHeader })), (input.Delimiter != null && { Delimiter: input.Delimiter })), (input.Format != null && { Format: input.Format })), (input.StartFromRow != null && { StartFromRow: input.StartFromRow })), (input.TextQualifier != null && { TextQualifier: input.TextQualifier }));
17749
17549
  };
17750
17550
  var serializeAws_restJson1VpcConnectionProperties = function (input, context) {
17751
- return __assign({}, (input.VpcConnectionArn !== undefined &&
17752
- input.VpcConnectionArn !== null && { VpcConnectionArn: input.VpcConnectionArn }));
17551
+ return __assign({}, (input.VpcConnectionArn != null && { VpcConnectionArn: input.VpcConnectionArn }));
17753
17552
  };
17754
17553
  var deserializeAws_restJson1AccountCustomization = function (output, context) {
17755
17554
  return {
@@ -17817,22 +17616,16 @@ var deserializeAws_restJson1Analysis = function (output, context) {
17817
17616
  return {
17818
17617
  AnalysisId: __expectString(output.AnalysisId),
17819
17618
  Arn: __expectString(output.Arn),
17820
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
17619
+ CreatedTime: output.CreatedTime != null
17821
17620
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
17822
17621
  : undefined,
17823
- DataSetArns: output.DataSetArns !== undefined && output.DataSetArns !== null
17824
- ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context)
17825
- : undefined,
17826
- Errors: output.Errors !== undefined && output.Errors !== null
17827
- ? deserializeAws_restJson1AnalysisErrorList(output.Errors, context)
17828
- : undefined,
17829
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
17622
+ DataSetArns: output.DataSetArns != null ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context) : undefined,
17623
+ Errors: output.Errors != null ? deserializeAws_restJson1AnalysisErrorList(output.Errors, context) : undefined,
17624
+ LastUpdatedTime: output.LastUpdatedTime != null
17830
17625
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
17831
17626
  : undefined,
17832
17627
  Name: __expectString(output.Name),
17833
- Sheets: output.Sheets !== undefined && output.Sheets !== null
17834
- ? deserializeAws_restJson1SheetList(output.Sheets, context)
17835
- : undefined,
17628
+ Sheets: output.Sheets != null ? deserializeAws_restJson1SheetList(output.Sheets, context) : undefined,
17836
17629
  Status: __expectString(output.Status),
17837
17630
  ThemeArn: __expectString(output.ThemeArn),
17838
17631
  };
@@ -17858,10 +17651,10 @@ var deserializeAws_restJson1AnalysisSummary = function (output, context) {
17858
17651
  return {
17859
17652
  AnalysisId: __expectString(output.AnalysisId),
17860
17653
  Arn: __expectString(output.Arn),
17861
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
17654
+ CreatedTime: output.CreatedTime != null
17862
17655
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
17863
17656
  : undefined,
17864
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
17657
+ LastUpdatedTime: output.LastUpdatedTime != null
17865
17658
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
17866
17659
  : undefined,
17867
17660
  Name: __expectString(output.Name),
@@ -17951,7 +17744,7 @@ var deserializeAws_restJson1ColumnDescription = function (output, context) {
17951
17744
  };
17952
17745
  var deserializeAws_restJson1ColumnGroup = function (output, context) {
17953
17746
  return {
17954
- GeoSpatialColumnGroup: output.GeoSpatialColumnGroup !== undefined && output.GeoSpatialColumnGroup !== null
17747
+ GeoSpatialColumnGroup: output.GeoSpatialColumnGroup != null
17955
17748
  ? deserializeAws_restJson1GeoSpatialColumnGroup(output.GeoSpatialColumnGroup, context)
17956
17749
  : undefined,
17957
17750
  };
@@ -17985,7 +17778,7 @@ var deserializeAws_restJson1ColumnGroupList = function (output, context) {
17985
17778
  };
17986
17779
  var deserializeAws_restJson1ColumnGroupSchema = function (output, context) {
17987
17780
  return {
17988
- ColumnGroupColumnSchemaList: output.ColumnGroupColumnSchemaList !== undefined && output.ColumnGroupColumnSchemaList !== null
17781
+ ColumnGroupColumnSchemaList: output.ColumnGroupColumnSchemaList != null
17989
17782
  ? deserializeAws_restJson1ColumnGroupColumnSchemaList(output.ColumnGroupColumnSchemaList, context)
17990
17783
  : undefined,
17991
17784
  Name: __expectString(output.Name),
@@ -18004,12 +17797,8 @@ var deserializeAws_restJson1ColumnGroupSchemaList = function (output, context) {
18004
17797
  };
18005
17798
  var deserializeAws_restJson1ColumnLevelPermissionRule = function (output, context) {
18006
17799
  return {
18007
- ColumnNames: output.ColumnNames !== undefined && output.ColumnNames !== null
18008
- ? deserializeAws_restJson1ColumnNameList(output.ColumnNames, context)
18009
- : undefined,
18010
- Principals: output.Principals !== undefined && output.Principals !== null
18011
- ? deserializeAws_restJson1PrincipalList(output.Principals, context)
18012
- : undefined,
17800
+ ColumnNames: output.ColumnNames != null ? deserializeAws_restJson1ColumnNameList(output.ColumnNames, context) : undefined,
17801
+ Principals: output.Principals != null ? deserializeAws_restJson1PrincipalList(output.Principals, context) : undefined,
18013
17802
  };
18014
17803
  };
18015
17804
  var deserializeAws_restJson1ColumnLevelPermissionRuleList = function (output, context) {
@@ -18065,7 +17854,7 @@ var deserializeAws_restJson1ColumnSchemaList = function (output, context) {
18065
17854
  };
18066
17855
  var deserializeAws_restJson1ColumnTag = function (output, context) {
18067
17856
  return {
18068
- ColumnDescription: output.ColumnDescription !== undefined && output.ColumnDescription !== null
17857
+ ColumnDescription: output.ColumnDescription != null
18069
17858
  ? deserializeAws_restJson1ColumnDescription(output.ColumnDescription, context)
18070
17859
  : undefined,
18071
17860
  ColumnGeographicRole: __expectString(output.ColumnGeographicRole),
@@ -18095,16 +17884,12 @@ var deserializeAws_restJson1ColumnTagNames = function (output, context) {
18095
17884
  };
18096
17885
  var deserializeAws_restJson1CreateColumnsOperation = function (output, context) {
18097
17886
  return {
18098
- Columns: output.Columns !== undefined && output.Columns !== null
18099
- ? deserializeAws_restJson1CalculatedColumnList(output.Columns, context)
18100
- : undefined,
17887
+ Columns: output.Columns != null ? deserializeAws_restJson1CalculatedColumnList(output.Columns, context) : undefined,
18101
17888
  };
18102
17889
  };
18103
17890
  var deserializeAws_restJson1CustomSql = function (output, context) {
18104
17891
  return {
18105
- Columns: output.Columns !== undefined && output.Columns !== null
18106
- ? deserializeAws_restJson1InputColumnList(output.Columns, context)
18107
- : undefined,
17892
+ Columns: output.Columns != null ? deserializeAws_restJson1InputColumnList(output.Columns, context) : undefined,
18108
17893
  DataSourceArn: __expectString(output.DataSourceArn),
18109
17894
  Name: __expectString(output.Name),
18110
17895
  SqlQuery: __expectString(output.SqlQuery),
@@ -18113,20 +17898,18 @@ var deserializeAws_restJson1CustomSql = function (output, context) {
18113
17898
  var deserializeAws_restJson1Dashboard = function (output, context) {
18114
17899
  return {
18115
17900
  Arn: __expectString(output.Arn),
18116
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
17901
+ CreatedTime: output.CreatedTime != null
18117
17902
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18118
17903
  : undefined,
18119
17904
  DashboardId: __expectString(output.DashboardId),
18120
- LastPublishedTime: output.LastPublishedTime !== undefined && output.LastPublishedTime !== null
17905
+ LastPublishedTime: output.LastPublishedTime != null
18121
17906
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPublishedTime)))
18122
17907
  : undefined,
18123
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
17908
+ LastUpdatedTime: output.LastUpdatedTime != null
18124
17909
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
18125
17910
  : undefined,
18126
17911
  Name: __expectString(output.Name),
18127
- Version: output.Version !== undefined && output.Version !== null
18128
- ? deserializeAws_restJson1DashboardVersion(output.Version, context)
18129
- : undefined,
17912
+ Version: output.Version != null ? deserializeAws_restJson1DashboardVersion(output.Version, context) : undefined,
18130
17913
  };
18131
17914
  };
18132
17915
  var deserializeAws_restJson1DashboardError = function (output, context) {
@@ -18149,14 +17932,14 @@ var deserializeAws_restJson1DashboardErrorList = function (output, context) {
18149
17932
  var deserializeAws_restJson1DashboardSummary = function (output, context) {
18150
17933
  return {
18151
17934
  Arn: __expectString(output.Arn),
18152
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
17935
+ CreatedTime: output.CreatedTime != null
18153
17936
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18154
17937
  : undefined,
18155
17938
  DashboardId: __expectString(output.DashboardId),
18156
- LastPublishedTime: output.LastPublishedTime !== undefined && output.LastPublishedTime !== null
17939
+ LastPublishedTime: output.LastPublishedTime != null
18157
17940
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPublishedTime)))
18158
17941
  : undefined,
18159
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
17942
+ LastUpdatedTime: output.LastUpdatedTime != null
18160
17943
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
18161
17944
  : undefined,
18162
17945
  Name: __expectString(output.Name),
@@ -18177,19 +17960,13 @@ var deserializeAws_restJson1DashboardSummaryList = function (output, context) {
18177
17960
  var deserializeAws_restJson1DashboardVersion = function (output, context) {
18178
17961
  return {
18179
17962
  Arn: __expectString(output.Arn),
18180
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
17963
+ CreatedTime: output.CreatedTime != null
18181
17964
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18182
17965
  : undefined,
18183
- DataSetArns: output.DataSetArns !== undefined && output.DataSetArns !== null
18184
- ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context)
18185
- : undefined,
17966
+ DataSetArns: output.DataSetArns != null ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context) : undefined,
18186
17967
  Description: __expectString(output.Description),
18187
- Errors: output.Errors !== undefined && output.Errors !== null
18188
- ? deserializeAws_restJson1DashboardErrorList(output.Errors, context)
18189
- : undefined,
18190
- Sheets: output.Sheets !== undefined && output.Sheets !== null
18191
- ? deserializeAws_restJson1SheetList(output.Sheets, context)
18192
- : undefined,
17968
+ Errors: output.Errors != null ? deserializeAws_restJson1DashboardErrorList(output.Errors, context) : undefined,
17969
+ Sheets: output.Sheets != null ? deserializeAws_restJson1SheetList(output.Sheets, context) : undefined,
18193
17970
  SourceEntityArn: __expectString(output.SourceEntityArn),
18194
17971
  Status: __expectString(output.Status),
18195
17972
  ThemeArn: __expectString(output.ThemeArn),
@@ -18199,7 +17976,7 @@ var deserializeAws_restJson1DashboardVersion = function (output, context) {
18199
17976
  var deserializeAws_restJson1DashboardVersionSummary = function (output, context) {
18200
17977
  return {
18201
17978
  Arn: __expectString(output.Arn),
18202
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
17979
+ CreatedTime: output.CreatedTime != null
18203
17980
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18204
17981
  : undefined,
18205
17982
  Description: __expectString(output.Description),
@@ -18221,53 +17998,45 @@ var deserializeAws_restJson1DashboardVersionSummaryList = function (output, cont
18221
17998
  };
18222
17999
  var deserializeAws_restJson1DataColorPalette = function (output, context) {
18223
18000
  return {
18224
- Colors: output.Colors !== undefined && output.Colors !== null
18225
- ? deserializeAws_restJson1ColorList(output.Colors, context)
18226
- : undefined,
18001
+ Colors: output.Colors != null ? deserializeAws_restJson1ColorList(output.Colors, context) : undefined,
18227
18002
  EmptyFillColor: __expectString(output.EmptyFillColor),
18228
- MinMaxGradient: output.MinMaxGradient !== undefined && output.MinMaxGradient !== null
18229
- ? deserializeAws_restJson1ColorList(output.MinMaxGradient, context)
18230
- : undefined,
18003
+ MinMaxGradient: output.MinMaxGradient != null ? deserializeAws_restJson1ColorList(output.MinMaxGradient, context) : undefined,
18231
18004
  };
18232
18005
  };
18233
18006
  var deserializeAws_restJson1DataSet = function (output, context) {
18234
18007
  return {
18235
18008
  Arn: __expectString(output.Arn),
18236
- ColumnGroups: output.ColumnGroups !== undefined && output.ColumnGroups !== null
18237
- ? deserializeAws_restJson1ColumnGroupList(output.ColumnGroups, context)
18238
- : undefined,
18239
- ColumnLevelPermissionRules: output.ColumnLevelPermissionRules !== undefined && output.ColumnLevelPermissionRules !== null
18009
+ ColumnGroups: output.ColumnGroups != null ? deserializeAws_restJson1ColumnGroupList(output.ColumnGroups, context) : undefined,
18010
+ ColumnLevelPermissionRules: output.ColumnLevelPermissionRules != null
18240
18011
  ? deserializeAws_restJson1ColumnLevelPermissionRuleList(output.ColumnLevelPermissionRules, context)
18241
18012
  : undefined,
18242
18013
  ConsumedSpiceCapacityInBytes: __expectLong(output.ConsumedSpiceCapacityInBytes),
18243
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18014
+ CreatedTime: output.CreatedTime != null
18244
18015
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18245
18016
  : undefined,
18246
18017
  DataSetId: __expectString(output.DataSetId),
18247
- DataSetUsageConfiguration: output.DataSetUsageConfiguration !== undefined && output.DataSetUsageConfiguration !== null
18018
+ DataSetUsageConfiguration: output.DataSetUsageConfiguration != null
18248
18019
  ? deserializeAws_restJson1DataSetUsageConfiguration(output.DataSetUsageConfiguration, context)
18249
18020
  : undefined,
18250
- FieldFolders: output.FieldFolders !== undefined && output.FieldFolders !== null
18251
- ? deserializeAws_restJson1FieldFolderMap(output.FieldFolders, context)
18252
- : undefined,
18021
+ FieldFolders: output.FieldFolders != null ? deserializeAws_restJson1FieldFolderMap(output.FieldFolders, context) : undefined,
18253
18022
  ImportMode: __expectString(output.ImportMode),
18254
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18023
+ LastUpdatedTime: output.LastUpdatedTime != null
18255
18024
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
18256
18025
  : undefined,
18257
- LogicalTableMap: output.LogicalTableMap !== undefined && output.LogicalTableMap !== null
18026
+ LogicalTableMap: output.LogicalTableMap != null
18258
18027
  ? deserializeAws_restJson1LogicalTableMap(output.LogicalTableMap, context)
18259
18028
  : undefined,
18260
18029
  Name: __expectString(output.Name),
18261
- OutputColumns: output.OutputColumns !== undefined && output.OutputColumns !== null
18030
+ OutputColumns: output.OutputColumns != null
18262
18031
  ? deserializeAws_restJson1OutputColumnList(output.OutputColumns, context)
18263
18032
  : undefined,
18264
- PhysicalTableMap: output.PhysicalTableMap !== undefined && output.PhysicalTableMap !== null
18033
+ PhysicalTableMap: output.PhysicalTableMap != null
18265
18034
  ? deserializeAws_restJson1PhysicalTableMap(output.PhysicalTableMap, context)
18266
18035
  : undefined,
18267
- RowLevelPermissionDataSet: output.RowLevelPermissionDataSet !== undefined && output.RowLevelPermissionDataSet !== null
18036
+ RowLevelPermissionDataSet: output.RowLevelPermissionDataSet != null
18268
18037
  ? deserializeAws_restJson1RowLevelPermissionDataSet(output.RowLevelPermissionDataSet, context)
18269
18038
  : undefined,
18270
- RowLevelPermissionTagConfiguration: output.RowLevelPermissionTagConfiguration !== undefined && output.RowLevelPermissionTagConfiguration !== null
18039
+ RowLevelPermissionTagConfiguration: output.RowLevelPermissionTagConfiguration != null
18271
18040
  ? deserializeAws_restJson1RowLevelPermissionTagConfiguration(output.RowLevelPermissionTagConfiguration, context)
18272
18041
  : undefined,
18273
18042
  };
@@ -18285,12 +18054,10 @@ var deserializeAws_restJson1DataSetArnsList = function (output, context) {
18285
18054
  };
18286
18055
  var deserializeAws_restJson1DataSetConfiguration = function (output, context) {
18287
18056
  return {
18288
- ColumnGroupSchemaList: output.ColumnGroupSchemaList !== undefined && output.ColumnGroupSchemaList !== null
18057
+ ColumnGroupSchemaList: output.ColumnGroupSchemaList != null
18289
18058
  ? deserializeAws_restJson1ColumnGroupSchemaList(output.ColumnGroupSchemaList, context)
18290
18059
  : undefined,
18291
- DataSetSchema: output.DataSetSchema !== undefined && output.DataSetSchema !== null
18292
- ? deserializeAws_restJson1DataSetSchema(output.DataSetSchema, context)
18293
- : undefined,
18060
+ DataSetSchema: output.DataSetSchema != null ? deserializeAws_restJson1DataSetSchema(output.DataSetSchema, context) : undefined,
18294
18061
  Placeholder: __expectString(output.Placeholder),
18295
18062
  };
18296
18063
  };
@@ -18307,7 +18074,7 @@ var deserializeAws_restJson1DataSetConfigurationList = function (output, context
18307
18074
  };
18308
18075
  var deserializeAws_restJson1DataSetSchema = function (output, context) {
18309
18076
  return {
18310
- ColumnSchemaList: output.ColumnSchemaList !== undefined && output.ColumnSchemaList !== null
18077
+ ColumnSchemaList: output.ColumnSchemaList != null
18311
18078
  ? deserializeAws_restJson1ColumnSchemaList(output.ColumnSchemaList, context)
18312
18079
  : undefined,
18313
18080
  };
@@ -18316,16 +18083,16 @@ var deserializeAws_restJson1DataSetSummary = function (output, context) {
18316
18083
  return {
18317
18084
  Arn: __expectString(output.Arn),
18318
18085
  ColumnLevelPermissionRulesApplied: __expectBoolean(output.ColumnLevelPermissionRulesApplied),
18319
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18086
+ CreatedTime: output.CreatedTime != null
18320
18087
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18321
18088
  : undefined,
18322
18089
  DataSetId: __expectString(output.DataSetId),
18323
18090
  ImportMode: __expectString(output.ImportMode),
18324
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18091
+ LastUpdatedTime: output.LastUpdatedTime != null
18325
18092
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
18326
18093
  : undefined,
18327
18094
  Name: __expectString(output.Name),
18328
- RowLevelPermissionDataSet: output.RowLevelPermissionDataSet !== undefined && output.RowLevelPermissionDataSet !== null
18095
+ RowLevelPermissionDataSet: output.RowLevelPermissionDataSet != null
18329
18096
  ? deserializeAws_restJson1RowLevelPermissionDataSet(output.RowLevelPermissionDataSet, context)
18330
18097
  : undefined,
18331
18098
  RowLevelPermissionTagConfigurationApplied: __expectBoolean(output.RowLevelPermissionTagConfigurationApplied),
@@ -18350,30 +18117,26 @@ var deserializeAws_restJson1DataSetUsageConfiguration = function (output, contex
18350
18117
  };
18351
18118
  var deserializeAws_restJson1DataSource = function (output, context) {
18352
18119
  return {
18353
- AlternateDataSourceParameters: output.AlternateDataSourceParameters !== undefined && output.AlternateDataSourceParameters !== null
18120
+ AlternateDataSourceParameters: output.AlternateDataSourceParameters != null
18354
18121
  ? deserializeAws_restJson1DataSourceParametersList(output.AlternateDataSourceParameters, context)
18355
18122
  : undefined,
18356
18123
  Arn: __expectString(output.Arn),
18357
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18124
+ CreatedTime: output.CreatedTime != null
18358
18125
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18359
18126
  : undefined,
18360
18127
  DataSourceId: __expectString(output.DataSourceId),
18361
- DataSourceParameters: output.DataSourceParameters !== undefined && output.DataSourceParameters !== null
18128
+ DataSourceParameters: output.DataSourceParameters != null
18362
18129
  ? deserializeAws_restJson1DataSourceParameters(__expectUnion(output.DataSourceParameters), context)
18363
18130
  : undefined,
18364
- ErrorInfo: output.ErrorInfo !== undefined && output.ErrorInfo !== null
18365
- ? deserializeAws_restJson1DataSourceErrorInfo(output.ErrorInfo, context)
18366
- : undefined,
18367
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18131
+ ErrorInfo: output.ErrorInfo != null ? deserializeAws_restJson1DataSourceErrorInfo(output.ErrorInfo, context) : undefined,
18132
+ LastUpdatedTime: output.LastUpdatedTime != null
18368
18133
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
18369
18134
  : undefined,
18370
18135
  Name: __expectString(output.Name),
18371
- SslProperties: output.SslProperties !== undefined && output.SslProperties !== null
18372
- ? deserializeAws_restJson1SslProperties(output.SslProperties, context)
18373
- : undefined,
18136
+ SslProperties: output.SslProperties != null ? deserializeAws_restJson1SslProperties(output.SslProperties, context) : undefined,
18374
18137
  Status: __expectString(output.Status),
18375
18138
  Type: __expectString(output.Type),
18376
- VpcConnectionProperties: output.VpcConnectionProperties !== undefined && output.VpcConnectionProperties !== null
18139
+ VpcConnectionProperties: output.VpcConnectionProperties != null
18377
18140
  ? deserializeAws_restJson1VpcConnectionProperties(output.VpcConnectionProperties, context)
18378
18141
  : undefined,
18379
18142
  };
@@ -18533,9 +18296,7 @@ var deserializeAws_restJson1ExasolParameters = function (output, context) {
18533
18296
  };
18534
18297
  var deserializeAws_restJson1FieldFolder = function (output, context) {
18535
18298
  return {
18536
- columns: output.columns !== undefined && output.columns !== null
18537
- ? deserializeAws_restJson1FolderColumnList(output.columns, context)
18538
- : undefined,
18299
+ columns: output.columns != null ? deserializeAws_restJson1FolderColumnList(output.columns, context) : undefined,
18539
18300
  description: __expectString(output.description),
18540
18301
  };
18541
18302
  };
@@ -18557,15 +18318,13 @@ var deserializeAws_restJson1FilterOperation = function (output, context) {
18557
18318
  var deserializeAws_restJson1Folder = function (output, context) {
18558
18319
  return {
18559
18320
  Arn: __expectString(output.Arn),
18560
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18321
+ CreatedTime: output.CreatedTime != null
18561
18322
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18562
18323
  : undefined,
18563
18324
  FolderId: __expectString(output.FolderId),
18564
- FolderPath: output.FolderPath !== undefined && output.FolderPath !== null
18565
- ? deserializeAws_restJson1Path(output.FolderPath, context)
18566
- : undefined,
18325
+ FolderPath: output.FolderPath != null ? deserializeAws_restJson1Path(output.FolderPath, context) : undefined,
18567
18326
  FolderType: __expectString(output.FolderType),
18568
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18327
+ LastUpdatedTime: output.LastUpdatedTime != null
18569
18328
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
18570
18329
  : undefined,
18571
18330
  Name: __expectString(output.Name),
@@ -18602,12 +18361,12 @@ var deserializeAws_restJson1FolderMemberList = function (output, context) {
18602
18361
  var deserializeAws_restJson1FolderSummary = function (output, context) {
18603
18362
  return {
18604
18363
  Arn: __expectString(output.Arn),
18605
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18364
+ CreatedTime: output.CreatedTime != null
18606
18365
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18607
18366
  : undefined,
18608
18367
  FolderId: __expectString(output.FolderId),
18609
18368
  FolderType: __expectString(output.FolderType),
18610
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18369
+ LastUpdatedTime: output.LastUpdatedTime != null
18611
18370
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
18612
18371
  : undefined,
18613
18372
  Name: __expectString(output.Name),
@@ -18626,9 +18385,7 @@ var deserializeAws_restJson1FolderSummaryList = function (output, context) {
18626
18385
  };
18627
18386
  var deserializeAws_restJson1GeoSpatialColumnGroup = function (output, context) {
18628
18387
  return {
18629
- Columns: output.Columns !== undefined && output.Columns !== null
18630
- ? deserializeAws_restJson1ColumnList(output.Columns, context)
18631
- : undefined,
18388
+ Columns: output.Columns != null ? deserializeAws_restJson1ColumnList(output.Columns, context) : undefined,
18632
18389
  CountryCode: __expectString(output.CountryCode),
18633
18390
  Name: __expectString(output.Name),
18634
18391
  };
@@ -18680,9 +18437,7 @@ var deserializeAws_restJson1IAMPolicyAssignment = function (output, context) {
18680
18437
  AssignmentName: __expectString(output.AssignmentName),
18681
18438
  AssignmentStatus: __expectString(output.AssignmentStatus),
18682
18439
  AwsAccountId: __expectString(output.AwsAccountId),
18683
- Identities: output.Identities !== undefined && output.Identities !== null
18684
- ? deserializeAws_restJson1IdentityMap(output.Identities, context)
18685
- : undefined,
18440
+ Identities: output.Identities != null ? deserializeAws_restJson1IdentityMap(output.Identities, context) : undefined,
18686
18441
  PolicyArn: __expectString(output.PolicyArn),
18687
18442
  };
18688
18443
  };
@@ -18727,24 +18482,18 @@ var deserializeAws_restJson1IdentityNameList = function (output, context) {
18727
18482
  var deserializeAws_restJson1Ingestion = function (output, context) {
18728
18483
  return {
18729
18484
  Arn: __expectString(output.Arn),
18730
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18485
+ CreatedTime: output.CreatedTime != null
18731
18486
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18732
18487
  : undefined,
18733
- ErrorInfo: output.ErrorInfo !== undefined && output.ErrorInfo !== null
18734
- ? deserializeAws_restJson1ErrorInfo(output.ErrorInfo, context)
18735
- : undefined,
18488
+ ErrorInfo: output.ErrorInfo != null ? deserializeAws_restJson1ErrorInfo(output.ErrorInfo, context) : undefined,
18736
18489
  IngestionId: __expectString(output.IngestionId),
18737
18490
  IngestionSizeInBytes: __expectLong(output.IngestionSizeInBytes),
18738
18491
  IngestionStatus: __expectString(output.IngestionStatus),
18739
18492
  IngestionTimeInSeconds: __expectLong(output.IngestionTimeInSeconds),
18740
- QueueInfo: output.QueueInfo !== undefined && output.QueueInfo !== null
18741
- ? deserializeAws_restJson1QueueInfo(output.QueueInfo, context)
18742
- : undefined,
18493
+ QueueInfo: output.QueueInfo != null ? deserializeAws_restJson1QueueInfo(output.QueueInfo, context) : undefined,
18743
18494
  RequestSource: __expectString(output.RequestSource),
18744
18495
  RequestType: __expectString(output.RequestType),
18745
- RowInfo: output.RowInfo !== undefined && output.RowInfo !== null
18746
- ? deserializeAws_restJson1RowInfo(output.RowInfo, context)
18747
- : undefined,
18496
+ RowInfo: output.RowInfo != null ? deserializeAws_restJson1RowInfo(output.RowInfo, context) : undefined,
18748
18497
  };
18749
18498
  };
18750
18499
  var deserializeAws_restJson1Ingestions = function (output, context) {
@@ -18792,12 +18541,12 @@ var deserializeAws_restJson1JiraParameters = function (output, context) {
18792
18541
  };
18793
18542
  var deserializeAws_restJson1JoinInstruction = function (output, context) {
18794
18543
  return {
18795
- LeftJoinKeyProperties: output.LeftJoinKeyProperties !== undefined && output.LeftJoinKeyProperties !== null
18544
+ LeftJoinKeyProperties: output.LeftJoinKeyProperties != null
18796
18545
  ? deserializeAws_restJson1JoinKeyProperties(output.LeftJoinKeyProperties, context)
18797
18546
  : undefined,
18798
18547
  LeftOperand: __expectString(output.LeftOperand),
18799
18548
  OnClause: __expectString(output.OnClause),
18800
- RightJoinKeyProperties: output.RightJoinKeyProperties !== undefined && output.RightJoinKeyProperties !== null
18549
+ RightJoinKeyProperties: output.RightJoinKeyProperties != null
18801
18550
  ? deserializeAws_restJson1JoinKeyProperties(output.RightJoinKeyProperties, context)
18802
18551
  : undefined,
18803
18552
  RightOperand: __expectString(output.RightOperand),
@@ -18811,7 +18560,7 @@ var deserializeAws_restJson1JoinKeyProperties = function (output, context) {
18811
18560
  };
18812
18561
  var deserializeAws_restJson1LinkSharingConfiguration = function (output, context) {
18813
18562
  return {
18814
- Permissions: output.Permissions !== undefined && output.Permissions !== null
18563
+ Permissions: output.Permissions != null
18815
18564
  ? deserializeAws_restJson1ResourcePermissionList(output.Permissions, context)
18816
18565
  : undefined,
18817
18566
  };
@@ -18819,12 +18568,10 @@ var deserializeAws_restJson1LinkSharingConfiguration = function (output, context
18819
18568
  var deserializeAws_restJson1LogicalTable = function (output, context) {
18820
18569
  return {
18821
18570
  Alias: __expectString(output.Alias),
18822
- DataTransforms: output.DataTransforms !== undefined && output.DataTransforms !== null
18571
+ DataTransforms: output.DataTransforms != null
18823
18572
  ? deserializeAws_restJson1TransformOperationList(output.DataTransforms, context)
18824
18573
  : undefined,
18825
- Source: output.Source !== undefined && output.Source !== null
18826
- ? deserializeAws_restJson1LogicalTableSource(output.Source, context)
18827
- : undefined,
18574
+ Source: output.Source != null ? deserializeAws_restJson1LogicalTableSource(output.Source, context) : undefined,
18828
18575
  };
18829
18576
  };
18830
18577
  var deserializeAws_restJson1LogicalTableMap = function (output, context) {
@@ -18840,7 +18587,7 @@ var deserializeAws_restJson1LogicalTableMap = function (output, context) {
18840
18587
  var deserializeAws_restJson1LogicalTableSource = function (output, context) {
18841
18588
  return {
18842
18589
  DataSetArn: __expectString(output.DataSetArn),
18843
- JoinInstruction: output.JoinInstruction !== undefined && output.JoinInstruction !== null
18590
+ JoinInstruction: output.JoinInstruction != null
18844
18591
  ? deserializeAws_restJson1JoinInstruction(output.JoinInstruction, context)
18845
18592
  : undefined,
18846
18593
  PhysicalTableId: __expectString(output.PhysicalTableId),
@@ -18890,7 +18637,7 @@ var deserializeAws_restJson1NamespaceInfoV2 = function (output, context) {
18890
18637
  CreationStatus: __expectString(output.CreationStatus),
18891
18638
  IdentityStore: __expectString(output.IdentityStore),
18892
18639
  Name: __expectString(output.Name),
18893
- NamespaceError: output.NamespaceError !== undefined && output.NamespaceError !== null
18640
+ NamespaceError: output.NamespaceError != null
18894
18641
  ? deserializeAws_restJson1NamespaceError(output.NamespaceError, context)
18895
18642
  : undefined,
18896
18643
  };
@@ -19008,7 +18755,7 @@ var deserializeAws_restJson1ProjectedColumnList = function (output, context) {
19008
18755
  };
19009
18756
  var deserializeAws_restJson1ProjectOperation = function (output, context) {
19010
18757
  return {
19011
- ProjectedColumns: output.ProjectedColumns !== undefined && output.ProjectedColumns !== null
18758
+ ProjectedColumns: output.ProjectedColumns != null
19012
18759
  ? deserializeAws_restJson1ProjectedColumnList(output.ProjectedColumns, context)
19013
18760
  : undefined,
19014
18761
  };
@@ -19037,9 +18784,7 @@ var deserializeAws_restJson1RelationalTable = function (output, context) {
19037
18784
  return {
19038
18785
  Catalog: __expectString(output.Catalog),
19039
18786
  DataSourceArn: __expectString(output.DataSourceArn),
19040
- InputColumns: output.InputColumns !== undefined && output.InputColumns !== null
19041
- ? deserializeAws_restJson1InputColumnList(output.InputColumns, context)
19042
- : undefined,
18787
+ InputColumns: output.InputColumns != null ? deserializeAws_restJson1InputColumnList(output.InputColumns, context) : undefined,
19043
18788
  Name: __expectString(output.Name),
19044
18789
  Schema: __expectString(output.Schema),
19045
18790
  };
@@ -19052,9 +18797,7 @@ var deserializeAws_restJson1RenameColumnOperation = function (output, context) {
19052
18797
  };
19053
18798
  var deserializeAws_restJson1ResourcePermission = function (output, context) {
19054
18799
  return {
19055
- Actions: output.Actions !== undefined && output.Actions !== null
19056
- ? deserializeAws_restJson1ActionList(output.Actions, context)
19057
- : undefined,
18800
+ Actions: output.Actions != null ? deserializeAws_restJson1ActionList(output.Actions, context) : undefined,
19058
18801
  Principal: __expectString(output.Principal),
19059
18802
  };
19060
18803
  };
@@ -19088,7 +18831,7 @@ var deserializeAws_restJson1RowLevelPermissionDataSet = function (output, contex
19088
18831
  var deserializeAws_restJson1RowLevelPermissionTagConfiguration = function (output, context) {
19089
18832
  return {
19090
18833
  Status: __expectString(output.Status),
19091
- TagRules: output.TagRules !== undefined && output.TagRules !== null
18834
+ TagRules: output.TagRules != null
19092
18835
  ? deserializeAws_restJson1RowLevelPermissionTagRuleList(output.TagRules, context)
19093
18836
  : undefined,
19094
18837
  };
@@ -19114,7 +18857,7 @@ var deserializeAws_restJson1RowLevelPermissionTagRuleList = function (output, co
19114
18857
  };
19115
18858
  var deserializeAws_restJson1S3Parameters = function (output, context) {
19116
18859
  return {
19117
- ManifestFileLocation: output.ManifestFileLocation !== undefined && output.ManifestFileLocation !== null
18860
+ ManifestFileLocation: output.ManifestFileLocation != null
19118
18861
  ? deserializeAws_restJson1ManifestFileLocation(output.ManifestFileLocation, context)
19119
18862
  : undefined,
19120
18863
  };
@@ -19122,10 +18865,8 @@ var deserializeAws_restJson1S3Parameters = function (output, context) {
19122
18865
  var deserializeAws_restJson1S3Source = function (output, context) {
19123
18866
  return {
19124
18867
  DataSourceArn: __expectString(output.DataSourceArn),
19125
- InputColumns: output.InputColumns !== undefined && output.InputColumns !== null
19126
- ? deserializeAws_restJson1InputColumnList(output.InputColumns, context)
19127
- : undefined,
19128
- UploadSettings: output.UploadSettings !== undefined && output.UploadSettings !== null
18868
+ InputColumns: output.InputColumns != null ? deserializeAws_restJson1InputColumnList(output.InputColumns, context) : undefined,
18869
+ UploadSettings: output.UploadSettings != null
19129
18870
  ? deserializeAws_restJson1UploadSettings(output.UploadSettings, context)
19130
18871
  : undefined,
19131
18872
  };
@@ -19154,12 +18895,8 @@ var deserializeAws_restJson1SheetList = function (output, context) {
19154
18895
  };
19155
18896
  var deserializeAws_restJson1SheetStyle = function (output, context) {
19156
18897
  return {
19157
- Tile: output.Tile !== undefined && output.Tile !== null
19158
- ? deserializeAws_restJson1TileStyle(output.Tile, context)
19159
- : undefined,
19160
- TileLayout: output.TileLayout !== undefined && output.TileLayout !== null
19161
- ? deserializeAws_restJson1TileLayoutStyle(output.TileLayout, context)
19162
- : undefined,
18898
+ Tile: output.Tile != null ? deserializeAws_restJson1TileStyle(output.Tile, context) : undefined,
18899
+ TileLayout: output.TileLayout != null ? deserializeAws_restJson1TileLayoutStyle(output.TileLayout, context) : undefined,
19163
18900
  };
19164
18901
  };
19165
18902
  var deserializeAws_restJson1SignupResponse = function (output, context) {
@@ -19204,9 +18941,7 @@ var deserializeAws_restJson1Tag = function (output, context) {
19204
18941
  var deserializeAws_restJson1TagColumnOperation = function (output, context) {
19205
18942
  return {
19206
18943
  ColumnName: __expectString(output.ColumnName),
19207
- Tags: output.Tags !== undefined && output.Tags !== null
19208
- ? deserializeAws_restJson1ColumnTagList(output.Tags, context)
19209
- : undefined,
18944
+ Tags: output.Tags != null ? deserializeAws_restJson1ColumnTagList(output.Tags, context) : undefined,
19210
18945
  };
19211
18946
  };
19212
18947
  var deserializeAws_restJson1TagList = function (output, context) {
@@ -19223,17 +18958,15 @@ var deserializeAws_restJson1TagList = function (output, context) {
19223
18958
  var deserializeAws_restJson1Template = function (output, context) {
19224
18959
  return {
19225
18960
  Arn: __expectString(output.Arn),
19226
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18961
+ CreatedTime: output.CreatedTime != null
19227
18962
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
19228
18963
  : undefined,
19229
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18964
+ LastUpdatedTime: output.LastUpdatedTime != null
19230
18965
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
19231
18966
  : undefined,
19232
18967
  Name: __expectString(output.Name),
19233
18968
  TemplateId: __expectString(output.TemplateId),
19234
- Version: output.Version !== undefined && output.Version !== null
19235
- ? deserializeAws_restJson1TemplateVersion(output.Version, context)
19236
- : undefined,
18969
+ Version: output.Version != null ? deserializeAws_restJson1TemplateVersion(output.Version, context) : undefined,
19237
18970
  };
19238
18971
  };
19239
18972
  var deserializeAws_restJson1TemplateAlias = function (output, context) {
@@ -19274,10 +19007,10 @@ var deserializeAws_restJson1TemplateErrorList = function (output, context) {
19274
19007
  var deserializeAws_restJson1TemplateSummary = function (output, context) {
19275
19008
  return {
19276
19009
  Arn: __expectString(output.Arn),
19277
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19010
+ CreatedTime: output.CreatedTime != null
19278
19011
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
19279
19012
  : undefined,
19280
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
19013
+ LastUpdatedTime: output.LastUpdatedTime != null
19281
19014
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
19282
19015
  : undefined,
19283
19016
  LatestVersionNumber: __expectLong(output.LatestVersionNumber),
@@ -19298,19 +19031,15 @@ var deserializeAws_restJson1TemplateSummaryList = function (output, context) {
19298
19031
  };
19299
19032
  var deserializeAws_restJson1TemplateVersion = function (output, context) {
19300
19033
  return {
19301
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19034
+ CreatedTime: output.CreatedTime != null
19302
19035
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
19303
19036
  : undefined,
19304
- DataSetConfigurations: output.DataSetConfigurations !== undefined && output.DataSetConfigurations !== null
19037
+ DataSetConfigurations: output.DataSetConfigurations != null
19305
19038
  ? deserializeAws_restJson1DataSetConfigurationList(output.DataSetConfigurations, context)
19306
19039
  : undefined,
19307
19040
  Description: __expectString(output.Description),
19308
- Errors: output.Errors !== undefined && output.Errors !== null
19309
- ? deserializeAws_restJson1TemplateErrorList(output.Errors, context)
19310
- : undefined,
19311
- Sheets: output.Sheets !== undefined && output.Sheets !== null
19312
- ? deserializeAws_restJson1SheetList(output.Sheets, context)
19313
- : undefined,
19041
+ Errors: output.Errors != null ? deserializeAws_restJson1TemplateErrorList(output.Errors, context) : undefined,
19042
+ Sheets: output.Sheets != null ? deserializeAws_restJson1SheetList(output.Sheets, context) : undefined,
19314
19043
  SourceEntityArn: __expectString(output.SourceEntityArn),
19315
19044
  Status: __expectString(output.Status),
19316
19045
  ThemeArn: __expectString(output.ThemeArn),
@@ -19320,7 +19049,7 @@ var deserializeAws_restJson1TemplateVersion = function (output, context) {
19320
19049
  var deserializeAws_restJson1TemplateVersionSummary = function (output, context) {
19321
19050
  return {
19322
19051
  Arn: __expectString(output.Arn),
19323
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19052
+ CreatedTime: output.CreatedTime != null
19324
19053
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
19325
19054
  : undefined,
19326
19055
  Description: __expectString(output.Description),
@@ -19349,18 +19078,16 @@ var deserializeAws_restJson1TeradataParameters = function (output, context) {
19349
19078
  var deserializeAws_restJson1Theme = function (output, context) {
19350
19079
  return {
19351
19080
  Arn: __expectString(output.Arn),
19352
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19081
+ CreatedTime: output.CreatedTime != null
19353
19082
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
19354
19083
  : undefined,
19355
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
19084
+ LastUpdatedTime: output.LastUpdatedTime != null
19356
19085
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
19357
19086
  : undefined,
19358
19087
  Name: __expectString(output.Name),
19359
19088
  ThemeId: __expectString(output.ThemeId),
19360
19089
  Type: __expectString(output.Type),
19361
- Version: output.Version !== undefined && output.Version !== null
19362
- ? deserializeAws_restJson1ThemeVersion(output.Version, context)
19363
- : undefined,
19090
+ Version: output.Version != null ? deserializeAws_restJson1ThemeVersion(output.Version, context) : undefined,
19364
19091
  };
19365
19092
  };
19366
19093
  var deserializeAws_restJson1ThemeAlias = function (output, context) {
@@ -19383,13 +19110,11 @@ var deserializeAws_restJson1ThemeAliasList = function (output, context) {
19383
19110
  };
19384
19111
  var deserializeAws_restJson1ThemeConfiguration = function (output, context) {
19385
19112
  return {
19386
- DataColorPalette: output.DataColorPalette !== undefined && output.DataColorPalette !== null
19113
+ DataColorPalette: output.DataColorPalette != null
19387
19114
  ? deserializeAws_restJson1DataColorPalette(output.DataColorPalette, context)
19388
19115
  : undefined,
19389
- Sheet: output.Sheet !== undefined && output.Sheet !== null
19390
- ? deserializeAws_restJson1SheetStyle(output.Sheet, context)
19391
- : undefined,
19392
- UIColorPalette: output.UIColorPalette !== undefined && output.UIColorPalette !== null
19116
+ Sheet: output.Sheet != null ? deserializeAws_restJson1SheetStyle(output.Sheet, context) : undefined,
19117
+ UIColorPalette: output.UIColorPalette != null
19393
19118
  ? deserializeAws_restJson1UIColorPalette(output.UIColorPalette, context)
19394
19119
  : undefined,
19395
19120
  };
@@ -19414,10 +19139,10 @@ var deserializeAws_restJson1ThemeErrorList = function (output, context) {
19414
19139
  var deserializeAws_restJson1ThemeSummary = function (output, context) {
19415
19140
  return {
19416
19141
  Arn: __expectString(output.Arn),
19417
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19142
+ CreatedTime: output.CreatedTime != null
19418
19143
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
19419
19144
  : undefined,
19420
- LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
19145
+ LastUpdatedTime: output.LastUpdatedTime != null
19421
19146
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
19422
19147
  : undefined,
19423
19148
  LatestVersionNumber: __expectLong(output.LatestVersionNumber),
@@ -19440,16 +19165,14 @@ var deserializeAws_restJson1ThemeVersion = function (output, context) {
19440
19165
  return {
19441
19166
  Arn: __expectString(output.Arn),
19442
19167
  BaseThemeId: __expectString(output.BaseThemeId),
19443
- Configuration: output.Configuration !== undefined && output.Configuration !== null
19168
+ Configuration: output.Configuration != null
19444
19169
  ? deserializeAws_restJson1ThemeConfiguration(output.Configuration, context)
19445
19170
  : undefined,
19446
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19171
+ CreatedTime: output.CreatedTime != null
19447
19172
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
19448
19173
  : undefined,
19449
19174
  Description: __expectString(output.Description),
19450
- Errors: output.Errors !== undefined && output.Errors !== null
19451
- ? deserializeAws_restJson1ThemeErrorList(output.Errors, context)
19452
- : undefined,
19175
+ Errors: output.Errors != null ? deserializeAws_restJson1ThemeErrorList(output.Errors, context) : undefined,
19453
19176
  Status: __expectString(output.Status),
19454
19177
  VersionNumber: __expectLong(output.VersionNumber),
19455
19178
  };
@@ -19457,7 +19180,7 @@ var deserializeAws_restJson1ThemeVersion = function (output, context) {
19457
19180
  var deserializeAws_restJson1ThemeVersionSummary = function (output, context) {
19458
19181
  return {
19459
19182
  Arn: __expectString(output.Arn),
19460
- CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19183
+ CreatedTime: output.CreatedTime != null
19461
19184
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
19462
19185
  : undefined,
19463
19186
  Description: __expectString(output.Description),
@@ -19478,19 +19201,13 @@ var deserializeAws_restJson1ThemeVersionSummaryList = function (output, context)
19478
19201
  };
19479
19202
  var deserializeAws_restJson1TileLayoutStyle = function (output, context) {
19480
19203
  return {
19481
- Gutter: output.Gutter !== undefined && output.Gutter !== null
19482
- ? deserializeAws_restJson1GutterStyle(output.Gutter, context)
19483
- : undefined,
19484
- Margin: output.Margin !== undefined && output.Margin !== null
19485
- ? deserializeAws_restJson1MarginStyle(output.Margin, context)
19486
- : undefined,
19204
+ Gutter: output.Gutter != null ? deserializeAws_restJson1GutterStyle(output.Gutter, context) : undefined,
19205
+ Margin: output.Margin != null ? deserializeAws_restJson1MarginStyle(output.Margin, context) : undefined,
19487
19206
  };
19488
19207
  };
19489
19208
  var deserializeAws_restJson1TileStyle = function (output, context) {
19490
19209
  return {
19491
- Border: output.Border !== undefined && output.Border !== null
19492
- ? deserializeAws_restJson1BorderStyle(output.Border, context)
19493
- : undefined,
19210
+ Border: output.Border != null ? deserializeAws_restJson1BorderStyle(output.Border, context) : undefined,
19494
19211
  };
19495
19212
  };
19496
19213
  var deserializeAws_restJson1TransformOperation = function (output, context) {
@@ -19571,9 +19288,7 @@ var deserializeAws_restJson1UIColorPalette = function (output, context) {
19571
19288
  var deserializeAws_restJson1UntagColumnOperation = function (output, context) {
19572
19289
  return {
19573
19290
  ColumnName: __expectString(output.ColumnName),
19574
- TagNames: output.TagNames !== undefined && output.TagNames !== null
19575
- ? deserializeAws_restJson1ColumnTagNames(output.TagNames, context)
19576
- : undefined,
19291
+ TagNames: output.TagNames != null ? deserializeAws_restJson1ColumnTagNames(output.TagNames, context) : undefined,
19577
19292
  };
19578
19293
  };
19579
19294
  var deserializeAws_restJson1UploadSettings = function (output, context) {
@@ -19654,6 +19369,9 @@ var loadRestJsonErrorCode = function (output, data) {
19654
19369
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
19655
19370
  var sanitizeErrorCode = function (rawValue) {
19656
19371
  var cleanValue = rawValue;
19372
+ if (typeof cleanValue === "number") {
19373
+ cleanValue = cleanValue.toString();
19374
+ }
19657
19375
  if (cleanValue.indexOf(":") >= 0) {
19658
19376
  cleanValue = cleanValue.split(":")[0];
19659
19377
  }