@aws-sdk/client-quicksight 3.28.0 → 3.32.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.
Files changed (168) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/QuickSight.ts +59 -59
  3. package/commands/CreateAccountCustomizationCommand.ts +4 -4
  4. package/commands/CreateDashboardCommand.ts +3 -3
  5. package/commands/CreateIAMPolicyAssignmentCommand.ts +2 -2
  6. package/commands/CreateNamespaceCommand.ts +4 -4
  7. package/commands/CreateTemplateCommand.ts +1 -1
  8. package/commands/DeleteAccountCustomizationCommand.ts +1 -1
  9. package/commands/DeleteAnalysisCommand.ts +3 -3
  10. package/commands/DeleteIAMPolicyAssignmentCommand.ts +1 -1
  11. package/commands/DescribeAccountCustomizationCommand.ts +12 -12
  12. package/commands/DescribeAccountSettingsCommand.ts +2 -2
  13. package/commands/DescribeIAMPolicyAssignmentCommand.ts +1 -1
  14. package/commands/GetDashboardEmbedUrlCommand.ts +1 -1
  15. package/commands/GetSessionEmbedUrlCommand.ts +3 -3
  16. package/commands/ListAnalysesCommand.ts +1 -1
  17. package/commands/ListDashboardVersionsCommand.ts +1 -1
  18. package/commands/ListDashboardsCommand.ts +1 -1
  19. package/commands/ListDataSetsCommand.ts +1 -1
  20. package/commands/ListDataSourcesCommand.ts +1 -1
  21. package/commands/ListIAMPolicyAssignmentsCommand.ts +1 -1
  22. package/commands/ListIAMPolicyAssignmentsForUserCommand.ts +1 -1
  23. package/commands/ListNamespacesCommand.ts +1 -1
  24. package/commands/ListThemeVersionsCommand.ts +1 -1
  25. package/commands/ListThemesCommand.ts +1 -1
  26. package/commands/TagResourceCommand.ts +5 -5
  27. package/commands/UpdateAccountCustomizationCommand.ts +3 -3
  28. package/commands/UpdateAccountSettingsCommand.ts +1 -1
  29. package/commands/UpdateDashboardCommand.ts +1 -1
  30. package/commands/UpdateIAMPolicyAssignmentCommand.ts +1 -1
  31. package/dist/cjs/commands/CreateAccountCustomizationCommand.js +4 -4
  32. package/dist/cjs/commands/CreateDashboardCommand.js +3 -3
  33. package/dist/cjs/commands/CreateIAMPolicyAssignmentCommand.js +2 -2
  34. package/dist/cjs/commands/CreateNamespaceCommand.js +4 -4
  35. package/dist/cjs/commands/CreateTemplateCommand.js +1 -1
  36. package/dist/cjs/commands/DeleteAccountCustomizationCommand.js +1 -1
  37. package/dist/cjs/commands/DeleteAnalysisCommand.js +3 -3
  38. package/dist/cjs/commands/DeleteIAMPolicyAssignmentCommand.js +1 -1
  39. package/dist/cjs/commands/DescribeAccountCustomizationCommand.js +12 -12
  40. package/dist/cjs/commands/DescribeAccountSettingsCommand.js +2 -2
  41. package/dist/cjs/commands/DescribeIAMPolicyAssignmentCommand.js +1 -1
  42. package/dist/cjs/commands/GetDashboardEmbedUrlCommand.js +1 -1
  43. package/dist/cjs/commands/GetSessionEmbedUrlCommand.js +3 -3
  44. package/dist/cjs/commands/ListAnalysesCommand.js +1 -1
  45. package/dist/cjs/commands/ListDashboardVersionsCommand.js +1 -1
  46. package/dist/cjs/commands/ListDashboardsCommand.js +1 -1
  47. package/dist/cjs/commands/ListDataSetsCommand.js +1 -1
  48. package/dist/cjs/commands/ListDataSourcesCommand.js +1 -1
  49. package/dist/cjs/commands/ListIAMPolicyAssignmentsCommand.js +1 -1
  50. package/dist/cjs/commands/ListIAMPolicyAssignmentsForUserCommand.js +1 -1
  51. package/dist/cjs/commands/ListNamespacesCommand.js +1 -1
  52. package/dist/cjs/commands/ListThemeVersionsCommand.js +1 -1
  53. package/dist/cjs/commands/ListThemesCommand.js +1 -1
  54. package/dist/cjs/commands/TagResourceCommand.js +5 -5
  55. package/dist/cjs/commands/UpdateAccountCustomizationCommand.js +3 -3
  56. package/dist/cjs/commands/UpdateAccountSettingsCommand.js +1 -1
  57. package/dist/cjs/commands/UpdateDashboardCommand.js +1 -1
  58. package/dist/cjs/commands/UpdateIAMPolicyAssignmentCommand.js +1 -1
  59. package/dist/cjs/models/models_0.js +49 -37
  60. package/dist/cjs/models/models_0.js.map +1 -1
  61. package/dist/cjs/models/models_1.js +34 -3
  62. package/dist/cjs/models/models_1.js.map +1 -1
  63. package/dist/cjs/package.json +31 -31
  64. package/dist/cjs/protocols/Aws_restJson1.js +276 -186
  65. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  66. package/dist/es/commands/CreateAccountCustomizationCommand.js +4 -4
  67. package/dist/es/commands/CreateDashboardCommand.js +3 -3
  68. package/dist/es/commands/CreateIAMPolicyAssignmentCommand.js +2 -2
  69. package/dist/es/commands/CreateNamespaceCommand.js +4 -4
  70. package/dist/es/commands/CreateTemplateCommand.js +1 -1
  71. package/dist/es/commands/DeleteAccountCustomizationCommand.js +1 -1
  72. package/dist/es/commands/DeleteAnalysisCommand.js +3 -3
  73. package/dist/es/commands/DeleteIAMPolicyAssignmentCommand.js +1 -1
  74. package/dist/es/commands/DescribeAccountCustomizationCommand.js +12 -12
  75. package/dist/es/commands/DescribeAccountSettingsCommand.js +2 -2
  76. package/dist/es/commands/DescribeIAMPolicyAssignmentCommand.js +1 -1
  77. package/dist/es/commands/GetDashboardEmbedUrlCommand.js +1 -1
  78. package/dist/es/commands/GetSessionEmbedUrlCommand.js +3 -3
  79. package/dist/es/commands/ListAnalysesCommand.js +1 -1
  80. package/dist/es/commands/ListDashboardVersionsCommand.js +1 -1
  81. package/dist/es/commands/ListDashboardsCommand.js +1 -1
  82. package/dist/es/commands/ListDataSetsCommand.js +1 -1
  83. package/dist/es/commands/ListDataSourcesCommand.js +1 -1
  84. package/dist/es/commands/ListIAMPolicyAssignmentsCommand.js +1 -1
  85. package/dist/es/commands/ListIAMPolicyAssignmentsForUserCommand.js +1 -1
  86. package/dist/es/commands/ListNamespacesCommand.js +1 -1
  87. package/dist/es/commands/ListThemeVersionsCommand.js +1 -1
  88. package/dist/es/commands/ListThemesCommand.js +1 -1
  89. package/dist/es/commands/TagResourceCommand.js +5 -5
  90. package/dist/es/commands/UpdateAccountCustomizationCommand.js +3 -3
  91. package/dist/es/commands/UpdateAccountSettingsCommand.js +1 -1
  92. package/dist/es/commands/UpdateDashboardCommand.js +1 -1
  93. package/dist/es/commands/UpdateIAMPolicyAssignmentCommand.js +1 -1
  94. package/dist/es/endpoints.js +1 -2
  95. package/dist/es/endpoints.js.map +1 -1
  96. package/dist/es/models/models_0.js +37 -25
  97. package/dist/es/models/models_0.js.map +1 -1
  98. package/dist/es/models/models_1.js +25 -0
  99. package/dist/es/models/models_1.js.map +1 -1
  100. package/dist/es/package.json +31 -31
  101. package/dist/es/protocols/Aws_restJson1.js +835 -530
  102. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  103. package/dist/types/QuickSight.d.ts +59 -59
  104. package/dist/types/commands/CreateAccountCustomizationCommand.d.ts +4 -4
  105. package/dist/types/commands/CreateDashboardCommand.d.ts +3 -3
  106. package/dist/types/commands/CreateIAMPolicyAssignmentCommand.d.ts +2 -2
  107. package/dist/types/commands/CreateNamespaceCommand.d.ts +4 -4
  108. package/dist/types/commands/CreateTemplateCommand.d.ts +1 -1
  109. package/dist/types/commands/DeleteAccountCustomizationCommand.d.ts +1 -1
  110. package/dist/types/commands/DeleteAnalysisCommand.d.ts +3 -3
  111. package/dist/types/commands/DeleteIAMPolicyAssignmentCommand.d.ts +1 -1
  112. package/dist/types/commands/DescribeAccountCustomizationCommand.d.ts +12 -12
  113. package/dist/types/commands/DescribeAccountSettingsCommand.d.ts +2 -2
  114. package/dist/types/commands/DescribeIAMPolicyAssignmentCommand.d.ts +1 -1
  115. package/dist/types/commands/GetDashboardEmbedUrlCommand.d.ts +1 -1
  116. package/dist/types/commands/GetSessionEmbedUrlCommand.d.ts +3 -3
  117. package/dist/types/commands/ListAnalysesCommand.d.ts +1 -1
  118. package/dist/types/commands/ListDashboardVersionsCommand.d.ts +1 -1
  119. package/dist/types/commands/ListDashboardsCommand.d.ts +1 -1
  120. package/dist/types/commands/ListDataSetsCommand.d.ts +1 -1
  121. package/dist/types/commands/ListDataSourcesCommand.d.ts +1 -1
  122. package/dist/types/commands/ListIAMPolicyAssignmentsCommand.d.ts +1 -1
  123. package/dist/types/commands/ListIAMPolicyAssignmentsForUserCommand.d.ts +1 -1
  124. package/dist/types/commands/ListNamespacesCommand.d.ts +1 -1
  125. package/dist/types/commands/ListThemeVersionsCommand.d.ts +1 -1
  126. package/dist/types/commands/ListThemesCommand.d.ts +1 -1
  127. package/dist/types/commands/TagResourceCommand.d.ts +5 -5
  128. package/dist/types/commands/UpdateAccountCustomizationCommand.d.ts +3 -3
  129. package/dist/types/commands/UpdateAccountSettingsCommand.d.ts +1 -1
  130. package/dist/types/commands/UpdateDashboardCommand.d.ts +1 -1
  131. package/dist/types/commands/UpdateIAMPolicyAssignmentCommand.d.ts +1 -1
  132. package/dist/types/models/models_0.d.ts +340 -293
  133. package/dist/types/models/models_1.d.ts +214 -129
  134. package/dist/types/ts3.4/QuickSight.d.ts +59 -59
  135. package/dist/types/ts3.4/commands/CreateAccountCustomizationCommand.d.ts +4 -4
  136. package/dist/types/ts3.4/commands/CreateDashboardCommand.d.ts +3 -3
  137. package/dist/types/ts3.4/commands/CreateIAMPolicyAssignmentCommand.d.ts +2 -2
  138. package/dist/types/ts3.4/commands/CreateNamespaceCommand.d.ts +4 -4
  139. package/dist/types/ts3.4/commands/CreateTemplateCommand.d.ts +1 -1
  140. package/dist/types/ts3.4/commands/DeleteAccountCustomizationCommand.d.ts +1 -1
  141. package/dist/types/ts3.4/commands/DeleteAnalysisCommand.d.ts +3 -3
  142. package/dist/types/ts3.4/commands/DeleteIAMPolicyAssignmentCommand.d.ts +1 -1
  143. package/dist/types/ts3.4/commands/DescribeAccountCustomizationCommand.d.ts +12 -12
  144. package/dist/types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +2 -2
  145. package/dist/types/ts3.4/commands/DescribeIAMPolicyAssignmentCommand.d.ts +1 -1
  146. package/dist/types/ts3.4/commands/GetDashboardEmbedUrlCommand.d.ts +1 -1
  147. package/dist/types/ts3.4/commands/GetSessionEmbedUrlCommand.d.ts +3 -3
  148. package/dist/types/ts3.4/commands/ListAnalysesCommand.d.ts +1 -1
  149. package/dist/types/ts3.4/commands/ListDashboardVersionsCommand.d.ts +1 -1
  150. package/dist/types/ts3.4/commands/ListDashboardsCommand.d.ts +1 -1
  151. package/dist/types/ts3.4/commands/ListDataSetsCommand.d.ts +1 -1
  152. package/dist/types/ts3.4/commands/ListDataSourcesCommand.d.ts +1 -1
  153. package/dist/types/ts3.4/commands/ListIAMPolicyAssignmentsCommand.d.ts +1 -1
  154. package/dist/types/ts3.4/commands/ListIAMPolicyAssignmentsForUserCommand.d.ts +1 -1
  155. package/dist/types/ts3.4/commands/ListNamespacesCommand.d.ts +1 -1
  156. package/dist/types/ts3.4/commands/ListThemeVersionsCommand.d.ts +1 -1
  157. package/dist/types/ts3.4/commands/ListThemesCommand.d.ts +1 -1
  158. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +5 -5
  159. package/dist/types/ts3.4/commands/UpdateAccountCustomizationCommand.d.ts +3 -3
  160. package/dist/types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +1 -1
  161. package/dist/types/ts3.4/commands/UpdateDashboardCommand.d.ts +1 -1
  162. package/dist/types/ts3.4/commands/UpdateIAMPolicyAssignmentCommand.d.ts +1 -1
  163. package/dist/types/ts3.4/models/models_0.d.ts +340 -293
  164. package/dist/types/ts3.4/models/models_1.d.ts +214 -129
  165. package/models/models_0.ts +369 -312
  166. package/models/models_1.ts +238 -131
  167. package/package.json +31 -31
  168. package/protocols/Aws_restJson1.ts +321 -190
@@ -238,6 +238,10 @@ const serializeAws_restJson1CreateDataSetCommand = async (input, context) => {
238
238
  ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
239
239
  }),
240
240
  ...(input.DataSetId !== undefined && input.DataSetId !== null && { DataSetId: input.DataSetId }),
241
+ ...(input.DataSetUsageConfiguration !== undefined &&
242
+ input.DataSetUsageConfiguration !== null && {
243
+ DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
244
+ }),
241
245
  ...(input.FieldFolders !== undefined &&
242
246
  input.FieldFolders !== null && {
243
247
  FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
@@ -4216,6 +4220,10 @@ const serializeAws_restJson1UpdateDataSetCommand = async (input, context) => {
4216
4220
  input.ColumnLevelPermissionRules !== null && {
4217
4221
  ColumnLevelPermissionRules: serializeAws_restJson1ColumnLevelPermissionRuleList(input.ColumnLevelPermissionRules, context),
4218
4222
  }),
4223
+ ...(input.DataSetUsageConfiguration !== undefined &&
4224
+ input.DataSetUsageConfiguration !== null && {
4225
+ DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(input.DataSetUsageConfiguration, context),
4226
+ }),
4219
4227
  ...(input.FieldFolders !== undefined &&
4220
4228
  input.FieldFolders !== null && {
4221
4229
  FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
@@ -4981,7 +4989,7 @@ const deserializeAws_restJson1CancelIngestionCommand = async (output, context) =
4981
4989
  RequestId: undefined,
4982
4990
  Status: undefined,
4983
4991
  };
4984
- const data = await parseBody(output.body, context);
4992
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4985
4993
  if (data.Arn !== undefined && data.Arn !== null) {
4986
4994
  contents.Arn = smithy_client_1.expectString(data.Arn);
4987
4995
  }
@@ -5083,7 +5091,7 @@ const deserializeAws_restJson1CreateAccountCustomizationCommand = async (output,
5083
5091
  RequestId: undefined,
5084
5092
  Status: undefined,
5085
5093
  };
5086
- const data = await parseBody(output.body, context);
5094
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5087
5095
  if (data.AccountCustomization !== undefined && data.AccountCustomization !== null) {
5088
5096
  contents.AccountCustomization = deserializeAws_restJson1AccountCustomization(data.AccountCustomization, context);
5089
5097
  }
@@ -5198,7 +5206,7 @@ const deserializeAws_restJson1CreateAnalysisCommand = async (output, context) =>
5198
5206
  RequestId: undefined,
5199
5207
  Status: undefined,
5200
5208
  };
5201
- const data = await parseBody(output.body, context);
5209
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5202
5210
  if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
5203
5211
  contents.AnalysisId = smithy_client_1.expectString(data.AnalysisId);
5204
5212
  }
@@ -5311,7 +5319,7 @@ const deserializeAws_restJson1CreateDashboardCommand = async (output, context) =
5311
5319
  Status: undefined,
5312
5320
  VersionArn: undefined,
5313
5321
  };
5314
- const data = await parseBody(output.body, context);
5322
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5315
5323
  if (data.Arn !== undefined && data.Arn !== null) {
5316
5324
  contents.Arn = smithy_client_1.expectString(data.Arn);
5317
5325
  }
@@ -5427,7 +5435,7 @@ const deserializeAws_restJson1CreateDataSetCommand = async (output, context) =>
5427
5435
  RequestId: undefined,
5428
5436
  Status: undefined,
5429
5437
  };
5430
- const data = await parseBody(output.body, context);
5438
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5431
5439
  if (data.Arn !== undefined && data.Arn !== null) {
5432
5440
  contents.Arn = smithy_client_1.expectString(data.Arn);
5433
5441
  }
@@ -5558,7 +5566,7 @@ const deserializeAws_restJson1CreateDataSourceCommand = async (output, context)
5558
5566
  RequestId: undefined,
5559
5567
  Status: undefined,
5560
5568
  };
5561
- const data = await parseBody(output.body, context);
5569
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5562
5570
  if (data.Arn !== undefined && data.Arn !== null) {
5563
5571
  contents.Arn = smithy_client_1.expectString(data.Arn);
5564
5572
  }
@@ -5677,7 +5685,7 @@ const deserializeAws_restJson1CreateFolderCommand = async (output, context) => {
5677
5685
  RequestId: undefined,
5678
5686
  Status: undefined,
5679
5687
  };
5680
- const data = await parseBody(output.body, context);
5688
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5681
5689
  if (data.Arn !== undefined && data.Arn !== null) {
5682
5690
  contents.Arn = smithy_client_1.expectString(data.Arn);
5683
5691
  }
@@ -5800,7 +5808,7 @@ const deserializeAws_restJson1CreateFolderMembershipCommand = async (output, con
5800
5808
  RequestId: undefined,
5801
5809
  Status: undefined,
5802
5810
  };
5803
- const data = await parseBody(output.body, context);
5811
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5804
5812
  if (data.FolderMember !== undefined && data.FolderMember !== null) {
5805
5813
  contents.FolderMember = deserializeAws_restJson1FolderMember(data.FolderMember, context);
5806
5814
  }
@@ -5808,7 +5816,7 @@ const deserializeAws_restJson1CreateFolderMembershipCommand = async (output, con
5808
5816
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
5809
5817
  }
5810
5818
  if (data.Status !== undefined && data.Status !== null) {
5811
- contents.Status = smithy_client_1.expectInt(data.Status);
5819
+ contents.Status = smithy_client_1.expectInt32(data.Status);
5812
5820
  }
5813
5821
  return Promise.resolve(contents);
5814
5822
  };
@@ -5912,7 +5920,7 @@ const deserializeAws_restJson1CreateGroupCommand = async (output, context) => {
5912
5920
  RequestId: undefined,
5913
5921
  Status: undefined,
5914
5922
  };
5915
- const data = await parseBody(output.body, context);
5923
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5916
5924
  if (data.Group !== undefined && data.Group !== null) {
5917
5925
  contents.Group = deserializeAws_restJson1Group(data.Group, context);
5918
5926
  }
@@ -6032,7 +6040,7 @@ const deserializeAws_restJson1CreateGroupMembershipCommand = async (output, cont
6032
6040
  RequestId: undefined,
6033
6041
  Status: undefined,
6034
6042
  };
6035
- const data = await parseBody(output.body, context);
6043
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6036
6044
  if (data.GroupMember !== undefined && data.GroupMember !== null) {
6037
6045
  contents.GroupMember = deserializeAws_restJson1GroupMember(data.GroupMember, context);
6038
6046
  }
@@ -6140,7 +6148,7 @@ const deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = async (output,
6140
6148
  RequestId: undefined,
6141
6149
  Status: undefined,
6142
6150
  };
6143
- const data = await parseBody(output.body, context);
6151
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6144
6152
  if (data.AssignmentId !== undefined && data.AssignmentId !== null) {
6145
6153
  contents.AssignmentId = smithy_client_1.expectString(data.AssignmentId);
6146
6154
  }
@@ -6258,7 +6266,7 @@ const deserializeAws_restJson1CreateIngestionCommand = async (output, context) =
6258
6266
  RequestId: undefined,
6259
6267
  Status: undefined,
6260
6268
  };
6261
- const data = await parseBody(output.body, context);
6269
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6262
6270
  if (data.Arn !== undefined && data.Arn !== null) {
6263
6271
  contents.Arn = smithy_client_1.expectString(data.Arn);
6264
6272
  }
@@ -6372,7 +6380,7 @@ const deserializeAws_restJson1CreateNamespaceCommand = async (output, context) =
6372
6380
  RequestId: undefined,
6373
6381
  Status: undefined,
6374
6382
  };
6375
- const data = await parseBody(output.body, context);
6383
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6376
6384
  if (data.Arn !== undefined && data.Arn !== null) {
6377
6385
  contents.Arn = smithy_client_1.expectString(data.Arn);
6378
6386
  }
@@ -6515,7 +6523,7 @@ const deserializeAws_restJson1CreateTemplateCommand = async (output, context) =>
6515
6523
  TemplateId: undefined,
6516
6524
  VersionArn: undefined,
6517
6525
  };
6518
- const data = await parseBody(output.body, context);
6526
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6519
6527
  if (data.Arn !== undefined && data.Arn !== null) {
6520
6528
  contents.Arn = smithy_client_1.expectString(data.Arn);
6521
6529
  }
@@ -6644,7 +6652,7 @@ const deserializeAws_restJson1CreateTemplateAliasCommand = async (output, contex
6644
6652
  Status: undefined,
6645
6653
  TemplateAlias: undefined,
6646
6654
  };
6647
- const data = await parseBody(output.body, context);
6655
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6648
6656
  if (data.RequestId !== undefined && data.RequestId !== null) {
6649
6657
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
6650
6658
  }
@@ -6751,7 +6759,7 @@ const deserializeAws_restJson1CreateThemeCommand = async (output, context) => {
6751
6759
  ThemeId: undefined,
6752
6760
  VersionArn: undefined,
6753
6761
  };
6754
- const data = await parseBody(output.body, context);
6762
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6755
6763
  if (data.Arn !== undefined && data.Arn !== null) {
6756
6764
  contents.Arn = smithy_client_1.expectString(data.Arn);
6757
6765
  }
@@ -6872,7 +6880,7 @@ const deserializeAws_restJson1CreateThemeAliasCommand = async (output, context)
6872
6880
  Status: undefined,
6873
6881
  ThemeAlias: undefined,
6874
6882
  };
6875
- const data = await parseBody(output.body, context);
6883
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6876
6884
  if (data.RequestId !== undefined && data.RequestId !== null) {
6877
6885
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
6878
6886
  }
@@ -6983,7 +6991,7 @@ const deserializeAws_restJson1DeleteAccountCustomizationCommand = async (output,
6983
6991
  RequestId: undefined,
6984
6992
  Status: undefined,
6985
6993
  };
6986
- const data = await parseBody(output.body, context);
6994
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6987
6995
  if (data.RequestId !== undefined && data.RequestId !== null) {
6988
6996
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
6989
6997
  }
@@ -7078,7 +7086,7 @@ const deserializeAws_restJson1DeleteAnalysisCommand = async (output, context) =>
7078
7086
  RequestId: undefined,
7079
7087
  Status: undefined,
7080
7088
  };
7081
- const data = await parseBody(output.body, context);
7089
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7082
7090
  if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
7083
7091
  contents.AnalysisId = smithy_client_1.expectString(data.AnalysisId);
7084
7092
  }
@@ -7086,7 +7094,7 @@ const deserializeAws_restJson1DeleteAnalysisCommand = async (output, context) =>
7086
7094
  contents.Arn = smithy_client_1.expectString(data.Arn);
7087
7095
  }
7088
7096
  if (data.DeletionTime !== undefined && data.DeletionTime !== null) {
7089
- contents.DeletionTime = new Date(Math.round(data.DeletionTime * 1000));
7097
+ contents.DeletionTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.DeletionTime)));
7090
7098
  }
7091
7099
  if (data.RequestId !== undefined && data.RequestId !== null) {
7092
7100
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
@@ -7181,7 +7189,7 @@ const deserializeAws_restJson1DeleteDashboardCommand = async (output, context) =
7181
7189
  RequestId: undefined,
7182
7190
  Status: undefined,
7183
7191
  };
7184
- const data = await parseBody(output.body, context);
7192
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7185
7193
  if (data.Arn !== undefined && data.Arn !== null) {
7186
7194
  contents.Arn = smithy_client_1.expectString(data.Arn);
7187
7195
  }
@@ -7281,7 +7289,7 @@ const deserializeAws_restJson1DeleteDataSetCommand = async (output, context) =>
7281
7289
  RequestId: undefined,
7282
7290
  Status: undefined,
7283
7291
  };
7284
- const data = await parseBody(output.body, context);
7292
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7285
7293
  if (data.Arn !== undefined && data.Arn !== null) {
7286
7294
  contents.Arn = smithy_client_1.expectString(data.Arn);
7287
7295
  }
@@ -7373,7 +7381,7 @@ const deserializeAws_restJson1DeleteDataSourceCommand = async (output, context)
7373
7381
  RequestId: undefined,
7374
7382
  Status: undefined,
7375
7383
  };
7376
- const data = await parseBody(output.body, context);
7384
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7377
7385
  if (data.Arn !== undefined && data.Arn !== null) {
7378
7386
  contents.Arn = smithy_client_1.expectString(data.Arn);
7379
7387
  }
@@ -7465,7 +7473,7 @@ const deserializeAws_restJson1DeleteFolderCommand = async (output, context) => {
7465
7473
  RequestId: undefined,
7466
7474
  Status: undefined,
7467
7475
  };
7468
- const data = await parseBody(output.body, context);
7476
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7469
7477
  if (data.Arn !== undefined && data.Arn !== null) {
7470
7478
  contents.Arn = smithy_client_1.expectString(data.Arn);
7471
7479
  }
@@ -7579,12 +7587,12 @@ const deserializeAws_restJson1DeleteFolderMembershipCommand = async (output, con
7579
7587
  RequestId: undefined,
7580
7588
  Status: undefined,
7581
7589
  };
7582
- const data = await parseBody(output.body, context);
7590
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7583
7591
  if (data.RequestId !== undefined && data.RequestId !== null) {
7584
7592
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
7585
7593
  }
7586
7594
  if (data.Status !== undefined && data.Status !== null) {
7587
- contents.Status = smithy_client_1.expectInt(data.Status);
7595
+ contents.Status = smithy_client_1.expectInt32(data.Status);
7588
7596
  }
7589
7597
  return Promise.resolve(contents);
7590
7598
  };
@@ -7671,7 +7679,7 @@ const deserializeAws_restJson1DeleteGroupCommand = async (output, context) => {
7671
7679
  RequestId: undefined,
7672
7680
  Status: undefined,
7673
7681
  };
7674
- const data = await parseBody(output.body, context);
7682
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7675
7683
  if (data.RequestId !== undefined && data.RequestId !== null) {
7676
7684
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
7677
7685
  }
@@ -7771,7 +7779,7 @@ const deserializeAws_restJson1DeleteGroupMembershipCommand = async (output, cont
7771
7779
  RequestId: undefined,
7772
7780
  Status: undefined,
7773
7781
  };
7774
- const data = await parseBody(output.body, context);
7782
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7775
7783
  if (data.RequestId !== undefined && data.RequestId !== null) {
7776
7784
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
7777
7785
  }
@@ -7872,7 +7880,7 @@ const deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = async (output,
7872
7880
  RequestId: undefined,
7873
7881
  Status: undefined,
7874
7882
  };
7875
- const data = await parseBody(output.body, context);
7883
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7876
7884
  if (data.AssignmentName !== undefined && data.AssignmentName !== null) {
7877
7885
  contents.AssignmentName = smithy_client_1.expectString(data.AssignmentName);
7878
7886
  }
@@ -7975,7 +7983,7 @@ const deserializeAws_restJson1DeleteNamespaceCommand = async (output, context) =
7975
7983
  RequestId: undefined,
7976
7984
  Status: undefined,
7977
7985
  };
7978
- const data = await parseBody(output.body, context);
7986
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7979
7987
  if (data.RequestId !== undefined && data.RequestId !== null) {
7980
7988
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
7981
7989
  }
@@ -8077,7 +8085,7 @@ const deserializeAws_restJson1DeleteTemplateCommand = async (output, context) =>
8077
8085
  Status: undefined,
8078
8086
  TemplateId: undefined,
8079
8087
  };
8080
- const data = await parseBody(output.body, context);
8088
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8081
8089
  if (data.Arn !== undefined && data.Arn !== null) {
8082
8090
  contents.Arn = smithy_client_1.expectString(data.Arn);
8083
8091
  }
@@ -8186,7 +8194,7 @@ const deserializeAws_restJson1DeleteTemplateAliasCommand = async (output, contex
8186
8194
  Status: undefined,
8187
8195
  TemplateId: undefined,
8188
8196
  };
8189
- const data = await parseBody(output.body, context);
8197
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8190
8198
  if (data.AliasName !== undefined && data.AliasName !== null) {
8191
8199
  contents.AliasName = smithy_client_1.expectString(data.AliasName);
8192
8200
  }
@@ -8281,7 +8289,7 @@ const deserializeAws_restJson1DeleteThemeCommand = async (output, context) => {
8281
8289
  Status: undefined,
8282
8290
  ThemeId: undefined,
8283
8291
  };
8284
- const data = await parseBody(output.body, context);
8292
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8285
8293
  if (data.Arn !== undefined && data.Arn !== null) {
8286
8294
  contents.Arn = smithy_client_1.expectString(data.Arn);
8287
8295
  }
@@ -8390,7 +8398,7 @@ const deserializeAws_restJson1DeleteThemeAliasCommand = async (output, context)
8390
8398
  Status: undefined,
8391
8399
  ThemeId: undefined,
8392
8400
  };
8393
- const data = await parseBody(output.body, context);
8401
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8394
8402
  if (data.AliasName !== undefined && data.AliasName !== null) {
8395
8403
  contents.AliasName = smithy_client_1.expectString(data.AliasName);
8396
8404
  }
@@ -8491,7 +8499,7 @@ const deserializeAws_restJson1DeleteUserCommand = async (output, context) => {
8491
8499
  RequestId: undefined,
8492
8500
  Status: undefined,
8493
8501
  };
8494
- const data = await parseBody(output.body, context);
8502
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8495
8503
  if (data.RequestId !== undefined && data.RequestId !== null) {
8496
8504
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
8497
8505
  }
@@ -8591,7 +8599,7 @@ const deserializeAws_restJson1DeleteUserByPrincipalIdCommand = async (output, co
8591
8599
  RequestId: undefined,
8592
8600
  Status: undefined,
8593
8601
  };
8594
- const data = await parseBody(output.body, context);
8602
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8595
8603
  if (data.RequestId !== undefined && data.RequestId !== null) {
8596
8604
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
8597
8605
  }
@@ -8695,7 +8703,7 @@ const deserializeAws_restJson1DescribeAccountCustomizationCommand = async (outpu
8695
8703
  RequestId: undefined,
8696
8704
  Status: undefined,
8697
8705
  };
8698
- const data = await parseBody(output.body, context);
8706
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8699
8707
  if (data.AccountCustomization !== undefined && data.AccountCustomization !== null) {
8700
8708
  contents.AccountCustomization = deserializeAws_restJson1AccountCustomization(data.AccountCustomization, context);
8701
8709
  }
@@ -8800,7 +8808,7 @@ const deserializeAws_restJson1DescribeAccountSettingsCommand = async (output, co
8800
8808
  RequestId: undefined,
8801
8809
  Status: undefined,
8802
8810
  };
8803
- const data = await parseBody(output.body, context);
8811
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8804
8812
  if (data.AccountSettings !== undefined && data.AccountSettings !== null) {
8805
8813
  contents.AccountSettings = deserializeAws_restJson1AccountSettings(data.AccountSettings, context);
8806
8814
  }
@@ -8896,7 +8904,7 @@ const deserializeAws_restJson1DescribeAnalysisCommand = async (output, context)
8896
8904
  RequestId: undefined,
8897
8905
  Status: undefined,
8898
8906
  };
8899
- const data = await parseBody(output.body, context);
8907
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8900
8908
  if (data.Analysis !== undefined && data.Analysis !== null) {
8901
8909
  contents.Analysis = deserializeAws_restJson1Analysis(data.Analysis, context);
8902
8910
  }
@@ -8994,7 +9002,7 @@ const deserializeAws_restJson1DescribeAnalysisPermissionsCommand = async (output
8994
9002
  RequestId: undefined,
8995
9003
  Status: undefined,
8996
9004
  };
8997
- const data = await parseBody(output.body, context);
9005
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
8998
9006
  if (data.AnalysisArn !== undefined && data.AnalysisArn !== null) {
8999
9007
  contents.AnalysisArn = smithy_client_1.expectString(data.AnalysisArn);
9000
9008
  }
@@ -9088,7 +9096,7 @@ const deserializeAws_restJson1DescribeDashboardCommand = async (output, context)
9088
9096
  RequestId: undefined,
9089
9097
  Status: undefined,
9090
9098
  };
9091
- const data = await parseBody(output.body, context);
9099
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9092
9100
  if (data.Dashboard !== undefined && data.Dashboard !== null) {
9093
9101
  contents.Dashboard = deserializeAws_restJson1Dashboard(data.Dashboard, context);
9094
9102
  }
@@ -9186,7 +9194,7 @@ const deserializeAws_restJson1DescribeDashboardPermissionsCommand = async (outpu
9186
9194
  RequestId: undefined,
9187
9195
  Status: undefined,
9188
9196
  };
9189
- const data = await parseBody(output.body, context);
9197
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9190
9198
  if (data.DashboardArn !== undefined && data.DashboardArn !== null) {
9191
9199
  contents.DashboardArn = smithy_client_1.expectString(data.DashboardArn);
9192
9200
  }
@@ -9280,7 +9288,7 @@ const deserializeAws_restJson1DescribeDataSetCommand = async (output, context) =
9280
9288
  RequestId: undefined,
9281
9289
  Status: undefined,
9282
9290
  };
9283
- const data = await parseBody(output.body, context);
9291
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9284
9292
  if (data.DataSet !== undefined && data.DataSet !== null) {
9285
9293
  contents.DataSet = deserializeAws_restJson1DataSet(data.DataSet, context);
9286
9294
  }
@@ -9370,7 +9378,7 @@ const deserializeAws_restJson1DescribeDataSetPermissionsCommand = async (output,
9370
9378
  RequestId: undefined,
9371
9379
  Status: undefined,
9372
9380
  };
9373
- const data = await parseBody(output.body, context);
9381
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9374
9382
  if (data.DataSetArn !== undefined && data.DataSetArn !== null) {
9375
9383
  contents.DataSetArn = smithy_client_1.expectString(data.DataSetArn);
9376
9384
  }
@@ -9464,7 +9472,7 @@ const deserializeAws_restJson1DescribeDataSourceCommand = async (output, context
9464
9472
  RequestId: undefined,
9465
9473
  Status: undefined,
9466
9474
  };
9467
- const data = await parseBody(output.body, context);
9475
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9468
9476
  if (data.DataSource !== undefined && data.DataSource !== null) {
9469
9477
  contents.DataSource = deserializeAws_restJson1DataSource(data.DataSource, context);
9470
9478
  }
@@ -9554,7 +9562,7 @@ const deserializeAws_restJson1DescribeDataSourcePermissionsCommand = async (outp
9554
9562
  RequestId: undefined,
9555
9563
  Status: undefined,
9556
9564
  };
9557
- const data = await parseBody(output.body, context);
9565
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9558
9566
  if (data.DataSourceArn !== undefined && data.DataSourceArn !== null) {
9559
9567
  contents.DataSourceArn = smithy_client_1.expectString(data.DataSourceArn);
9560
9568
  }
@@ -9648,7 +9656,7 @@ const deserializeAws_restJson1DescribeFolderCommand = async (output, context) =>
9648
9656
  RequestId: undefined,
9649
9657
  Status: undefined,
9650
9658
  };
9651
- const data = await parseBody(output.body, context);
9659
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9652
9660
  if (data.Folder !== undefined && data.Folder !== null) {
9653
9661
  contents.Folder = deserializeAws_restJson1Folder(data.Folder, context);
9654
9662
  }
@@ -9746,7 +9754,7 @@ const deserializeAws_restJson1DescribeFolderPermissionsCommand = async (output,
9746
9754
  RequestId: undefined,
9747
9755
  Status: undefined,
9748
9756
  };
9749
- const data = await parseBody(output.body, context);
9757
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9750
9758
  if (data.Arn !== undefined && data.Arn !== null) {
9751
9759
  contents.Arn = smithy_client_1.expectString(data.Arn);
9752
9760
  }
@@ -9850,7 +9858,7 @@ const deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand = async (
9850
9858
  RequestId: undefined,
9851
9859
  Status: undefined,
9852
9860
  };
9853
- const data = await parseBody(output.body, context);
9861
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9854
9862
  if (data.Arn !== undefined && data.Arn !== null) {
9855
9863
  contents.Arn = smithy_client_1.expectString(data.Arn);
9856
9864
  }
@@ -9952,7 +9960,7 @@ const deserializeAws_restJson1DescribeGroupCommand = async (output, context) =>
9952
9960
  RequestId: undefined,
9953
9961
  Status: undefined,
9954
9962
  };
9955
- const data = await parseBody(output.body, context);
9963
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
9956
9964
  if (data.Group !== undefined && data.Group !== null) {
9957
9965
  contents.Group = deserializeAws_restJson1Group(data.Group, context);
9958
9966
  }
@@ -10056,7 +10064,7 @@ const deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = async (output
10056
10064
  RequestId: undefined,
10057
10065
  Status: undefined,
10058
10066
  };
10059
- const data = await parseBody(output.body, context);
10067
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10060
10068
  if (data.IAMPolicyAssignment !== undefined && data.IAMPolicyAssignment !== null) {
10061
10069
  contents.IAMPolicyAssignment = deserializeAws_restJson1IAMPolicyAssignment(data.IAMPolicyAssignment, context);
10062
10070
  }
@@ -10152,7 +10160,7 @@ const deserializeAws_restJson1DescribeIngestionCommand = async (output, context)
10152
10160
  RequestId: undefined,
10153
10161
  Status: undefined,
10154
10162
  };
10155
- const data = await parseBody(output.body, context);
10163
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10156
10164
  if (data.Ingestion !== undefined && data.Ingestion !== null) {
10157
10165
  contents.Ingestion = deserializeAws_restJson1Ingestion(data.Ingestion, context);
10158
10166
  }
@@ -10248,7 +10256,7 @@ const deserializeAws_restJson1DescribeNamespaceCommand = async (output, context)
10248
10256
  RequestId: undefined,
10249
10257
  Status: undefined,
10250
10258
  };
10251
- const data = await parseBody(output.body, context);
10259
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10252
10260
  if (data.Namespace !== undefined && data.Namespace !== null) {
10253
10261
  contents.Namespace = deserializeAws_restJson1NamespaceInfoV2(data.Namespace, context);
10254
10262
  }
@@ -10344,7 +10352,7 @@ const deserializeAws_restJson1DescribeTemplateCommand = async (output, context)
10344
10352
  Status: undefined,
10345
10353
  Template: undefined,
10346
10354
  };
10347
- const data = await parseBody(output.body, context);
10355
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10348
10356
  if (data.RequestId !== undefined && data.RequestId !== null) {
10349
10357
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
10350
10358
  }
@@ -10456,7 +10464,7 @@ const deserializeAws_restJson1DescribeTemplateAliasCommand = async (output, cont
10456
10464
  Status: undefined,
10457
10465
  TemplateAlias: undefined,
10458
10466
  };
10459
- const data = await parseBody(output.body, context);
10467
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10460
10468
  if (data.RequestId !== undefined && data.RequestId !== null) {
10461
10469
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
10462
10470
  }
@@ -10538,7 +10546,7 @@ const deserializeAws_restJson1DescribeTemplatePermissionsCommand = async (output
10538
10546
  TemplateArn: undefined,
10539
10547
  TemplateId: undefined,
10540
10548
  };
10541
- const data = await parseBody(output.body, context);
10549
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10542
10550
  if (data.Permissions !== undefined && data.Permissions !== null) {
10543
10551
  contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
10544
10552
  }
@@ -10640,7 +10648,7 @@ const deserializeAws_restJson1DescribeThemeCommand = async (output, context) =>
10640
10648
  Status: undefined,
10641
10649
  Theme: undefined,
10642
10650
  };
10643
- const data = await parseBody(output.body, context);
10651
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10644
10652
  if (data.RequestId !== undefined && data.RequestId !== null) {
10645
10653
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
10646
10654
  }
@@ -10744,7 +10752,7 @@ const deserializeAws_restJson1DescribeThemeAliasCommand = async (output, context
10744
10752
  Status: undefined,
10745
10753
  ThemeAlias: undefined,
10746
10754
  };
10747
- const data = await parseBody(output.body, context);
10755
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10748
10756
  if (data.RequestId !== undefined && data.RequestId !== null) {
10749
10757
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
10750
10758
  }
@@ -10842,7 +10850,7 @@ const deserializeAws_restJson1DescribeThemePermissionsCommand = async (output, c
10842
10850
  ThemeArn: undefined,
10843
10851
  ThemeId: undefined,
10844
10852
  };
10845
- const data = await parseBody(output.body, context);
10853
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10846
10854
  if (data.Permissions !== undefined && data.Permissions !== null) {
10847
10855
  contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
10848
10856
  }
@@ -10944,7 +10952,7 @@ const deserializeAws_restJson1DescribeUserCommand = async (output, context) => {
10944
10952
  Status: undefined,
10945
10953
  User: undefined,
10946
10954
  };
10947
- const data = await parseBody(output.body, context);
10955
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
10948
10956
  if (data.RequestId !== undefined && data.RequestId !== null) {
10949
10957
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
10950
10958
  }
@@ -11048,7 +11056,7 @@ const deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = async (o
11048
11056
  RequestId: undefined,
11049
11057
  Status: undefined,
11050
11058
  };
11051
- const data = await parseBody(output.body, context);
11059
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
11052
11060
  if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
11053
11061
  contents.EmbedUrl = smithy_client_1.expectString(data.EmbedUrl);
11054
11062
  }
@@ -11160,7 +11168,7 @@ const deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = async (
11160
11168
  RequestId: undefined,
11161
11169
  Status: undefined,
11162
11170
  };
11163
- const data = await parseBody(output.body, context);
11171
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
11164
11172
  if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
11165
11173
  contents.EmbedUrl = smithy_client_1.expectString(data.EmbedUrl);
11166
11174
  }
@@ -11280,7 +11288,7 @@ const deserializeAws_restJson1GetDashboardEmbedUrlCommand = async (output, conte
11280
11288
  RequestId: undefined,
11281
11289
  Status: undefined,
11282
11290
  };
11283
- const data = await parseBody(output.body, context);
11291
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
11284
11292
  if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
11285
11293
  contents.EmbedUrl = smithy_client_1.expectString(data.EmbedUrl);
11286
11294
  }
@@ -11424,7 +11432,7 @@ const deserializeAws_restJson1GetSessionEmbedUrlCommand = async (output, context
11424
11432
  RequestId: undefined,
11425
11433
  Status: undefined,
11426
11434
  };
11427
- const data = await parseBody(output.body, context);
11435
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
11428
11436
  if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
11429
11437
  contents.EmbedUrl = smithy_client_1.expectString(data.EmbedUrl);
11430
11438
  }
@@ -11545,7 +11553,7 @@ const deserializeAws_restJson1ListAnalysesCommand = async (output, context) => {
11545
11553
  RequestId: undefined,
11546
11554
  Status: undefined,
11547
11555
  };
11548
- const data = await parseBody(output.body, context);
11556
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
11549
11557
  if (data.AnalysisSummaryList !== undefined && data.AnalysisSummaryList !== null) {
11550
11558
  contents.AnalysisSummaryList = deserializeAws_restJson1AnalysisSummaryList(data.AnalysisSummaryList, context);
11551
11559
  }
@@ -11629,7 +11637,7 @@ const deserializeAws_restJson1ListDashboardsCommand = async (output, context) =>
11629
11637
  RequestId: undefined,
11630
11638
  Status: undefined,
11631
11639
  };
11632
- const data = await parseBody(output.body, context);
11640
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
11633
11641
  if (data.DashboardSummaryList !== undefined && data.DashboardSummaryList !== null) {
11634
11642
  contents.DashboardSummaryList = deserializeAws_restJson1DashboardSummaryList(data.DashboardSummaryList, context);
11635
11643
  }
@@ -11713,7 +11721,7 @@ const deserializeAws_restJson1ListDashboardVersionsCommand = async (output, cont
11713
11721
  RequestId: undefined,
11714
11722
  Status: undefined,
11715
11723
  };
11716
- const data = await parseBody(output.body, context);
11724
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
11717
11725
  if (data.DashboardVersionSummaryList !== undefined && data.DashboardVersionSummaryList !== null) {
11718
11726
  contents.DashboardVersionSummaryList = deserializeAws_restJson1DashboardVersionSummaryList(data.DashboardVersionSummaryList, context);
11719
11727
  }
@@ -11813,7 +11821,7 @@ const deserializeAws_restJson1ListDataSetsCommand = async (output, context) => {
11813
11821
  RequestId: undefined,
11814
11822
  Status: undefined,
11815
11823
  };
11816
- const data = await parseBody(output.body, context);
11824
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
11817
11825
  if (data.DataSetSummaries !== undefined && data.DataSetSummaries !== null) {
11818
11826
  contents.DataSetSummaries = deserializeAws_restJson1DataSetSummaryList(data.DataSetSummaries, context);
11819
11827
  }
@@ -11905,7 +11913,7 @@ const deserializeAws_restJson1ListDataSourcesCommand = async (output, context) =
11905
11913
  RequestId: undefined,
11906
11914
  Status: undefined,
11907
11915
  };
11908
- const data = await parseBody(output.body, context);
11916
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
11909
11917
  if (data.DataSources !== undefined && data.DataSources !== null) {
11910
11918
  contents.DataSources = deserializeAws_restJson1DataSourceList(data.DataSources, context);
11911
11919
  }
@@ -11997,7 +12005,7 @@ const deserializeAws_restJson1ListFolderMembersCommand = async (output, context)
11997
12005
  RequestId: undefined,
11998
12006
  Status: undefined,
11999
12007
  };
12000
- const data = await parseBody(output.body, context);
12008
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12001
12009
  if (data.FolderMemberList !== undefined && data.FolderMemberList !== null) {
12002
12010
  contents.FolderMemberList = deserializeAws_restJson1FolderMemberList(data.FolderMemberList, context);
12003
12011
  }
@@ -12105,7 +12113,7 @@ const deserializeAws_restJson1ListFoldersCommand = async (output, context) => {
12105
12113
  RequestId: undefined,
12106
12114
  Status: undefined,
12107
12115
  };
12108
- const data = await parseBody(output.body, context);
12116
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12109
12117
  if (data.FolderSummaryList !== undefined && data.FolderSummaryList !== null) {
12110
12118
  contents.FolderSummaryList = deserializeAws_restJson1FolderSummaryList(data.FolderSummaryList, context);
12111
12119
  }
@@ -12213,7 +12221,7 @@ const deserializeAws_restJson1ListGroupMembershipsCommand = async (output, conte
12213
12221
  RequestId: undefined,
12214
12222
  Status: undefined,
12215
12223
  };
12216
- const data = await parseBody(output.body, context);
12224
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12217
12225
  if (data.GroupMemberList !== undefined && data.GroupMemberList !== null) {
12218
12226
  contents.GroupMemberList = deserializeAws_restJson1GroupMemberList(data.GroupMemberList, context);
12219
12227
  }
@@ -12329,7 +12337,7 @@ const deserializeAws_restJson1ListGroupsCommand = async (output, context) => {
12329
12337
  RequestId: undefined,
12330
12338
  Status: undefined,
12331
12339
  };
12332
- const data = await parseBody(output.body, context);
12340
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12333
12341
  if (data.GroupList !== undefined && data.GroupList !== null) {
12334
12342
  contents.GroupList = deserializeAws_restJson1GroupList(data.GroupList, context);
12335
12343
  }
@@ -12445,7 +12453,7 @@ const deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = async (output, c
12445
12453
  RequestId: undefined,
12446
12454
  Status: undefined,
12447
12455
  };
12448
- const data = await parseBody(output.body, context);
12456
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12449
12457
  if (data.IAMPolicyAssignments !== undefined && data.IAMPolicyAssignments !== null) {
12450
12458
  contents.IAMPolicyAssignments = deserializeAws_restJson1IAMPolicyAssignmentSummaryList(data.IAMPolicyAssignments, context);
12451
12459
  }
@@ -12545,7 +12553,7 @@ const deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = async (ou
12545
12553
  RequestId: undefined,
12546
12554
  Status: undefined,
12547
12555
  };
12548
- const data = await parseBody(output.body, context);
12556
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12549
12557
  if (data.ActiveAssignments !== undefined && data.ActiveAssignments !== null) {
12550
12558
  contents.ActiveAssignments = deserializeAws_restJson1ActiveIAMPolicyAssignmentList(data.ActiveAssignments, context);
12551
12559
  }
@@ -12653,7 +12661,7 @@ const deserializeAws_restJson1ListIngestionsCommand = async (output, context) =>
12653
12661
  RequestId: undefined,
12654
12662
  Status: undefined,
12655
12663
  };
12656
- const data = await parseBody(output.body, context);
12664
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12657
12665
  if (data.Ingestions !== undefined && data.Ingestions !== null) {
12658
12666
  contents.Ingestions = deserializeAws_restJson1Ingestions(data.Ingestions, context);
12659
12667
  }
@@ -12761,7 +12769,7 @@ const deserializeAws_restJson1ListNamespacesCommand = async (output, context) =>
12761
12769
  RequestId: undefined,
12762
12770
  Status: undefined,
12763
12771
  };
12764
- const data = await parseBody(output.body, context);
12772
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12765
12773
  if (data.Namespaces !== undefined && data.Namespaces !== null) {
12766
12774
  contents.Namespaces = deserializeAws_restJson1Namespaces(data.Namespaces, context);
12767
12775
  }
@@ -12876,7 +12884,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
12876
12884
  Status: undefined,
12877
12885
  Tags: undefined,
12878
12886
  };
12879
- const data = await parseBody(output.body, context);
12887
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12880
12888
  if (data.RequestId !== undefined && data.RequestId !== null) {
12881
12889
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
12882
12890
  }
@@ -12965,7 +12973,7 @@ const deserializeAws_restJson1ListTemplateAliasesCommand = async (output, contex
12965
12973
  Status: undefined,
12966
12974
  TemplateAliasList: undefined,
12967
12975
  };
12968
- const data = await parseBody(output.body, context);
12976
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
12969
12977
  if (data.NextToken !== undefined && data.NextToken !== null) {
12970
12978
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
12971
12979
  }
@@ -13057,7 +13065,7 @@ const deserializeAws_restJson1ListTemplatesCommand = async (output, context) =>
13057
13065
  Status: undefined,
13058
13066
  TemplateSummaryList: undefined,
13059
13067
  };
13060
- const data = await parseBody(output.body, context);
13068
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
13061
13069
  if (data.NextToken !== undefined && data.NextToken !== null) {
13062
13070
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
13063
13071
  }
@@ -13157,7 +13165,7 @@ const deserializeAws_restJson1ListTemplateVersionsCommand = async (output, conte
13157
13165
  Status: undefined,
13158
13166
  TemplateVersionSummaryList: undefined,
13159
13167
  };
13160
- const data = await parseBody(output.body, context);
13168
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
13161
13169
  if (data.NextToken !== undefined && data.NextToken !== null) {
13162
13170
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
13163
13171
  }
@@ -13257,7 +13265,7 @@ const deserializeAws_restJson1ListThemeAliasesCommand = async (output, context)
13257
13265
  Status: undefined,
13258
13266
  ThemeAliasList: undefined,
13259
13267
  };
13260
- const data = await parseBody(output.body, context);
13268
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
13261
13269
  if (data.NextToken !== undefined && data.NextToken !== null) {
13262
13270
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
13263
13271
  }
@@ -13365,7 +13373,7 @@ const deserializeAws_restJson1ListThemesCommand = async (output, context) => {
13365
13373
  Status: undefined,
13366
13374
  ThemeSummaryList: undefined,
13367
13375
  };
13368
- const data = await parseBody(output.body, context);
13376
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
13369
13377
  if (data.NextToken !== undefined && data.NextToken !== null) {
13370
13378
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
13371
13379
  }
@@ -13473,7 +13481,7 @@ const deserializeAws_restJson1ListThemeVersionsCommand = async (output, context)
13473
13481
  Status: undefined,
13474
13482
  ThemeVersionSummaryList: undefined,
13475
13483
  };
13476
- const data = await parseBody(output.body, context);
13484
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
13477
13485
  if (data.NextToken !== undefined && data.NextToken !== null) {
13478
13486
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
13479
13487
  }
@@ -13581,7 +13589,7 @@ const deserializeAws_restJson1ListUserGroupsCommand = async (output, context) =>
13581
13589
  RequestId: undefined,
13582
13590
  Status: undefined,
13583
13591
  };
13584
- const data = await parseBody(output.body, context);
13592
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
13585
13593
  if (data.GroupList !== undefined && data.GroupList !== null) {
13586
13594
  contents.GroupList = deserializeAws_restJson1GroupList(data.GroupList, context);
13587
13595
  }
@@ -13689,7 +13697,7 @@ const deserializeAws_restJson1ListUsersCommand = async (output, context) => {
13689
13697
  Status: undefined,
13690
13698
  UserList: undefined,
13691
13699
  };
13692
- const data = await parseBody(output.body, context);
13700
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
13693
13701
  if (data.NextToken !== undefined && data.NextToken !== null) {
13694
13702
  contents.NextToken = smithy_client_1.expectString(data.NextToken);
13695
13703
  }
@@ -13805,7 +13813,7 @@ const deserializeAws_restJson1RegisterUserCommand = async (output, context) => {
13805
13813
  User: undefined,
13806
13814
  UserInvitationUrl: undefined,
13807
13815
  };
13808
- const data = await parseBody(output.body, context);
13816
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
13809
13817
  if (data.RequestId !== undefined && data.RequestId !== null) {
13810
13818
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
13811
13819
  }
@@ -13929,7 +13937,7 @@ const deserializeAws_restJson1RestoreAnalysisCommand = async (output, context) =
13929
13937
  RequestId: undefined,
13930
13938
  Status: undefined,
13931
13939
  };
13932
- const data = await parseBody(output.body, context);
13940
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
13933
13941
  if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
13934
13942
  contents.AnalysisId = smithy_client_1.expectString(data.AnalysisId);
13935
13943
  }
@@ -14029,7 +14037,7 @@ const deserializeAws_restJson1SearchAnalysesCommand = async (output, context) =>
14029
14037
  RequestId: undefined,
14030
14038
  Status: undefined,
14031
14039
  };
14032
- const data = await parseBody(output.body, context);
14040
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14033
14041
  if (data.AnalysisSummaryList !== undefined && data.AnalysisSummaryList !== null) {
14034
14042
  contents.AnalysisSummaryList = deserializeAws_restJson1AnalysisSummaryList(data.AnalysisSummaryList, context);
14035
14043
  }
@@ -14129,7 +14137,7 @@ const deserializeAws_restJson1SearchDashboardsCommand = async (output, context)
14129
14137
  RequestId: undefined,
14130
14138
  Status: undefined,
14131
14139
  };
14132
- const data = await parseBody(output.body, context);
14140
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14133
14141
  if (data.DashboardSummaryList !== undefined && data.DashboardSummaryList !== null) {
14134
14142
  contents.DashboardSummaryList = deserializeAws_restJson1DashboardSummaryList(data.DashboardSummaryList, context);
14135
14143
  }
@@ -14229,7 +14237,7 @@ const deserializeAws_restJson1SearchFoldersCommand = async (output, context) =>
14229
14237
  RequestId: undefined,
14230
14238
  Status: undefined,
14231
14239
  };
14232
- const data = await parseBody(output.body, context);
14240
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14233
14241
  if (data.FolderSummaryList !== undefined && data.FolderSummaryList !== null) {
14234
14242
  contents.FolderSummaryList = deserializeAws_restJson1FolderSummaryList(data.FolderSummaryList, context);
14235
14243
  }
@@ -14335,7 +14343,7 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
14335
14343
  RequestId: undefined,
14336
14344
  Status: undefined,
14337
14345
  };
14338
- const data = await parseBody(output.body, context);
14346
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14339
14347
  if (data.RequestId !== undefined && data.RequestId !== null) {
14340
14348
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
14341
14349
  }
@@ -14427,7 +14435,7 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
14427
14435
  RequestId: undefined,
14428
14436
  Status: undefined,
14429
14437
  };
14430
- const data = await parseBody(output.body, context);
14438
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14431
14439
  if (data.RequestId !== undefined && data.RequestId !== null) {
14432
14440
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
14433
14441
  }
@@ -14515,7 +14523,7 @@ const deserializeAws_restJson1UpdateAccountCustomizationCommand = async (output,
14515
14523
  RequestId: undefined,
14516
14524
  Status: undefined,
14517
14525
  };
14518
- const data = await parseBody(output.body, context);
14526
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14519
14527
  if (data.AccountCustomization !== undefined && data.AccountCustomization !== null) {
14520
14528
  contents.AccountCustomization = deserializeAws_restJson1AccountCustomization(data.AccountCustomization, context);
14521
14529
  }
@@ -14619,7 +14627,7 @@ const deserializeAws_restJson1UpdateAccountSettingsCommand = async (output, cont
14619
14627
  RequestId: undefined,
14620
14628
  Status: undefined,
14621
14629
  };
14622
- const data = await parseBody(output.body, context);
14630
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14623
14631
  if (data.RequestId !== undefined && data.RequestId !== null) {
14624
14632
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
14625
14633
  }
@@ -14714,7 +14722,7 @@ const deserializeAws_restJson1UpdateAnalysisCommand = async (output, context) =>
14714
14722
  Status: undefined,
14715
14723
  UpdateStatus: undefined,
14716
14724
  };
14717
- const data = await parseBody(output.body, context);
14725
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14718
14726
  if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
14719
14727
  contents.AnalysisId = smithy_client_1.expectString(data.AnalysisId);
14720
14728
  }
@@ -14826,7 +14834,7 @@ const deserializeAws_restJson1UpdateAnalysisPermissionsCommand = async (output,
14826
14834
  RequestId: undefined,
14827
14835
  Status: undefined,
14828
14836
  };
14829
- const data = await parseBody(output.body, context);
14837
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14830
14838
  if (data.AnalysisArn !== undefined && data.AnalysisArn !== null) {
14831
14839
  contents.AnalysisArn = smithy_client_1.expectString(data.AnalysisArn);
14832
14840
  }
@@ -14931,7 +14939,7 @@ const deserializeAws_restJson1UpdateDashboardCommand = async (output, context) =
14931
14939
  Status: undefined,
14932
14940
  VersionArn: undefined,
14933
14941
  };
14934
- const data = await parseBody(output.body, context);
14942
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
14935
14943
  if (data.Arn !== undefined && data.Arn !== null) {
14936
14944
  contents.Arn = smithy_client_1.expectString(data.Arn);
14937
14945
  }
@@ -14945,7 +14953,7 @@ const deserializeAws_restJson1UpdateDashboardCommand = async (output, context) =
14945
14953
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
14946
14954
  }
14947
14955
  if (data.Status !== undefined && data.Status !== null) {
14948
- contents.Status = smithy_client_1.expectInt(data.Status);
14956
+ contents.Status = smithy_client_1.expectInt32(data.Status);
14949
14957
  }
14950
14958
  if (data.VersionArn !== undefined && data.VersionArn !== null) {
14951
14959
  contents.VersionArn = smithy_client_1.expectString(data.VersionArn);
@@ -15046,7 +15054,7 @@ const deserializeAws_restJson1UpdateDashboardPermissionsCommand = async (output,
15046
15054
  RequestId: undefined,
15047
15055
  Status: undefined,
15048
15056
  };
15049
- const data = await parseBody(output.body, context);
15057
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15050
15058
  if (data.DashboardArn !== undefined && data.DashboardArn !== null) {
15051
15059
  contents.DashboardArn = smithy_client_1.expectString(data.DashboardArn);
15052
15060
  }
@@ -15149,7 +15157,7 @@ const deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = async (ou
15149
15157
  RequestId: undefined,
15150
15158
  Status: undefined,
15151
15159
  };
15152
- const data = await parseBody(output.body, context);
15160
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15153
15161
  if (data.DashboardArn !== undefined && data.DashboardArn !== null) {
15154
15162
  contents.DashboardArn = smithy_client_1.expectString(data.DashboardArn);
15155
15163
  }
@@ -15251,7 +15259,7 @@ const deserializeAws_restJson1UpdateDataSetCommand = async (output, context) =>
15251
15259
  RequestId: undefined,
15252
15260
  Status: undefined,
15253
15261
  };
15254
- const data = await parseBody(output.body, context);
15262
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15255
15263
  if (data.Arn !== undefined && data.Arn !== null) {
15256
15264
  contents.Arn = smithy_client_1.expectString(data.Arn);
15257
15265
  }
@@ -15373,7 +15381,7 @@ const deserializeAws_restJson1UpdateDataSetPermissionsCommand = async (output, c
15373
15381
  RequestId: undefined,
15374
15382
  Status: undefined,
15375
15383
  };
15376
- const data = await parseBody(output.body, context);
15384
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15377
15385
  if (data.DataSetArn !== undefined && data.DataSetArn !== null) {
15378
15386
  contents.DataSetArn = smithy_client_1.expectString(data.DataSetArn);
15379
15387
  }
@@ -15474,7 +15482,7 @@ const deserializeAws_restJson1UpdateDataSourceCommand = async (output, context)
15474
15482
  Status: undefined,
15475
15483
  UpdateStatus: undefined,
15476
15484
  };
15477
- const data = await parseBody(output.body, context);
15485
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15478
15486
  if (data.Arn !== undefined && data.Arn !== null) {
15479
15487
  contents.Arn = smithy_client_1.expectString(data.Arn);
15480
15488
  }
@@ -15577,7 +15585,7 @@ const deserializeAws_restJson1UpdateDataSourcePermissionsCommand = async (output
15577
15585
  RequestId: undefined,
15578
15586
  Status: undefined,
15579
15587
  };
15580
- const data = await parseBody(output.body, context);
15588
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15581
15589
  if (data.DataSourceArn !== undefined && data.DataSourceArn !== null) {
15582
15590
  contents.DataSourceArn = smithy_client_1.expectString(data.DataSourceArn);
15583
15591
  }
@@ -15677,7 +15685,7 @@ const deserializeAws_restJson1UpdateFolderCommand = async (output, context) => {
15677
15685
  RequestId: undefined,
15678
15686
  Status: undefined,
15679
15687
  };
15680
- const data = await parseBody(output.body, context);
15688
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15681
15689
  if (data.Arn !== undefined && data.Arn !== null) {
15682
15690
  contents.Arn = smithy_client_1.expectString(data.Arn);
15683
15691
  }
@@ -15794,7 +15802,7 @@ const deserializeAws_restJson1UpdateFolderPermissionsCommand = async (output, co
15794
15802
  RequestId: undefined,
15795
15803
  Status: undefined,
15796
15804
  };
15797
- const data = await parseBody(output.body, context);
15805
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15798
15806
  if (data.Arn !== undefined && data.Arn !== null) {
15799
15807
  contents.Arn = smithy_client_1.expectString(data.Arn);
15800
15808
  }
@@ -15808,7 +15816,7 @@ const deserializeAws_restJson1UpdateFolderPermissionsCommand = async (output, co
15808
15816
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
15809
15817
  }
15810
15818
  if (data.Status !== undefined && data.Status !== null) {
15811
- contents.Status = smithy_client_1.expectInt(data.Status);
15819
+ contents.Status = smithy_client_1.expectInt32(data.Status);
15812
15820
  }
15813
15821
  return Promise.resolve(contents);
15814
15822
  };
@@ -15904,7 +15912,7 @@ const deserializeAws_restJson1UpdateGroupCommand = async (output, context) => {
15904
15912
  RequestId: undefined,
15905
15913
  Status: undefined,
15906
15914
  };
15907
- const data = await parseBody(output.body, context);
15915
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
15908
15916
  if (data.Group !== undefined && data.Group !== null) {
15909
15917
  contents.Group = deserializeAws_restJson1Group(data.Group, context);
15910
15918
  }
@@ -16012,7 +16020,7 @@ const deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = async (output,
16012
16020
  RequestId: undefined,
16013
16021
  Status: undefined,
16014
16022
  };
16015
- const data = await parseBody(output.body, context);
16023
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
16016
16024
  if (data.AssignmentId !== undefined && data.AssignmentId !== null) {
16017
16025
  contents.AssignmentId = smithy_client_1.expectString(data.AssignmentId);
16018
16026
  }
@@ -16131,7 +16139,7 @@ const deserializeAws_restJson1UpdateTemplateCommand = async (output, context) =>
16131
16139
  TemplateId: undefined,
16132
16140
  VersionArn: undefined,
16133
16141
  };
16134
- const data = await parseBody(output.body, context);
16142
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
16135
16143
  if (data.Arn !== undefined && data.Arn !== null) {
16136
16144
  contents.Arn = smithy_client_1.expectString(data.Arn);
16137
16145
  }
@@ -16252,7 +16260,7 @@ const deserializeAws_restJson1UpdateTemplateAliasCommand = async (output, contex
16252
16260
  Status: undefined,
16253
16261
  TemplateAlias: undefined,
16254
16262
  };
16255
- const data = await parseBody(output.body, context);
16263
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
16256
16264
  if (data.RequestId !== undefined && data.RequestId !== null) {
16257
16265
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
16258
16266
  }
@@ -16342,7 +16350,7 @@ const deserializeAws_restJson1UpdateTemplatePermissionsCommand = async (output,
16342
16350
  TemplateArn: undefined,
16343
16351
  TemplateId: undefined,
16344
16352
  };
16345
- const data = await parseBody(output.body, context);
16353
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
16346
16354
  if (data.Permissions !== undefined && data.Permissions !== null) {
16347
16355
  contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
16348
16356
  }
@@ -16447,7 +16455,7 @@ const deserializeAws_restJson1UpdateThemeCommand = async (output, context) => {
16447
16455
  ThemeId: undefined,
16448
16456
  VersionArn: undefined,
16449
16457
  };
16450
- const data = await parseBody(output.body, context);
16458
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
16451
16459
  if (data.Arn !== undefined && data.Arn !== null) {
16452
16460
  contents.Arn = smithy_client_1.expectString(data.Arn);
16453
16461
  }
@@ -16568,7 +16576,7 @@ const deserializeAws_restJson1UpdateThemeAliasCommand = async (output, context)
16568
16576
  Status: undefined,
16569
16577
  ThemeAlias: undefined,
16570
16578
  };
16571
- const data = await parseBody(output.body, context);
16579
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
16572
16580
  if (data.RequestId !== undefined && data.RequestId !== null) {
16573
16581
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
16574
16582
  }
@@ -16674,7 +16682,7 @@ const deserializeAws_restJson1UpdateThemePermissionsCommand = async (output, con
16674
16682
  ThemeArn: undefined,
16675
16683
  ThemeId: undefined,
16676
16684
  };
16677
- const data = await parseBody(output.body, context);
16685
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
16678
16686
  if (data.Permissions !== undefined && data.Permissions !== null) {
16679
16687
  contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
16680
16688
  }
@@ -16776,7 +16784,7 @@ const deserializeAws_restJson1UpdateUserCommand = async (output, context) => {
16776
16784
  Status: undefined,
16777
16785
  User: undefined,
16778
16786
  };
16779
- const data = await parseBody(output.body, context);
16787
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
16780
16788
  if (data.RequestId !== undefined && data.RequestId !== null) {
16781
16789
  contents.RequestId = smithy_client_1.expectString(data.RequestId);
16782
16790
  }
@@ -17218,6 +17226,11 @@ const serializeAws_restJson1AmazonElasticsearchParameters = (input, context) =>
17218
17226
  ...(input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain }),
17219
17227
  };
17220
17228
  };
17229
+ const serializeAws_restJson1AmazonOpenSearchParameters = (input, context) => {
17230
+ return {
17231
+ ...(input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain }),
17232
+ };
17233
+ };
17221
17234
  const serializeAws_restJson1AnalysisSearchFilter = (input, context) => {
17222
17235
  return {
17223
17236
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
@@ -17420,6 +17433,16 @@ const serializeAws_restJson1ColumnTagList = (input, context) => {
17420
17433
  return serializeAws_restJson1ColumnTag(entry, context);
17421
17434
  });
17422
17435
  };
17436
+ const serializeAws_restJson1ColumnTagNames = (input, context) => {
17437
+ return input
17438
+ .filter((e) => e != null)
17439
+ .map((entry) => {
17440
+ if (entry === null) {
17441
+ return null;
17442
+ }
17443
+ return entry;
17444
+ });
17445
+ };
17423
17446
  const serializeAws_restJson1CreateColumnsOperation = (input, context) => {
17424
17447
  return {
17425
17448
  ...(input.Columns !== undefined &&
@@ -17524,6 +17547,16 @@ const serializeAws_restJson1DataSetReferenceList = (input, context) => {
17524
17547
  return serializeAws_restJson1DataSetReference(entry, context);
17525
17548
  });
17526
17549
  };
17550
+ const serializeAws_restJson1DataSetUsageConfiguration = (input, context) => {
17551
+ return {
17552
+ ...(input.DisableUseAsDirectQuerySource !== undefined &&
17553
+ input.DisableUseAsDirectQuerySource !== null && {
17554
+ DisableUseAsDirectQuerySource: input.DisableUseAsDirectQuerySource,
17555
+ }),
17556
+ ...(input.DisableUseAsImportedSource !== undefined &&
17557
+ input.DisableUseAsImportedSource !== null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }),
17558
+ };
17559
+ };
17527
17560
  const serializeAws_restJson1DataSourceCredentials = (input, context) => {
17528
17561
  return {
17529
17562
  ...(input.CopySourceArn !== undefined && input.CopySourceArn !== null && { CopySourceArn: input.CopySourceArn }),
@@ -17538,6 +17571,9 @@ const serializeAws_restJson1DataSourceParameters = (input, context) => {
17538
17571
  AmazonElasticsearchParameters: (value) => ({
17539
17572
  AmazonElasticsearchParameters: serializeAws_restJson1AmazonElasticsearchParameters(value, context),
17540
17573
  }),
17574
+ AmazonOpenSearchParameters: (value) => ({
17575
+ AmazonOpenSearchParameters: serializeAws_restJson1AmazonOpenSearchParameters(value, context),
17576
+ }),
17541
17577
  AthenaParameters: (value) => ({ AthenaParameters: serializeAws_restJson1AthenaParameters(value, context) }),
17542
17578
  AuroraParameters: (value) => ({ AuroraParameters: serializeAws_restJson1AuroraParameters(value, context) }),
17543
17579
  AuroraPostgreSqlParameters: (value) => ({
@@ -17800,6 +17836,7 @@ const serializeAws_restJson1LogicalTableMap = (input, context) => {
17800
17836
  };
17801
17837
  const serializeAws_restJson1LogicalTableSource = (input, context) => {
17802
17838
  return {
17839
+ ...(input.DataSetArn !== undefined && input.DataSetArn !== null && { DataSetArn: input.DataSetArn }),
17803
17840
  ...(input.JoinInstruction !== undefined &&
17804
17841
  input.JoinInstruction !== null && {
17805
17842
  JoinInstruction: serializeAws_restJson1JoinInstruction(input.JoinInstruction, context),
@@ -18257,6 +18294,9 @@ const serializeAws_restJson1TransformOperation = (input, context) => {
18257
18294
  RenameColumnOperation: serializeAws_restJson1RenameColumnOperation(value, context),
18258
18295
  }),
18259
18296
  TagColumnOperation: (value) => ({ TagColumnOperation: serializeAws_restJson1TagColumnOperation(value, context) }),
18297
+ UntagColumnOperation: (value) => ({
18298
+ UntagColumnOperation: serializeAws_restJson1UntagColumnOperation(value, context),
18299
+ }),
18260
18300
  _: (name, value) => ({ name: value }),
18261
18301
  });
18262
18302
  };
@@ -18306,6 +18346,13 @@ const serializeAws_restJson1UIColorPalette = (input, context) => {
18306
18346
  input.WarningForeground !== null && { WarningForeground: input.WarningForeground }),
18307
18347
  };
18308
18348
  };
18349
+ const serializeAws_restJson1UntagColumnOperation = (input, context) => {
18350
+ return {
18351
+ ...(input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName }),
18352
+ ...(input.TagNames !== undefined &&
18353
+ input.TagNames !== null && { TagNames: serializeAws_restJson1ColumnTagNames(input.TagNames, context) }),
18354
+ };
18355
+ };
18309
18356
  const serializeAws_restJson1UpdateResourcePermissionList = (input, context) => {
18310
18357
  return input
18311
18358
  .filter((e) => e != null)
@@ -18376,12 +18423,17 @@ const deserializeAws_restJson1AmazonElasticsearchParameters = (output, context)
18376
18423
  Domain: smithy_client_1.expectString(output.Domain),
18377
18424
  };
18378
18425
  };
18426
+ const deserializeAws_restJson1AmazonOpenSearchParameters = (output, context) => {
18427
+ return {
18428
+ Domain: smithy_client_1.expectString(output.Domain),
18429
+ };
18430
+ };
18379
18431
  const deserializeAws_restJson1Analysis = (output, context) => {
18380
18432
  return {
18381
18433
  AnalysisId: smithy_client_1.expectString(output.AnalysisId),
18382
18434
  Arn: smithy_client_1.expectString(output.Arn),
18383
18435
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18384
- ? new Date(Math.round(output.CreatedTime * 1000))
18436
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18385
18437
  : undefined,
18386
18438
  DataSetArns: output.DataSetArns !== undefined && output.DataSetArns !== null
18387
18439
  ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context)
@@ -18390,7 +18442,7 @@ const deserializeAws_restJson1Analysis = (output, context) => {
18390
18442
  ? deserializeAws_restJson1AnalysisErrorList(output.Errors, context)
18391
18443
  : undefined,
18392
18444
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18393
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
18445
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
18394
18446
  : undefined,
18395
18447
  Name: smithy_client_1.expectString(output.Name),
18396
18448
  Sheets: output.Sheets !== undefined && output.Sheets !== null
@@ -18421,10 +18473,10 @@ const deserializeAws_restJson1AnalysisSummary = (output, context) => {
18421
18473
  AnalysisId: smithy_client_1.expectString(output.AnalysisId),
18422
18474
  Arn: smithy_client_1.expectString(output.Arn),
18423
18475
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18424
- ? new Date(Math.round(output.CreatedTime * 1000))
18476
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18425
18477
  : undefined,
18426
18478
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18427
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
18479
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
18428
18480
  : undefined,
18429
18481
  Name: smithy_client_1.expectString(output.Name),
18430
18482
  Status: smithy_client_1.expectString(output.Status),
@@ -18449,14 +18501,14 @@ const deserializeAws_restJson1AuroraParameters = (output, context) => {
18449
18501
  return {
18450
18502
  Database: smithy_client_1.expectString(output.Database),
18451
18503
  Host: smithy_client_1.expectString(output.Host),
18452
- Port: smithy_client_1.expectInt(output.Port),
18504
+ Port: smithy_client_1.expectInt32(output.Port),
18453
18505
  };
18454
18506
  };
18455
18507
  const deserializeAws_restJson1AuroraPostgreSqlParameters = (output, context) => {
18456
18508
  return {
18457
18509
  Database: smithy_client_1.expectString(output.Database),
18458
18510
  Host: smithy_client_1.expectString(output.Host),
18459
- Port: smithy_client_1.expectInt(output.Port),
18511
+ Port: smithy_client_1.expectInt32(output.Port),
18460
18512
  };
18461
18513
  };
18462
18514
  const deserializeAws_restJson1AwsIotAnalyticsParameters = (output, context) => {
@@ -18633,6 +18685,16 @@ const deserializeAws_restJson1ColumnTagList = (output, context) => {
18633
18685
  return deserializeAws_restJson1ColumnTag(entry, context);
18634
18686
  });
18635
18687
  };
18688
+ const deserializeAws_restJson1ColumnTagNames = (output, context) => {
18689
+ return (output || [])
18690
+ .filter((e) => e != null)
18691
+ .map((entry) => {
18692
+ if (entry === null) {
18693
+ return null;
18694
+ }
18695
+ return smithy_client_1.expectString(entry);
18696
+ });
18697
+ };
18636
18698
  const deserializeAws_restJson1CreateColumnsOperation = (output, context) => {
18637
18699
  return {
18638
18700
  Columns: output.Columns !== undefined && output.Columns !== null
@@ -18654,14 +18716,14 @@ const deserializeAws_restJson1Dashboard = (output, context) => {
18654
18716
  return {
18655
18717
  Arn: smithy_client_1.expectString(output.Arn),
18656
18718
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18657
- ? new Date(Math.round(output.CreatedTime * 1000))
18719
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18658
18720
  : undefined,
18659
18721
  DashboardId: smithy_client_1.expectString(output.DashboardId),
18660
18722
  LastPublishedTime: output.LastPublishedTime !== undefined && output.LastPublishedTime !== null
18661
- ? new Date(Math.round(output.LastPublishedTime * 1000))
18723
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastPublishedTime)))
18662
18724
  : undefined,
18663
18725
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18664
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
18726
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
18665
18727
  : undefined,
18666
18728
  Name: smithy_client_1.expectString(output.Name),
18667
18729
  Version: output.Version !== undefined && output.Version !== null
@@ -18689,17 +18751,17 @@ const deserializeAws_restJson1DashboardSummary = (output, context) => {
18689
18751
  return {
18690
18752
  Arn: smithy_client_1.expectString(output.Arn),
18691
18753
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18692
- ? new Date(Math.round(output.CreatedTime * 1000))
18754
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18693
18755
  : undefined,
18694
18756
  DashboardId: smithy_client_1.expectString(output.DashboardId),
18695
18757
  LastPublishedTime: output.LastPublishedTime !== undefined && output.LastPublishedTime !== null
18696
- ? new Date(Math.round(output.LastPublishedTime * 1000))
18758
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastPublishedTime)))
18697
18759
  : undefined,
18698
18760
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18699
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
18761
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
18700
18762
  : undefined,
18701
18763
  Name: smithy_client_1.expectString(output.Name),
18702
- PublishedVersionNumber: smithy_client_1.expectInt(output.PublishedVersionNumber),
18764
+ PublishedVersionNumber: smithy_client_1.expectLong(output.PublishedVersionNumber),
18703
18765
  };
18704
18766
  };
18705
18767
  const deserializeAws_restJson1DashboardSummaryList = (output, context) => {
@@ -18716,7 +18778,7 @@ const deserializeAws_restJson1DashboardVersion = (output, context) => {
18716
18778
  return {
18717
18779
  Arn: smithy_client_1.expectString(output.Arn),
18718
18780
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18719
- ? new Date(Math.round(output.CreatedTime * 1000))
18781
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18720
18782
  : undefined,
18721
18783
  DataSetArns: output.DataSetArns !== undefined && output.DataSetArns !== null
18722
18784
  ? deserializeAws_restJson1DataSetArnsList(output.DataSetArns, context)
@@ -18731,19 +18793,19 @@ const deserializeAws_restJson1DashboardVersion = (output, context) => {
18731
18793
  SourceEntityArn: smithy_client_1.expectString(output.SourceEntityArn),
18732
18794
  Status: smithy_client_1.expectString(output.Status),
18733
18795
  ThemeArn: smithy_client_1.expectString(output.ThemeArn),
18734
- VersionNumber: smithy_client_1.expectInt(output.VersionNumber),
18796
+ VersionNumber: smithy_client_1.expectLong(output.VersionNumber),
18735
18797
  };
18736
18798
  };
18737
18799
  const deserializeAws_restJson1DashboardVersionSummary = (output, context) => {
18738
18800
  return {
18739
18801
  Arn: smithy_client_1.expectString(output.Arn),
18740
18802
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18741
- ? new Date(Math.round(output.CreatedTime * 1000))
18803
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18742
18804
  : undefined,
18743
18805
  Description: smithy_client_1.expectString(output.Description),
18744
18806
  SourceEntityArn: smithy_client_1.expectString(output.SourceEntityArn),
18745
18807
  Status: smithy_client_1.expectString(output.Status),
18746
- VersionNumber: smithy_client_1.expectInt(output.VersionNumber),
18808
+ VersionNumber: smithy_client_1.expectLong(output.VersionNumber),
18747
18809
  };
18748
18810
  };
18749
18811
  const deserializeAws_restJson1DashboardVersionSummaryList = (output, context) => {
@@ -18776,17 +18838,20 @@ const deserializeAws_restJson1DataSet = (output, context) => {
18776
18838
  ColumnLevelPermissionRules: output.ColumnLevelPermissionRules !== undefined && output.ColumnLevelPermissionRules !== null
18777
18839
  ? deserializeAws_restJson1ColumnLevelPermissionRuleList(output.ColumnLevelPermissionRules, context)
18778
18840
  : undefined,
18779
- ConsumedSpiceCapacityInBytes: smithy_client_1.expectInt(output.ConsumedSpiceCapacityInBytes),
18841
+ ConsumedSpiceCapacityInBytes: smithy_client_1.expectLong(output.ConsumedSpiceCapacityInBytes),
18780
18842
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18781
- ? new Date(Math.round(output.CreatedTime * 1000))
18843
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18782
18844
  : undefined,
18783
18845
  DataSetId: smithy_client_1.expectString(output.DataSetId),
18846
+ DataSetUsageConfiguration: output.DataSetUsageConfiguration !== undefined && output.DataSetUsageConfiguration !== null
18847
+ ? deserializeAws_restJson1DataSetUsageConfiguration(output.DataSetUsageConfiguration, context)
18848
+ : undefined,
18784
18849
  FieldFolders: output.FieldFolders !== undefined && output.FieldFolders !== null
18785
18850
  ? deserializeAws_restJson1FieldFolderMap(output.FieldFolders, context)
18786
18851
  : undefined,
18787
18852
  ImportMode: smithy_client_1.expectString(output.ImportMode),
18788
18853
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18789
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
18854
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
18790
18855
  : undefined,
18791
18856
  LogicalTableMap: output.LogicalTableMap !== undefined && output.LogicalTableMap !== null
18792
18857
  ? deserializeAws_restJson1LogicalTableMap(output.LogicalTableMap, context)
@@ -18849,12 +18914,12 @@ const deserializeAws_restJson1DataSetSummary = (output, context) => {
18849
18914
  Arn: smithy_client_1.expectString(output.Arn),
18850
18915
  ColumnLevelPermissionRulesApplied: smithy_client_1.expectBoolean(output.ColumnLevelPermissionRulesApplied),
18851
18916
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18852
- ? new Date(Math.round(output.CreatedTime * 1000))
18917
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18853
18918
  : undefined,
18854
18919
  DataSetId: smithy_client_1.expectString(output.DataSetId),
18855
18920
  ImportMode: smithy_client_1.expectString(output.ImportMode),
18856
18921
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18857
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
18922
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
18858
18923
  : undefined,
18859
18924
  Name: smithy_client_1.expectString(output.Name),
18860
18925
  RowLevelPermissionDataSet: output.RowLevelPermissionDataSet !== undefined && output.RowLevelPermissionDataSet !== null
@@ -18873,6 +18938,12 @@ const deserializeAws_restJson1DataSetSummaryList = (output, context) => {
18873
18938
  return deserializeAws_restJson1DataSetSummary(entry, context);
18874
18939
  });
18875
18940
  };
18941
+ const deserializeAws_restJson1DataSetUsageConfiguration = (output, context) => {
18942
+ return {
18943
+ DisableUseAsDirectQuerySource: smithy_client_1.expectBoolean(output.DisableUseAsDirectQuerySource),
18944
+ DisableUseAsImportedSource: smithy_client_1.expectBoolean(output.DisableUseAsImportedSource),
18945
+ };
18946
+ };
18876
18947
  const deserializeAws_restJson1DataSource = (output, context) => {
18877
18948
  return {
18878
18949
  AlternateDataSourceParameters: output.AlternateDataSourceParameters !== undefined && output.AlternateDataSourceParameters !== null
@@ -18880,17 +18951,17 @@ const deserializeAws_restJson1DataSource = (output, context) => {
18880
18951
  : undefined,
18881
18952
  Arn: smithy_client_1.expectString(output.Arn),
18882
18953
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18883
- ? new Date(Math.round(output.CreatedTime * 1000))
18954
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18884
18955
  : undefined,
18885
18956
  DataSourceId: smithy_client_1.expectString(output.DataSourceId),
18886
18957
  DataSourceParameters: output.DataSourceParameters !== undefined && output.DataSourceParameters !== null
18887
- ? deserializeAws_restJson1DataSourceParameters(output.DataSourceParameters, context)
18958
+ ? deserializeAws_restJson1DataSourceParameters(smithy_client_1.expectUnion(output.DataSourceParameters), context)
18888
18959
  : undefined,
18889
18960
  ErrorInfo: output.ErrorInfo !== undefined && output.ErrorInfo !== null
18890
18961
  ? deserializeAws_restJson1DataSourceErrorInfo(output.ErrorInfo, context)
18891
18962
  : undefined,
18892
18963
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
18893
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
18964
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
18894
18965
  : undefined,
18895
18966
  Name: smithy_client_1.expectString(output.Name),
18896
18967
  SslProperties: output.SslProperties !== undefined && output.SslProperties !== null
@@ -18925,6 +18996,11 @@ const deserializeAws_restJson1DataSourceParameters = (output, context) => {
18925
18996
  AmazonElasticsearchParameters: deserializeAws_restJson1AmazonElasticsearchParameters(output.AmazonElasticsearchParameters, context),
18926
18997
  };
18927
18998
  }
18999
+ if (output.AmazonOpenSearchParameters !== undefined && output.AmazonOpenSearchParameters !== null) {
19000
+ return {
19001
+ AmazonOpenSearchParameters: deserializeAws_restJson1AmazonOpenSearchParameters(output.AmazonOpenSearchParameters, context),
19002
+ };
19003
+ }
18928
19004
  if (output.AthenaParameters !== undefined && output.AthenaParameters !== null) {
18929
19005
  return {
18930
19006
  AthenaParameters: deserializeAws_restJson1AthenaParameters(output.AthenaParameters, context),
@@ -19029,7 +19105,7 @@ const deserializeAws_restJson1DataSourceParametersList = (output, context) => {
19029
19105
  if (entry === null) {
19030
19106
  return null;
19031
19107
  }
19032
- return deserializeAws_restJson1DataSourceParameters(entry, context);
19108
+ return deserializeAws_restJson1DataSourceParameters(smithy_client_1.expectUnion(entry), context);
19033
19109
  });
19034
19110
  };
19035
19111
  const deserializeAws_restJson1ErrorInfo = (output, context) => {
@@ -19066,7 +19142,7 @@ const deserializeAws_restJson1Folder = (output, context) => {
19066
19142
  return {
19067
19143
  Arn: smithy_client_1.expectString(output.Arn),
19068
19144
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19069
- ? new Date(Math.round(output.CreatedTime * 1000))
19145
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19070
19146
  : undefined,
19071
19147
  FolderId: smithy_client_1.expectString(output.FolderId),
19072
19148
  FolderPath: output.FolderPath !== undefined && output.FolderPath !== null
@@ -19074,7 +19150,7 @@ const deserializeAws_restJson1Folder = (output, context) => {
19074
19150
  : undefined,
19075
19151
  FolderType: smithy_client_1.expectString(output.FolderType),
19076
19152
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
19077
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
19153
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
19078
19154
  : undefined,
19079
19155
  Name: smithy_client_1.expectString(output.Name),
19080
19156
  };
@@ -19109,12 +19185,12 @@ const deserializeAws_restJson1FolderSummary = (output, context) => {
19109
19185
  return {
19110
19186
  Arn: smithy_client_1.expectString(output.Arn),
19111
19187
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19112
- ? new Date(Math.round(output.CreatedTime * 1000))
19188
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19113
19189
  : undefined,
19114
19190
  FolderId: smithy_client_1.expectString(output.FolderId),
19115
19191
  FolderType: smithy_client_1.expectString(output.FolderType),
19116
19192
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
19117
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
19193
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
19118
19194
  : undefined,
19119
19195
  Name: smithy_client_1.expectString(output.Name),
19120
19196
  };
@@ -19230,15 +19306,15 @@ const deserializeAws_restJson1Ingestion = (output, context) => {
19230
19306
  return {
19231
19307
  Arn: smithy_client_1.expectString(output.Arn),
19232
19308
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19233
- ? new Date(Math.round(output.CreatedTime * 1000))
19309
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19234
19310
  : undefined,
19235
19311
  ErrorInfo: output.ErrorInfo !== undefined && output.ErrorInfo !== null
19236
19312
  ? deserializeAws_restJson1ErrorInfo(output.ErrorInfo, context)
19237
19313
  : undefined,
19238
19314
  IngestionId: smithy_client_1.expectString(output.IngestionId),
19239
- IngestionSizeInBytes: smithy_client_1.expectInt(output.IngestionSizeInBytes),
19315
+ IngestionSizeInBytes: smithy_client_1.expectLong(output.IngestionSizeInBytes),
19240
19316
  IngestionStatus: smithy_client_1.expectString(output.IngestionStatus),
19241
- IngestionTimeInSeconds: smithy_client_1.expectInt(output.IngestionTimeInSeconds),
19317
+ IngestionTimeInSeconds: smithy_client_1.expectLong(output.IngestionTimeInSeconds),
19242
19318
  QueueInfo: output.QueueInfo !== undefined && output.QueueInfo !== null
19243
19319
  ? deserializeAws_restJson1QueueInfo(output.QueueInfo, context)
19244
19320
  : undefined,
@@ -19323,6 +19399,7 @@ const deserializeAws_restJson1LogicalTableMap = (output, context) => {
19323
19399
  };
19324
19400
  const deserializeAws_restJson1LogicalTableSource = (output, context) => {
19325
19401
  return {
19402
+ DataSetArn: smithy_client_1.expectString(output.DataSetArn),
19326
19403
  JoinInstruction: output.JoinInstruction !== undefined && output.JoinInstruction !== null
19327
19404
  ? deserializeAws_restJson1JoinInstruction(output.JoinInstruction, context)
19328
19405
  : undefined,
@@ -19344,7 +19421,7 @@ const deserializeAws_restJson1MariaDbParameters = (output, context) => {
19344
19421
  return {
19345
19422
  Database: smithy_client_1.expectString(output.Database),
19346
19423
  Host: smithy_client_1.expectString(output.Host),
19347
- Port: smithy_client_1.expectInt(output.Port),
19424
+ Port: smithy_client_1.expectInt32(output.Port),
19348
19425
  };
19349
19426
  };
19350
19427
  const deserializeAws_restJson1MemberIdArnPair = (output, context) => {
@@ -19357,7 +19434,7 @@ const deserializeAws_restJson1MySqlParameters = (output, context) => {
19357
19434
  return {
19358
19435
  Database: smithy_client_1.expectString(output.Database),
19359
19436
  Host: smithy_client_1.expectString(output.Host),
19360
- Port: smithy_client_1.expectInt(output.Port),
19437
+ Port: smithy_client_1.expectInt32(output.Port),
19361
19438
  };
19362
19439
  };
19363
19440
  const deserializeAws_restJson1NamespaceError = (output, context) => {
@@ -19392,7 +19469,7 @@ const deserializeAws_restJson1OracleParameters = (output, context) => {
19392
19469
  return {
19393
19470
  Database: smithy_client_1.expectString(output.Database),
19394
19471
  Host: smithy_client_1.expectString(output.Host),
19395
- Port: smithy_client_1.expectInt(output.Port),
19472
+ Port: smithy_client_1.expectInt32(output.Port),
19396
19473
  };
19397
19474
  };
19398
19475
  const deserializeAws_restJson1OutputColumn = (output, context) => {
@@ -19447,7 +19524,7 @@ const deserializeAws_restJson1PhysicalTableMap = (output, context) => {
19447
19524
  }
19448
19525
  return {
19449
19526
  ...acc,
19450
- [key]: deserializeAws_restJson1PhysicalTable(value, context),
19527
+ [key]: deserializeAws_restJson1PhysicalTable(smithy_client_1.expectUnion(value), context),
19451
19528
  };
19452
19529
  }, {});
19453
19530
  };
@@ -19455,14 +19532,14 @@ const deserializeAws_restJson1PostgreSqlParameters = (output, context) => {
19455
19532
  return {
19456
19533
  Database: smithy_client_1.expectString(output.Database),
19457
19534
  Host: smithy_client_1.expectString(output.Host),
19458
- Port: smithy_client_1.expectInt(output.Port),
19535
+ Port: smithy_client_1.expectInt32(output.Port),
19459
19536
  };
19460
19537
  };
19461
19538
  const deserializeAws_restJson1PrestoParameters = (output, context) => {
19462
19539
  return {
19463
19540
  Catalog: smithy_client_1.expectString(output.Catalog),
19464
19541
  Host: smithy_client_1.expectString(output.Host),
19465
- Port: smithy_client_1.expectInt(output.Port),
19542
+ Port: smithy_client_1.expectInt32(output.Port),
19466
19543
  };
19467
19544
  };
19468
19545
  const deserializeAws_restJson1PrincipalList = (output, context) => {
@@ -19509,7 +19586,7 @@ const deserializeAws_restJson1RedshiftParameters = (output, context) => {
19509
19586
  ClusterId: smithy_client_1.expectString(output.ClusterId),
19510
19587
  Database: smithy_client_1.expectString(output.Database),
19511
19588
  Host: smithy_client_1.expectString(output.Host),
19512
- Port: smithy_client_1.expectInt(output.Port),
19589
+ Port: smithy_client_1.expectInt32(output.Port),
19513
19590
  };
19514
19591
  };
19515
19592
  const deserializeAws_restJson1RelationalTable = (output, context) => {
@@ -19549,8 +19626,8 @@ const deserializeAws_restJson1ResourcePermissionList = (output, context) => {
19549
19626
  };
19550
19627
  const deserializeAws_restJson1RowInfo = (output, context) => {
19551
19628
  return {
19552
- RowsDropped: smithy_client_1.expectInt(output.RowsDropped),
19553
- RowsIngested: smithy_client_1.expectInt(output.RowsIngested),
19629
+ RowsDropped: smithy_client_1.expectLong(output.RowsDropped),
19630
+ RowsIngested: smithy_client_1.expectLong(output.RowsIngested),
19554
19631
  };
19555
19632
  };
19556
19633
  const deserializeAws_restJson1RowLevelPermissionDataSet = (output, context) => {
@@ -19647,14 +19724,14 @@ const deserializeAws_restJson1SnowflakeParameters = (output, context) => {
19647
19724
  const deserializeAws_restJson1SparkParameters = (output, context) => {
19648
19725
  return {
19649
19726
  Host: smithy_client_1.expectString(output.Host),
19650
- Port: smithy_client_1.expectInt(output.Port),
19727
+ Port: smithy_client_1.expectInt32(output.Port),
19651
19728
  };
19652
19729
  };
19653
19730
  const deserializeAws_restJson1SqlServerParameters = (output, context) => {
19654
19731
  return {
19655
19732
  Database: smithy_client_1.expectString(output.Database),
19656
19733
  Host: smithy_client_1.expectString(output.Host),
19657
- Port: smithy_client_1.expectInt(output.Port),
19734
+ Port: smithy_client_1.expectInt32(output.Port),
19658
19735
  };
19659
19736
  };
19660
19737
  const deserializeAws_restJson1SslProperties = (output, context) => {
@@ -19690,10 +19767,10 @@ const deserializeAws_restJson1Template = (output, context) => {
19690
19767
  return {
19691
19768
  Arn: smithy_client_1.expectString(output.Arn),
19692
19769
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19693
- ? new Date(Math.round(output.CreatedTime * 1000))
19770
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19694
19771
  : undefined,
19695
19772
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
19696
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
19773
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
19697
19774
  : undefined,
19698
19775
  Name: smithy_client_1.expectString(output.Name),
19699
19776
  TemplateId: smithy_client_1.expectString(output.TemplateId),
@@ -19706,7 +19783,7 @@ const deserializeAws_restJson1TemplateAlias = (output, context) => {
19706
19783
  return {
19707
19784
  AliasName: smithy_client_1.expectString(output.AliasName),
19708
19785
  Arn: smithy_client_1.expectString(output.Arn),
19709
- TemplateVersionNumber: smithy_client_1.expectInt(output.TemplateVersionNumber),
19786
+ TemplateVersionNumber: smithy_client_1.expectLong(output.TemplateVersionNumber),
19710
19787
  };
19711
19788
  };
19712
19789
  const deserializeAws_restJson1TemplateAliasList = (output, context) => {
@@ -19739,12 +19816,12 @@ const deserializeAws_restJson1TemplateSummary = (output, context) => {
19739
19816
  return {
19740
19817
  Arn: smithy_client_1.expectString(output.Arn),
19741
19818
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19742
- ? new Date(Math.round(output.CreatedTime * 1000))
19819
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19743
19820
  : undefined,
19744
19821
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
19745
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
19822
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
19746
19823
  : undefined,
19747
- LatestVersionNumber: smithy_client_1.expectInt(output.LatestVersionNumber),
19824
+ LatestVersionNumber: smithy_client_1.expectLong(output.LatestVersionNumber),
19748
19825
  Name: smithy_client_1.expectString(output.Name),
19749
19826
  TemplateId: smithy_client_1.expectString(output.TemplateId),
19750
19827
  };
@@ -19762,7 +19839,7 @@ const deserializeAws_restJson1TemplateSummaryList = (output, context) => {
19762
19839
  const deserializeAws_restJson1TemplateVersion = (output, context) => {
19763
19840
  return {
19764
19841
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19765
- ? new Date(Math.round(output.CreatedTime * 1000))
19842
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19766
19843
  : undefined,
19767
19844
  DataSetConfigurations: output.DataSetConfigurations !== undefined && output.DataSetConfigurations !== null
19768
19845
  ? deserializeAws_restJson1DataSetConfigurationList(output.DataSetConfigurations, context)
@@ -19777,18 +19854,18 @@ const deserializeAws_restJson1TemplateVersion = (output, context) => {
19777
19854
  SourceEntityArn: smithy_client_1.expectString(output.SourceEntityArn),
19778
19855
  Status: smithy_client_1.expectString(output.Status),
19779
19856
  ThemeArn: smithy_client_1.expectString(output.ThemeArn),
19780
- VersionNumber: smithy_client_1.expectInt(output.VersionNumber),
19857
+ VersionNumber: smithy_client_1.expectLong(output.VersionNumber),
19781
19858
  };
19782
19859
  };
19783
19860
  const deserializeAws_restJson1TemplateVersionSummary = (output, context) => {
19784
19861
  return {
19785
19862
  Arn: smithy_client_1.expectString(output.Arn),
19786
19863
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19787
- ? new Date(Math.round(output.CreatedTime * 1000))
19864
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19788
19865
  : undefined,
19789
19866
  Description: smithy_client_1.expectString(output.Description),
19790
19867
  Status: smithy_client_1.expectString(output.Status),
19791
- VersionNumber: smithy_client_1.expectInt(output.VersionNumber),
19868
+ VersionNumber: smithy_client_1.expectLong(output.VersionNumber),
19792
19869
  };
19793
19870
  };
19794
19871
  const deserializeAws_restJson1TemplateVersionSummaryList = (output, context) => {
@@ -19805,17 +19882,17 @@ const deserializeAws_restJson1TeradataParameters = (output, context) => {
19805
19882
  return {
19806
19883
  Database: smithy_client_1.expectString(output.Database),
19807
19884
  Host: smithy_client_1.expectString(output.Host),
19808
- Port: smithy_client_1.expectInt(output.Port),
19885
+ Port: smithy_client_1.expectInt32(output.Port),
19809
19886
  };
19810
19887
  };
19811
19888
  const deserializeAws_restJson1Theme = (output, context) => {
19812
19889
  return {
19813
19890
  Arn: smithy_client_1.expectString(output.Arn),
19814
19891
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19815
- ? new Date(Math.round(output.CreatedTime * 1000))
19892
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19816
19893
  : undefined,
19817
19894
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
19818
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
19895
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
19819
19896
  : undefined,
19820
19897
  Name: smithy_client_1.expectString(output.Name),
19821
19898
  ThemeId: smithy_client_1.expectString(output.ThemeId),
@@ -19829,7 +19906,7 @@ const deserializeAws_restJson1ThemeAlias = (output, context) => {
19829
19906
  return {
19830
19907
  AliasName: smithy_client_1.expectString(output.AliasName),
19831
19908
  Arn: smithy_client_1.expectString(output.Arn),
19832
- ThemeVersionNumber: smithy_client_1.expectInt(output.ThemeVersionNumber),
19909
+ ThemeVersionNumber: smithy_client_1.expectLong(output.ThemeVersionNumber),
19833
19910
  };
19834
19911
  };
19835
19912
  const deserializeAws_restJson1ThemeAliasList = (output, context) => {
@@ -19875,12 +19952,12 @@ const deserializeAws_restJson1ThemeSummary = (output, context) => {
19875
19952
  return {
19876
19953
  Arn: smithy_client_1.expectString(output.Arn),
19877
19954
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19878
- ? new Date(Math.round(output.CreatedTime * 1000))
19955
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19879
19956
  : undefined,
19880
19957
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
19881
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
19958
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
19882
19959
  : undefined,
19883
- LatestVersionNumber: smithy_client_1.expectInt(output.LatestVersionNumber),
19960
+ LatestVersionNumber: smithy_client_1.expectLong(output.LatestVersionNumber),
19884
19961
  Name: smithy_client_1.expectString(output.Name),
19885
19962
  ThemeId: smithy_client_1.expectString(output.ThemeId),
19886
19963
  };
@@ -19903,25 +19980,25 @@ const deserializeAws_restJson1ThemeVersion = (output, context) => {
19903
19980
  ? deserializeAws_restJson1ThemeConfiguration(output.Configuration, context)
19904
19981
  : undefined,
19905
19982
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19906
- ? new Date(Math.round(output.CreatedTime * 1000))
19983
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19907
19984
  : undefined,
19908
19985
  Description: smithy_client_1.expectString(output.Description),
19909
19986
  Errors: output.Errors !== undefined && output.Errors !== null
19910
19987
  ? deserializeAws_restJson1ThemeErrorList(output.Errors, context)
19911
19988
  : undefined,
19912
19989
  Status: smithy_client_1.expectString(output.Status),
19913
- VersionNumber: smithy_client_1.expectInt(output.VersionNumber),
19990
+ VersionNumber: smithy_client_1.expectLong(output.VersionNumber),
19914
19991
  };
19915
19992
  };
19916
19993
  const deserializeAws_restJson1ThemeVersionSummary = (output, context) => {
19917
19994
  return {
19918
19995
  Arn: smithy_client_1.expectString(output.Arn),
19919
19996
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
19920
- ? new Date(Math.round(output.CreatedTime * 1000))
19997
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
19921
19998
  : undefined,
19922
19999
  Description: smithy_client_1.expectString(output.Description),
19923
20000
  Status: smithy_client_1.expectString(output.Status),
19924
- VersionNumber: smithy_client_1.expectInt(output.VersionNumber),
20001
+ VersionNumber: smithy_client_1.expectLong(output.VersionNumber),
19925
20002
  };
19926
20003
  };
19927
20004
  const deserializeAws_restJson1ThemeVersionSummaryList = (output, context) => {
@@ -19982,6 +20059,11 @@ const deserializeAws_restJson1TransformOperation = (output, context) => {
19982
20059
  TagColumnOperation: deserializeAws_restJson1TagColumnOperation(output.TagColumnOperation, context),
19983
20060
  };
19984
20061
  }
20062
+ if (output.UntagColumnOperation !== undefined && output.UntagColumnOperation !== null) {
20063
+ return {
20064
+ UntagColumnOperation: deserializeAws_restJson1UntagColumnOperation(output.UntagColumnOperation, context),
20065
+ };
20066
+ }
19985
20067
  return { $unknown: Object.entries(output)[0] };
19986
20068
  };
19987
20069
  const deserializeAws_restJson1TransformOperationList = (output, context) => {
@@ -19991,12 +20073,12 @@ const deserializeAws_restJson1TransformOperationList = (output, context) => {
19991
20073
  if (entry === null) {
19992
20074
  return null;
19993
20075
  }
19994
- return deserializeAws_restJson1TransformOperation(entry, context);
20076
+ return deserializeAws_restJson1TransformOperation(smithy_client_1.expectUnion(entry), context);
19995
20077
  });
19996
20078
  };
19997
20079
  const deserializeAws_restJson1TwitterParameters = (output, context) => {
19998
20080
  return {
19999
- MaxRows: smithy_client_1.expectInt(output.MaxRows),
20081
+ MaxRows: smithy_client_1.expectInt32(output.MaxRows),
20000
20082
  Query: smithy_client_1.expectString(output.Query),
20001
20083
  };
20002
20084
  };
@@ -20020,12 +20102,20 @@ const deserializeAws_restJson1UIColorPalette = (output, context) => {
20020
20102
  WarningForeground: smithy_client_1.expectString(output.WarningForeground),
20021
20103
  };
20022
20104
  };
20105
+ const deserializeAws_restJson1UntagColumnOperation = (output, context) => {
20106
+ return {
20107
+ ColumnName: smithy_client_1.expectString(output.ColumnName),
20108
+ TagNames: output.TagNames !== undefined && output.TagNames !== null
20109
+ ? deserializeAws_restJson1ColumnTagNames(output.TagNames, context)
20110
+ : undefined,
20111
+ };
20112
+ };
20023
20113
  const deserializeAws_restJson1UploadSettings = (output, context) => {
20024
20114
  return {
20025
20115
  ContainsHeader: smithy_client_1.expectBoolean(output.ContainsHeader),
20026
20116
  Delimiter: smithy_client_1.expectString(output.Delimiter),
20027
20117
  Format: smithy_client_1.expectString(output.Format),
20028
- StartFromRow: smithy_client_1.expectInt(output.StartFromRow),
20118
+ StartFromRow: smithy_client_1.expectInt32(output.StartFromRow),
20029
20119
  TextQualifier: smithy_client_1.expectString(output.TextQualifier),
20030
20120
  };
20031
20121
  };