@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
@@ -253,6 +253,7 @@ import {
253
253
  ActiveIAMPolicyAssignment,
254
254
  AdHocFilteringOption,
255
255
  AmazonElasticsearchParameters,
256
+ AmazonOpenSearchParameters,
256
257
  Analysis,
257
258
  AnalysisError,
258
259
  AnalysisSearchFilter,
@@ -275,6 +276,7 @@ import {
275
276
  ColumnLevelPermissionRule,
276
277
  ColumnSchema,
277
278
  ColumnTag,
279
+ ColumnTagName,
278
280
  ConcurrentUpdatingException,
279
281
  ConflictException,
280
282
  CreateColumnsOperation,
@@ -295,6 +297,7 @@ import {
295
297
  DataSetReference,
296
298
  DataSetSchema,
297
299
  DataSetSummary,
300
+ DataSetUsageConfiguration,
298
301
  DataSource,
299
302
  DataSourceCredentials,
300
303
  DataSourceErrorInfo,
@@ -308,8 +311,6 @@ import {
308
311
  FilterOperation,
309
312
  Folder,
310
313
  FolderMember,
311
- FolderSearchFilter,
312
- FolderSummary,
313
314
  GeoSpatialColumnGroup,
314
315
  Group,
315
316
  GroupMember,
@@ -330,7 +331,6 @@ import {
330
331
  ManifestFileLocation,
331
332
  MarginStyle,
332
333
  MariaDbParameters,
333
- MemberIdArnPair,
334
334
  MySqlParameters,
335
335
  NamespaceError,
336
336
  NamespaceInfoV2,
@@ -387,14 +387,18 @@ import {
387
387
  TwitterParameters,
388
388
  UIColorPalette,
389
389
  UnsupportedUserEditionException,
390
+ UntagColumnOperation,
390
391
  UploadSettings,
391
392
  User,
392
393
  VpcConnectionProperties,
393
394
  _Parameters,
394
395
  } from "../models/models_0";
395
396
  import {
397
+ FolderSearchFilter,
398
+ FolderSummary,
396
399
  IAMPolicyAssignmentSummary,
397
400
  IdentityTypeNotSupportedException,
401
+ MemberIdArnPair,
398
402
  QuickSightUserNotFoundException,
399
403
  RegisteredUserDashboardEmbeddingConfiguration,
400
404
  RegisteredUserEmbeddingExperienceConfiguration,
@@ -410,9 +414,15 @@ import {
410
414
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
411
415
  import {
412
416
  expectBoolean as __expectBoolean,
413
- expectInt as __expectInt,
417
+ expectInt32 as __expectInt32,
418
+ expectLong as __expectLong,
419
+ expectNonNull as __expectNonNull,
420
+ expectNumber as __expectNumber,
421
+ expectObject as __expectObject,
414
422
  expectString as __expectString,
423
+ expectUnion as __expectUnion,
415
424
  extendedEncodeURIComponent as __extendedEncodeURIComponent,
425
+ parseEpochTimestamp as __parseEpochTimestamp,
416
426
  serializeFloat as __serializeFloat,
417
427
  } from "@aws-sdk/smithy-client";
418
428
  import {
@@ -667,6 +677,13 @@ export const serializeAws_restJson1CreateDataSetCommand = async (
667
677
  ),
668
678
  }),
669
679
  ...(input.DataSetId !== undefined && input.DataSetId !== null && { DataSetId: input.DataSetId }),
680
+ ...(input.DataSetUsageConfiguration !== undefined &&
681
+ input.DataSetUsageConfiguration !== null && {
682
+ DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(
683
+ input.DataSetUsageConfiguration,
684
+ context
685
+ ),
686
+ }),
670
687
  ...(input.FieldFolders !== undefined &&
671
688
  input.FieldFolders !== null && {
672
689
  FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
@@ -4844,6 +4861,13 @@ export const serializeAws_restJson1UpdateDataSetCommand = async (
4844
4861
  context
4845
4862
  ),
4846
4863
  }),
4864
+ ...(input.DataSetUsageConfiguration !== undefined &&
4865
+ input.DataSetUsageConfiguration !== null && {
4866
+ DataSetUsageConfiguration: serializeAws_restJson1DataSetUsageConfiguration(
4867
+ input.DataSetUsageConfiguration,
4868
+ context
4869
+ ),
4870
+ }),
4847
4871
  ...(input.FieldFolders !== undefined &&
4848
4872
  input.FieldFolders !== null && {
4849
4873
  FieldFolders: serializeAws_restJson1FieldFolderMap(input.FieldFolders, context),
@@ -5641,7 +5665,7 @@ export const deserializeAws_restJson1CancelIngestionCommand = async (
5641
5665
  RequestId: undefined,
5642
5666
  Status: undefined,
5643
5667
  };
5644
- const data: any = await parseBody(output.body, context);
5668
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5645
5669
  if (data.Arn !== undefined && data.Arn !== null) {
5646
5670
  contents.Arn = __expectString(data.Arn);
5647
5671
  }
@@ -5750,7 +5774,7 @@ export const deserializeAws_restJson1CreateAccountCustomizationCommand = async (
5750
5774
  RequestId: undefined,
5751
5775
  Status: undefined,
5752
5776
  };
5753
- const data: any = await parseBody(output.body, context);
5777
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5754
5778
  if (data.AccountCustomization !== undefined && data.AccountCustomization !== null) {
5755
5779
  contents.AccountCustomization = deserializeAws_restJson1AccountCustomization(data.AccountCustomization, context);
5756
5780
  }
@@ -5872,7 +5896,7 @@ export const deserializeAws_restJson1CreateAnalysisCommand = async (
5872
5896
  RequestId: undefined,
5873
5897
  Status: undefined,
5874
5898
  };
5875
- const data: any = await parseBody(output.body, context);
5899
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5876
5900
  if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
5877
5901
  contents.AnalysisId = __expectString(data.AnalysisId);
5878
5902
  }
@@ -5992,7 +6016,7 @@ export const deserializeAws_restJson1CreateDashboardCommand = async (
5992
6016
  Status: undefined,
5993
6017
  VersionArn: undefined,
5994
6018
  };
5995
- const data: any = await parseBody(output.body, context);
6019
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
5996
6020
  if (data.Arn !== undefined && data.Arn !== null) {
5997
6021
  contents.Arn = __expectString(data.Arn);
5998
6022
  }
@@ -6115,7 +6139,7 @@ export const deserializeAws_restJson1CreateDataSetCommand = async (
6115
6139
  RequestId: undefined,
6116
6140
  Status: undefined,
6117
6141
  };
6118
- const data: any = await parseBody(output.body, context);
6142
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6119
6143
  if (data.Arn !== undefined && data.Arn !== null) {
6120
6144
  contents.Arn = __expectString(data.Arn);
6121
6145
  }
@@ -6253,7 +6277,7 @@ export const deserializeAws_restJson1CreateDataSourceCommand = async (
6253
6277
  RequestId: undefined,
6254
6278
  Status: undefined,
6255
6279
  };
6256
- const data: any = await parseBody(output.body, context);
6280
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6257
6281
  if (data.Arn !== undefined && data.Arn !== null) {
6258
6282
  contents.Arn = __expectString(data.Arn);
6259
6283
  }
@@ -6379,7 +6403,7 @@ export const deserializeAws_restJson1CreateFolderCommand = async (
6379
6403
  RequestId: undefined,
6380
6404
  Status: undefined,
6381
6405
  };
6382
- const data: any = await parseBody(output.body, context);
6406
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6383
6407
  if (data.Arn !== undefined && data.Arn !== null) {
6384
6408
  contents.Arn = __expectString(data.Arn);
6385
6409
  }
@@ -6509,7 +6533,7 @@ export const deserializeAws_restJson1CreateFolderMembershipCommand = async (
6509
6533
  RequestId: undefined,
6510
6534
  Status: undefined,
6511
6535
  };
6512
- const data: any = await parseBody(output.body, context);
6536
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6513
6537
  if (data.FolderMember !== undefined && data.FolderMember !== null) {
6514
6538
  contents.FolderMember = deserializeAws_restJson1FolderMember(data.FolderMember, context);
6515
6539
  }
@@ -6517,7 +6541,7 @@ export const deserializeAws_restJson1CreateFolderMembershipCommand = async (
6517
6541
  contents.RequestId = __expectString(data.RequestId);
6518
6542
  }
6519
6543
  if (data.Status !== undefined && data.Status !== null) {
6520
- contents.Status = __expectInt(data.Status);
6544
+ contents.Status = __expectInt32(data.Status);
6521
6545
  }
6522
6546
  return Promise.resolve(contents);
6523
6547
  };
@@ -6628,7 +6652,7 @@ export const deserializeAws_restJson1CreateGroupCommand = async (
6628
6652
  RequestId: undefined,
6629
6653
  Status: undefined,
6630
6654
  };
6631
- const data: any = await parseBody(output.body, context);
6655
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6632
6656
  if (data.Group !== undefined && data.Group !== null) {
6633
6657
  contents.Group = deserializeAws_restJson1Group(data.Group, context);
6634
6658
  }
@@ -6755,7 +6779,7 @@ export const deserializeAws_restJson1CreateGroupMembershipCommand = async (
6755
6779
  RequestId: undefined,
6756
6780
  Status: undefined,
6757
6781
  };
6758
- const data: any = await parseBody(output.body, context);
6782
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6759
6783
  if (data.GroupMember !== undefined && data.GroupMember !== null) {
6760
6784
  contents.GroupMember = deserializeAws_restJson1GroupMember(data.GroupMember, context);
6761
6785
  }
@@ -6870,7 +6894,7 @@ export const deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = async (
6870
6894
  RequestId: undefined,
6871
6895
  Status: undefined,
6872
6896
  };
6873
- const data: any = await parseBody(output.body, context);
6897
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6874
6898
  if (data.AssignmentId !== undefined && data.AssignmentId !== null) {
6875
6899
  contents.AssignmentId = __expectString(data.AssignmentId);
6876
6900
  }
@@ -6995,7 +7019,7 @@ export const deserializeAws_restJson1CreateIngestionCommand = async (
6995
7019
  RequestId: undefined,
6996
7020
  Status: undefined,
6997
7021
  };
6998
- const data: any = await parseBody(output.body, context);
7022
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
6999
7023
  if (data.Arn !== undefined && data.Arn !== null) {
7000
7024
  contents.Arn = __expectString(data.Arn);
7001
7025
  }
@@ -7116,7 +7140,7 @@ export const deserializeAws_restJson1CreateNamespaceCommand = async (
7116
7140
  RequestId: undefined,
7117
7141
  Status: undefined,
7118
7142
  };
7119
- const data: any = await parseBody(output.body, context);
7143
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7120
7144
  if (data.Arn !== undefined && data.Arn !== null) {
7121
7145
  contents.Arn = __expectString(data.Arn);
7122
7146
  }
@@ -7266,7 +7290,7 @@ export const deserializeAws_restJson1CreateTemplateCommand = async (
7266
7290
  TemplateId: undefined,
7267
7291
  VersionArn: undefined,
7268
7292
  };
7269
- const data: any = await parseBody(output.body, context);
7293
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7270
7294
  if (data.Arn !== undefined && data.Arn !== null) {
7271
7295
  contents.Arn = __expectString(data.Arn);
7272
7296
  }
@@ -7402,7 +7426,7 @@ export const deserializeAws_restJson1CreateTemplateAliasCommand = async (
7402
7426
  Status: undefined,
7403
7427
  TemplateAlias: undefined,
7404
7428
  };
7405
- const data: any = await parseBody(output.body, context);
7429
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7406
7430
  if (data.RequestId !== undefined && data.RequestId !== null) {
7407
7431
  contents.RequestId = __expectString(data.RequestId);
7408
7432
  }
@@ -7516,7 +7540,7 @@ export const deserializeAws_restJson1CreateThemeCommand = async (
7516
7540
  ThemeId: undefined,
7517
7541
  VersionArn: undefined,
7518
7542
  };
7519
- const data: any = await parseBody(output.body, context);
7543
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7520
7544
  if (data.Arn !== undefined && data.Arn !== null) {
7521
7545
  contents.Arn = __expectString(data.Arn);
7522
7546
  }
@@ -7644,7 +7668,7 @@ export const deserializeAws_restJson1CreateThemeAliasCommand = async (
7644
7668
  Status: undefined,
7645
7669
  ThemeAlias: undefined,
7646
7670
  };
7647
- const data: any = await parseBody(output.body, context);
7671
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7648
7672
  if (data.RequestId !== undefined && data.RequestId !== null) {
7649
7673
  contents.RequestId = __expectString(data.RequestId);
7650
7674
  }
@@ -7762,7 +7786,7 @@ export const deserializeAws_restJson1DeleteAccountCustomizationCommand = async (
7762
7786
  RequestId: undefined,
7763
7787
  Status: undefined,
7764
7788
  };
7765
- const data: any = await parseBody(output.body, context);
7789
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7766
7790
  if (data.RequestId !== undefined && data.RequestId !== null) {
7767
7791
  contents.RequestId = __expectString(data.RequestId);
7768
7792
  }
@@ -7864,7 +7888,7 @@ export const deserializeAws_restJson1DeleteAnalysisCommand = async (
7864
7888
  RequestId: undefined,
7865
7889
  Status: undefined,
7866
7890
  };
7867
- const data: any = await parseBody(output.body, context);
7891
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7868
7892
  if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
7869
7893
  contents.AnalysisId = __expectString(data.AnalysisId);
7870
7894
  }
@@ -7872,7 +7896,7 @@ export const deserializeAws_restJson1DeleteAnalysisCommand = async (
7872
7896
  contents.Arn = __expectString(data.Arn);
7873
7897
  }
7874
7898
  if (data.DeletionTime !== undefined && data.DeletionTime !== null) {
7875
- contents.DeletionTime = new Date(Math.round(data.DeletionTime * 1000));
7899
+ contents.DeletionTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.DeletionTime)));
7876
7900
  }
7877
7901
  if (data.RequestId !== undefined && data.RequestId !== null) {
7878
7902
  contents.RequestId = __expectString(data.RequestId);
@@ -7974,7 +7998,7 @@ export const deserializeAws_restJson1DeleteDashboardCommand = async (
7974
7998
  RequestId: undefined,
7975
7999
  Status: undefined,
7976
8000
  };
7977
- const data: any = await parseBody(output.body, context);
8001
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
7978
8002
  if (data.Arn !== undefined && data.Arn !== null) {
7979
8003
  contents.Arn = __expectString(data.Arn);
7980
8004
  }
@@ -8081,7 +8105,7 @@ export const deserializeAws_restJson1DeleteDataSetCommand = async (
8081
8105
  RequestId: undefined,
8082
8106
  Status: undefined,
8083
8107
  };
8084
- const data: any = await parseBody(output.body, context);
8108
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8085
8109
  if (data.Arn !== undefined && data.Arn !== null) {
8086
8110
  contents.Arn = __expectString(data.Arn);
8087
8111
  }
@@ -8180,7 +8204,7 @@ export const deserializeAws_restJson1DeleteDataSourceCommand = async (
8180
8204
  RequestId: undefined,
8181
8205
  Status: undefined,
8182
8206
  };
8183
- const data: any = await parseBody(output.body, context);
8207
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8184
8208
  if (data.Arn !== undefined && data.Arn !== null) {
8185
8209
  contents.Arn = __expectString(data.Arn);
8186
8210
  }
@@ -8279,7 +8303,7 @@ export const deserializeAws_restJson1DeleteFolderCommand = async (
8279
8303
  RequestId: undefined,
8280
8304
  Status: undefined,
8281
8305
  };
8282
- const data: any = await parseBody(output.body, context);
8306
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8283
8307
  if (data.Arn !== undefined && data.Arn !== null) {
8284
8308
  contents.Arn = __expectString(data.Arn);
8285
8309
  }
@@ -8400,12 +8424,12 @@ export const deserializeAws_restJson1DeleteFolderMembershipCommand = async (
8400
8424
  RequestId: undefined,
8401
8425
  Status: undefined,
8402
8426
  };
8403
- const data: any = await parseBody(output.body, context);
8427
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8404
8428
  if (data.RequestId !== undefined && data.RequestId !== null) {
8405
8429
  contents.RequestId = __expectString(data.RequestId);
8406
8430
  }
8407
8431
  if (data.Status !== undefined && data.Status !== null) {
8408
- contents.Status = __expectInt(data.Status);
8432
+ contents.Status = __expectInt32(data.Status);
8409
8433
  }
8410
8434
  return Promise.resolve(contents);
8411
8435
  };
@@ -8499,7 +8523,7 @@ export const deserializeAws_restJson1DeleteGroupCommand = async (
8499
8523
  RequestId: undefined,
8500
8524
  Status: undefined,
8501
8525
  };
8502
- const data: any = await parseBody(output.body, context);
8526
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8503
8527
  if (data.RequestId !== undefined && data.RequestId !== null) {
8504
8528
  contents.RequestId = __expectString(data.RequestId);
8505
8529
  }
@@ -8606,7 +8630,7 @@ export const deserializeAws_restJson1DeleteGroupMembershipCommand = async (
8606
8630
  RequestId: undefined,
8607
8631
  Status: undefined,
8608
8632
  };
8609
- const data: any = await parseBody(output.body, context);
8633
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8610
8634
  if (data.RequestId !== undefined && data.RequestId !== null) {
8611
8635
  contents.RequestId = __expectString(data.RequestId);
8612
8636
  }
@@ -8714,7 +8738,7 @@ export const deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = async (
8714
8738
  RequestId: undefined,
8715
8739
  Status: undefined,
8716
8740
  };
8717
- const data: any = await parseBody(output.body, context);
8741
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8718
8742
  if (data.AssignmentName !== undefined && data.AssignmentName !== null) {
8719
8743
  contents.AssignmentName = __expectString(data.AssignmentName);
8720
8744
  }
@@ -8824,7 +8848,7 @@ export const deserializeAws_restJson1DeleteNamespaceCommand = async (
8824
8848
  RequestId: undefined,
8825
8849
  Status: undefined,
8826
8850
  };
8827
- const data: any = await parseBody(output.body, context);
8851
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8828
8852
  if (data.RequestId !== undefined && data.RequestId !== null) {
8829
8853
  contents.RequestId = __expectString(data.RequestId);
8830
8854
  }
@@ -8933,7 +8957,7 @@ export const deserializeAws_restJson1DeleteTemplateCommand = async (
8933
8957
  Status: undefined,
8934
8958
  TemplateId: undefined,
8935
8959
  };
8936
- const data: any = await parseBody(output.body, context);
8960
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
8937
8961
  if (data.Arn !== undefined && data.Arn !== null) {
8938
8962
  contents.Arn = __expectString(data.Arn);
8939
8963
  }
@@ -9049,7 +9073,7 @@ export const deserializeAws_restJson1DeleteTemplateAliasCommand = async (
9049
9073
  Status: undefined,
9050
9074
  TemplateId: undefined,
9051
9075
  };
9052
- const data: any = await parseBody(output.body, context);
9076
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9053
9077
  if (data.AliasName !== undefined && data.AliasName !== null) {
9054
9078
  contents.AliasName = __expectString(data.AliasName);
9055
9079
  }
@@ -9151,7 +9175,7 @@ export const deserializeAws_restJson1DeleteThemeCommand = async (
9151
9175
  Status: undefined,
9152
9176
  ThemeId: undefined,
9153
9177
  };
9154
- const data: any = await parseBody(output.body, context);
9178
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9155
9179
  if (data.Arn !== undefined && data.Arn !== null) {
9156
9180
  contents.Arn = __expectString(data.Arn);
9157
9181
  }
@@ -9267,7 +9291,7 @@ export const deserializeAws_restJson1DeleteThemeAliasCommand = async (
9267
9291
  Status: undefined,
9268
9292
  ThemeId: undefined,
9269
9293
  };
9270
- const data: any = await parseBody(output.body, context);
9294
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9271
9295
  if (data.AliasName !== undefined && data.AliasName !== null) {
9272
9296
  contents.AliasName = __expectString(data.AliasName);
9273
9297
  }
@@ -9375,7 +9399,7 @@ export const deserializeAws_restJson1DeleteUserCommand = async (
9375
9399
  RequestId: undefined,
9376
9400
  Status: undefined,
9377
9401
  };
9378
- const data: any = await parseBody(output.body, context);
9402
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9379
9403
  if (data.RequestId !== undefined && data.RequestId !== null) {
9380
9404
  contents.RequestId = __expectString(data.RequestId);
9381
9405
  }
@@ -9482,7 +9506,7 @@ export const deserializeAws_restJson1DeleteUserByPrincipalIdCommand = async (
9482
9506
  RequestId: undefined,
9483
9507
  Status: undefined,
9484
9508
  };
9485
- const data: any = await parseBody(output.body, context);
9509
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9486
9510
  if (data.RequestId !== undefined && data.RequestId !== null) {
9487
9511
  contents.RequestId = __expectString(data.RequestId);
9488
9512
  }
@@ -9593,7 +9617,7 @@ export const deserializeAws_restJson1DescribeAccountCustomizationCommand = async
9593
9617
  RequestId: undefined,
9594
9618
  Status: undefined,
9595
9619
  };
9596
- const data: any = await parseBody(output.body, context);
9620
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9597
9621
  if (data.AccountCustomization !== undefined && data.AccountCustomization !== null) {
9598
9622
  contents.AccountCustomization = deserializeAws_restJson1AccountCustomization(data.AccountCustomization, context);
9599
9623
  }
@@ -9705,7 +9729,7 @@ export const deserializeAws_restJson1DescribeAccountSettingsCommand = async (
9705
9729
  RequestId: undefined,
9706
9730
  Status: undefined,
9707
9731
  };
9708
- const data: any = await parseBody(output.body, context);
9732
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9709
9733
  if (data.AccountSettings !== undefined && data.AccountSettings !== null) {
9710
9734
  contents.AccountSettings = deserializeAws_restJson1AccountSettings(data.AccountSettings, context);
9711
9735
  }
@@ -9808,7 +9832,7 @@ export const deserializeAws_restJson1DescribeAnalysisCommand = async (
9808
9832
  RequestId: undefined,
9809
9833
  Status: undefined,
9810
9834
  };
9811
- const data: any = await parseBody(output.body, context);
9835
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9812
9836
  if (data.Analysis !== undefined && data.Analysis !== null) {
9813
9837
  contents.Analysis = deserializeAws_restJson1Analysis(data.Analysis, context);
9814
9838
  }
@@ -9913,7 +9937,7 @@ export const deserializeAws_restJson1DescribeAnalysisPermissionsCommand = async
9913
9937
  RequestId: undefined,
9914
9938
  Status: undefined,
9915
9939
  };
9916
- const data: any = await parseBody(output.body, context);
9940
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
9917
9941
  if (data.AnalysisArn !== undefined && data.AnalysisArn !== null) {
9918
9942
  contents.AnalysisArn = __expectString(data.AnalysisArn);
9919
9943
  }
@@ -10014,7 +10038,7 @@ export const deserializeAws_restJson1DescribeDashboardCommand = async (
10014
10038
  RequestId: undefined,
10015
10039
  Status: undefined,
10016
10040
  };
10017
- const data: any = await parseBody(output.body, context);
10041
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10018
10042
  if (data.Dashboard !== undefined && data.Dashboard !== null) {
10019
10043
  contents.Dashboard = deserializeAws_restJson1Dashboard(data.Dashboard, context);
10020
10044
  }
@@ -10119,7 +10143,7 @@ export const deserializeAws_restJson1DescribeDashboardPermissionsCommand = async
10119
10143
  RequestId: undefined,
10120
10144
  Status: undefined,
10121
10145
  };
10122
- const data: any = await parseBody(output.body, context);
10146
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10123
10147
  if (data.DashboardArn !== undefined && data.DashboardArn !== null) {
10124
10148
  contents.DashboardArn = __expectString(data.DashboardArn);
10125
10149
  }
@@ -10220,7 +10244,7 @@ export const deserializeAws_restJson1DescribeDataSetCommand = async (
10220
10244
  RequestId: undefined,
10221
10245
  Status: undefined,
10222
10246
  };
10223
- const data: any = await parseBody(output.body, context);
10247
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10224
10248
  if (data.DataSet !== undefined && data.DataSet !== null) {
10225
10249
  contents.DataSet = deserializeAws_restJson1DataSet(data.DataSet, context);
10226
10250
  }
@@ -10317,7 +10341,7 @@ export const deserializeAws_restJson1DescribeDataSetPermissionsCommand = async (
10317
10341
  RequestId: undefined,
10318
10342
  Status: undefined,
10319
10343
  };
10320
- const data: any = await parseBody(output.body, context);
10344
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10321
10345
  if (data.DataSetArn !== undefined && data.DataSetArn !== null) {
10322
10346
  contents.DataSetArn = __expectString(data.DataSetArn);
10323
10347
  }
@@ -10418,7 +10442,7 @@ export const deserializeAws_restJson1DescribeDataSourceCommand = async (
10418
10442
  RequestId: undefined,
10419
10443
  Status: undefined,
10420
10444
  };
10421
- const data: any = await parseBody(output.body, context);
10445
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10422
10446
  if (data.DataSource !== undefined && data.DataSource !== null) {
10423
10447
  contents.DataSource = deserializeAws_restJson1DataSource(data.DataSource, context);
10424
10448
  }
@@ -10515,7 +10539,7 @@ export const deserializeAws_restJson1DescribeDataSourcePermissionsCommand = asyn
10515
10539
  RequestId: undefined,
10516
10540
  Status: undefined,
10517
10541
  };
10518
- const data: any = await parseBody(output.body, context);
10542
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10519
10543
  if (data.DataSourceArn !== undefined && data.DataSourceArn !== null) {
10520
10544
  contents.DataSourceArn = __expectString(data.DataSourceArn);
10521
10545
  }
@@ -10616,7 +10640,7 @@ export const deserializeAws_restJson1DescribeFolderCommand = async (
10616
10640
  RequestId: undefined,
10617
10641
  Status: undefined,
10618
10642
  };
10619
- const data: any = await parseBody(output.body, context);
10643
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10620
10644
  if (data.Folder !== undefined && data.Folder !== null) {
10621
10645
  contents.Folder = deserializeAws_restJson1Folder(data.Folder, context);
10622
10646
  }
@@ -10721,7 +10745,7 @@ export const deserializeAws_restJson1DescribeFolderPermissionsCommand = async (
10721
10745
  RequestId: undefined,
10722
10746
  Status: undefined,
10723
10747
  };
10724
- const data: any = await parseBody(output.body, context);
10748
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10725
10749
  if (data.Arn !== undefined && data.Arn !== null) {
10726
10750
  contents.Arn = __expectString(data.Arn);
10727
10751
  }
@@ -10832,7 +10856,7 @@ export const deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand =
10832
10856
  RequestId: undefined,
10833
10857
  Status: undefined,
10834
10858
  };
10835
- const data: any = await parseBody(output.body, context);
10859
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10836
10860
  if (data.Arn !== undefined && data.Arn !== null) {
10837
10861
  contents.Arn = __expectString(data.Arn);
10838
10862
  }
@@ -10941,7 +10965,7 @@ export const deserializeAws_restJson1DescribeGroupCommand = async (
10941
10965
  RequestId: undefined,
10942
10966
  Status: undefined,
10943
10967
  };
10944
- const data: any = await parseBody(output.body, context);
10968
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
10945
10969
  if (data.Group !== undefined && data.Group !== null) {
10946
10970
  contents.Group = deserializeAws_restJson1Group(data.Group, context);
10947
10971
  }
@@ -11052,7 +11076,7 @@ export const deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = async
11052
11076
  RequestId: undefined,
11053
11077
  Status: undefined,
11054
11078
  };
11055
- const data: any = await parseBody(output.body, context);
11079
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11056
11080
  if (data.IAMPolicyAssignment !== undefined && data.IAMPolicyAssignment !== null) {
11057
11081
  contents.IAMPolicyAssignment = deserializeAws_restJson1IAMPolicyAssignment(data.IAMPolicyAssignment, context);
11058
11082
  }
@@ -11155,7 +11179,7 @@ export const deserializeAws_restJson1DescribeIngestionCommand = async (
11155
11179
  RequestId: undefined,
11156
11180
  Status: undefined,
11157
11181
  };
11158
- const data: any = await parseBody(output.body, context);
11182
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11159
11183
  if (data.Ingestion !== undefined && data.Ingestion !== null) {
11160
11184
  contents.Ingestion = deserializeAws_restJson1Ingestion(data.Ingestion, context);
11161
11185
  }
@@ -11258,7 +11282,7 @@ export const deserializeAws_restJson1DescribeNamespaceCommand = async (
11258
11282
  RequestId: undefined,
11259
11283
  Status: undefined,
11260
11284
  };
11261
- const data: any = await parseBody(output.body, context);
11285
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11262
11286
  if (data.Namespace !== undefined && data.Namespace !== null) {
11263
11287
  contents.Namespace = deserializeAws_restJson1NamespaceInfoV2(data.Namespace, context);
11264
11288
  }
@@ -11361,7 +11385,7 @@ export const deserializeAws_restJson1DescribeTemplateCommand = async (
11361
11385
  Status: undefined,
11362
11386
  Template: undefined,
11363
11387
  };
11364
- const data: any = await parseBody(output.body, context);
11388
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11365
11389
  if (data.RequestId !== undefined && data.RequestId !== null) {
11366
11390
  contents.RequestId = __expectString(data.RequestId);
11367
11391
  }
@@ -11480,7 +11504,7 @@ export const deserializeAws_restJson1DescribeTemplateAliasCommand = async (
11480
11504
  Status: undefined,
11481
11505
  TemplateAlias: undefined,
11482
11506
  };
11483
- const data: any = await parseBody(output.body, context);
11507
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11484
11508
  if (data.RequestId !== undefined && data.RequestId !== null) {
11485
11509
  contents.RequestId = __expectString(data.RequestId);
11486
11510
  }
@@ -11569,7 +11593,7 @@ export const deserializeAws_restJson1DescribeTemplatePermissionsCommand = async
11569
11593
  TemplateArn: undefined,
11570
11594
  TemplateId: undefined,
11571
11595
  };
11572
- const data: any = await parseBody(output.body, context);
11596
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11573
11597
  if (data.Permissions !== undefined && data.Permissions !== null) {
11574
11598
  contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
11575
11599
  }
@@ -11678,7 +11702,7 @@ export const deserializeAws_restJson1DescribeThemeCommand = async (
11678
11702
  Status: undefined,
11679
11703
  Theme: undefined,
11680
11704
  };
11681
- const data: any = await parseBody(output.body, context);
11705
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11682
11706
  if (data.RequestId !== undefined && data.RequestId !== null) {
11683
11707
  contents.RequestId = __expectString(data.RequestId);
11684
11708
  }
@@ -11789,7 +11813,7 @@ export const deserializeAws_restJson1DescribeThemeAliasCommand = async (
11789
11813
  Status: undefined,
11790
11814
  ThemeAlias: undefined,
11791
11815
  };
11792
- const data: any = await parseBody(output.body, context);
11816
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11793
11817
  if (data.RequestId !== undefined && data.RequestId !== null) {
11794
11818
  contents.RequestId = __expectString(data.RequestId);
11795
11819
  }
@@ -11894,7 +11918,7 @@ export const deserializeAws_restJson1DescribeThemePermissionsCommand = async (
11894
11918
  ThemeArn: undefined,
11895
11919
  ThemeId: undefined,
11896
11920
  };
11897
- const data: any = await parseBody(output.body, context);
11921
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
11898
11922
  if (data.Permissions !== undefined && data.Permissions !== null) {
11899
11923
  contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
11900
11924
  }
@@ -12003,7 +12027,7 @@ export const deserializeAws_restJson1DescribeUserCommand = async (
12003
12027
  Status: undefined,
12004
12028
  User: undefined,
12005
12029
  };
12006
- const data: any = await parseBody(output.body, context);
12030
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
12007
12031
  if (data.RequestId !== undefined && data.RequestId !== null) {
12008
12032
  contents.RequestId = __expectString(data.RequestId);
12009
12033
  }
@@ -12114,7 +12138,7 @@ export const deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = a
12114
12138
  RequestId: undefined,
12115
12139
  Status: undefined,
12116
12140
  };
12117
- const data: any = await parseBody(output.body, context);
12141
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
12118
12142
  if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
12119
12143
  contents.EmbedUrl = __expectString(data.EmbedUrl);
12120
12144
  }
@@ -12233,7 +12257,7 @@ export const deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand =
12233
12257
  RequestId: undefined,
12234
12258
  Status: undefined,
12235
12259
  };
12236
- const data: any = await parseBody(output.body, context);
12260
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
12237
12261
  if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
12238
12262
  contents.EmbedUrl = __expectString(data.EmbedUrl);
12239
12263
  }
@@ -12360,7 +12384,7 @@ export const deserializeAws_restJson1GetDashboardEmbedUrlCommand = async (
12360
12384
  RequestId: undefined,
12361
12385
  Status: undefined,
12362
12386
  };
12363
- const data: any = await parseBody(output.body, context);
12387
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
12364
12388
  if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
12365
12389
  contents.EmbedUrl = __expectString(data.EmbedUrl);
12366
12390
  }
@@ -12511,7 +12535,7 @@ export const deserializeAws_restJson1GetSessionEmbedUrlCommand = async (
12511
12535
  RequestId: undefined,
12512
12536
  Status: undefined,
12513
12537
  };
12514
- const data: any = await parseBody(output.body, context);
12538
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
12515
12539
  if (data.EmbedUrl !== undefined && data.EmbedUrl !== null) {
12516
12540
  contents.EmbedUrl = __expectString(data.EmbedUrl);
12517
12541
  }
@@ -12639,7 +12663,7 @@ export const deserializeAws_restJson1ListAnalysesCommand = async (
12639
12663
  RequestId: undefined,
12640
12664
  Status: undefined,
12641
12665
  };
12642
- const data: any = await parseBody(output.body, context);
12666
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
12643
12667
  if (data.AnalysisSummaryList !== undefined && data.AnalysisSummaryList !== null) {
12644
12668
  contents.AnalysisSummaryList = deserializeAws_restJson1AnalysisSummaryList(data.AnalysisSummaryList, context);
12645
12669
  }
@@ -12730,7 +12754,7 @@ export const deserializeAws_restJson1ListDashboardsCommand = async (
12730
12754
  RequestId: undefined,
12731
12755
  Status: undefined,
12732
12756
  };
12733
- const data: any = await parseBody(output.body, context);
12757
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
12734
12758
  if (data.DashboardSummaryList !== undefined && data.DashboardSummaryList !== null) {
12735
12759
  contents.DashboardSummaryList = deserializeAws_restJson1DashboardSummaryList(data.DashboardSummaryList, context);
12736
12760
  }
@@ -12821,7 +12845,7 @@ export const deserializeAws_restJson1ListDashboardVersionsCommand = async (
12821
12845
  RequestId: undefined,
12822
12846
  Status: undefined,
12823
12847
  };
12824
- const data: any = await parseBody(output.body, context);
12848
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
12825
12849
  if (data.DashboardVersionSummaryList !== undefined && data.DashboardVersionSummaryList !== null) {
12826
12850
  contents.DashboardVersionSummaryList = deserializeAws_restJson1DashboardVersionSummaryList(
12827
12851
  data.DashboardVersionSummaryList,
@@ -12931,7 +12955,7 @@ export const deserializeAws_restJson1ListDataSetsCommand = async (
12931
12955
  RequestId: undefined,
12932
12956
  Status: undefined,
12933
12957
  };
12934
- const data: any = await parseBody(output.body, context);
12958
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
12935
12959
  if (data.DataSetSummaries !== undefined && data.DataSetSummaries !== null) {
12936
12960
  contents.DataSetSummaries = deserializeAws_restJson1DataSetSummaryList(data.DataSetSummaries, context);
12937
12961
  }
@@ -13030,7 +13054,7 @@ export const deserializeAws_restJson1ListDataSourcesCommand = async (
13030
13054
  RequestId: undefined,
13031
13055
  Status: undefined,
13032
13056
  };
13033
- const data: any = await parseBody(output.body, context);
13057
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
13034
13058
  if (data.DataSources !== undefined && data.DataSources !== null) {
13035
13059
  contents.DataSources = deserializeAws_restJson1DataSourceList(data.DataSources, context);
13036
13060
  }
@@ -13129,7 +13153,7 @@ export const deserializeAws_restJson1ListFolderMembersCommand = async (
13129
13153
  RequestId: undefined,
13130
13154
  Status: undefined,
13131
13155
  };
13132
- const data: any = await parseBody(output.body, context);
13156
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
13133
13157
  if (data.FolderMemberList !== undefined && data.FolderMemberList !== null) {
13134
13158
  contents.FolderMemberList = deserializeAws_restJson1FolderMemberList(data.FolderMemberList, context);
13135
13159
  }
@@ -13244,7 +13268,7 @@ export const deserializeAws_restJson1ListFoldersCommand = async (
13244
13268
  RequestId: undefined,
13245
13269
  Status: undefined,
13246
13270
  };
13247
- const data: any = await parseBody(output.body, context);
13271
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
13248
13272
  if (data.FolderSummaryList !== undefined && data.FolderSummaryList !== null) {
13249
13273
  contents.FolderSummaryList = deserializeAws_restJson1FolderSummaryList(data.FolderSummaryList, context);
13250
13274
  }
@@ -13359,7 +13383,7 @@ export const deserializeAws_restJson1ListGroupMembershipsCommand = async (
13359
13383
  RequestId: undefined,
13360
13384
  Status: undefined,
13361
13385
  };
13362
- const data: any = await parseBody(output.body, context);
13386
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
13363
13387
  if (data.GroupMemberList !== undefined && data.GroupMemberList !== null) {
13364
13388
  contents.GroupMemberList = deserializeAws_restJson1GroupMemberList(data.GroupMemberList, context);
13365
13389
  }
@@ -13482,7 +13506,7 @@ export const deserializeAws_restJson1ListGroupsCommand = async (
13482
13506
  RequestId: undefined,
13483
13507
  Status: undefined,
13484
13508
  };
13485
- const data: any = await parseBody(output.body, context);
13509
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
13486
13510
  if (data.GroupList !== undefined && data.GroupList !== null) {
13487
13511
  contents.GroupList = deserializeAws_restJson1GroupList(data.GroupList, context);
13488
13512
  }
@@ -13605,7 +13629,7 @@ export const deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = async (
13605
13629
  RequestId: undefined,
13606
13630
  Status: undefined,
13607
13631
  };
13608
- const data: any = await parseBody(output.body, context);
13632
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
13609
13633
  if (data.IAMPolicyAssignments !== undefined && data.IAMPolicyAssignments !== null) {
13610
13634
  contents.IAMPolicyAssignments = deserializeAws_restJson1IAMPolicyAssignmentSummaryList(
13611
13635
  data.IAMPolicyAssignments,
@@ -13715,7 +13739,7 @@ export const deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = as
13715
13739
  RequestId: undefined,
13716
13740
  Status: undefined,
13717
13741
  };
13718
- const data: any = await parseBody(output.body, context);
13742
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
13719
13743
  if (data.ActiveAssignments !== undefined && data.ActiveAssignments !== null) {
13720
13744
  contents.ActiveAssignments = deserializeAws_restJson1ActiveIAMPolicyAssignmentList(data.ActiveAssignments, context);
13721
13745
  }
@@ -13830,7 +13854,7 @@ export const deserializeAws_restJson1ListIngestionsCommand = async (
13830
13854
  RequestId: undefined,
13831
13855
  Status: undefined,
13832
13856
  };
13833
- const data: any = await parseBody(output.body, context);
13857
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
13834
13858
  if (data.Ingestions !== undefined && data.Ingestions !== null) {
13835
13859
  contents.Ingestions = deserializeAws_restJson1Ingestions(data.Ingestions, context);
13836
13860
  }
@@ -13945,7 +13969,7 @@ export const deserializeAws_restJson1ListNamespacesCommand = async (
13945
13969
  RequestId: undefined,
13946
13970
  Status: undefined,
13947
13971
  };
13948
- const data: any = await parseBody(output.body, context);
13972
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
13949
13973
  if (data.Namespaces !== undefined && data.Namespaces !== null) {
13950
13974
  contents.Namespaces = deserializeAws_restJson1Namespaces(data.Namespaces, context);
13951
13975
  }
@@ -14067,7 +14091,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
14067
14091
  Status: undefined,
14068
14092
  Tags: undefined,
14069
14093
  };
14070
- const data: any = await parseBody(output.body, context);
14094
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
14071
14095
  if (data.RequestId !== undefined && data.RequestId !== null) {
14072
14096
  contents.RequestId = __expectString(data.RequestId);
14073
14097
  }
@@ -14163,7 +14187,7 @@ export const deserializeAws_restJson1ListTemplateAliasesCommand = async (
14163
14187
  Status: undefined,
14164
14188
  TemplateAliasList: undefined,
14165
14189
  };
14166
- const data: any = await parseBody(output.body, context);
14190
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
14167
14191
  if (data.NextToken !== undefined && data.NextToken !== null) {
14168
14192
  contents.NextToken = __expectString(data.NextToken);
14169
14193
  }
@@ -14262,7 +14286,7 @@ export const deserializeAws_restJson1ListTemplatesCommand = async (
14262
14286
  Status: undefined,
14263
14287
  TemplateSummaryList: undefined,
14264
14288
  };
14265
- const data: any = await parseBody(output.body, context);
14289
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
14266
14290
  if (data.NextToken !== undefined && data.NextToken !== null) {
14267
14291
  contents.NextToken = __expectString(data.NextToken);
14268
14292
  }
@@ -14369,7 +14393,7 @@ export const deserializeAws_restJson1ListTemplateVersionsCommand = async (
14369
14393
  Status: undefined,
14370
14394
  TemplateVersionSummaryList: undefined,
14371
14395
  };
14372
- const data: any = await parseBody(output.body, context);
14396
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
14373
14397
  if (data.NextToken !== undefined && data.NextToken !== null) {
14374
14398
  contents.NextToken = __expectString(data.NextToken);
14375
14399
  }
@@ -14479,7 +14503,7 @@ export const deserializeAws_restJson1ListThemeAliasesCommand = async (
14479
14503
  Status: undefined,
14480
14504
  ThemeAliasList: undefined,
14481
14505
  };
14482
- const data: any = await parseBody(output.body, context);
14506
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
14483
14507
  if (data.NextToken !== undefined && data.NextToken !== null) {
14484
14508
  contents.NextToken = __expectString(data.NextToken);
14485
14509
  }
@@ -14594,7 +14618,7 @@ export const deserializeAws_restJson1ListThemesCommand = async (
14594
14618
  Status: undefined,
14595
14619
  ThemeSummaryList: undefined,
14596
14620
  };
14597
- const data: any = await parseBody(output.body, context);
14621
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
14598
14622
  if (data.NextToken !== undefined && data.NextToken !== null) {
14599
14623
  contents.NextToken = __expectString(data.NextToken);
14600
14624
  }
@@ -14709,7 +14733,7 @@ export const deserializeAws_restJson1ListThemeVersionsCommand = async (
14709
14733
  Status: undefined,
14710
14734
  ThemeVersionSummaryList: undefined,
14711
14735
  };
14712
- const data: any = await parseBody(output.body, context);
14736
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
14713
14737
  if (data.NextToken !== undefined && data.NextToken !== null) {
14714
14738
  contents.NextToken = __expectString(data.NextToken);
14715
14739
  }
@@ -14827,7 +14851,7 @@ export const deserializeAws_restJson1ListUserGroupsCommand = async (
14827
14851
  RequestId: undefined,
14828
14852
  Status: undefined,
14829
14853
  };
14830
- const data: any = await parseBody(output.body, context);
14854
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
14831
14855
  if (data.GroupList !== undefined && data.GroupList !== null) {
14832
14856
  contents.GroupList = deserializeAws_restJson1GroupList(data.GroupList, context);
14833
14857
  }
@@ -14942,7 +14966,7 @@ export const deserializeAws_restJson1ListUsersCommand = async (
14942
14966
  Status: undefined,
14943
14967
  UserList: undefined,
14944
14968
  };
14945
- const data: any = await parseBody(output.body, context);
14969
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
14946
14970
  if (data.NextToken !== undefined && data.NextToken !== null) {
14947
14971
  contents.NextToken = __expectString(data.NextToken);
14948
14972
  }
@@ -15065,7 +15089,7 @@ export const deserializeAws_restJson1RegisterUserCommand = async (
15065
15089
  User: undefined,
15066
15090
  UserInvitationUrl: undefined,
15067
15091
  };
15068
- const data: any = await parseBody(output.body, context);
15092
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
15069
15093
  if (data.RequestId !== undefined && data.RequestId !== null) {
15070
15094
  contents.RequestId = __expectString(data.RequestId);
15071
15095
  }
@@ -15196,7 +15220,7 @@ export const deserializeAws_restJson1RestoreAnalysisCommand = async (
15196
15220
  RequestId: undefined,
15197
15221
  Status: undefined,
15198
15222
  };
15199
- const data: any = await parseBody(output.body, context);
15223
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
15200
15224
  if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
15201
15225
  contents.AnalysisId = __expectString(data.AnalysisId);
15202
15226
  }
@@ -15303,7 +15327,7 @@ export const deserializeAws_restJson1SearchAnalysesCommand = async (
15303
15327
  RequestId: undefined,
15304
15328
  Status: undefined,
15305
15329
  };
15306
- const data: any = await parseBody(output.body, context);
15330
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
15307
15331
  if (data.AnalysisSummaryList !== undefined && data.AnalysisSummaryList !== null) {
15308
15332
  contents.AnalysisSummaryList = deserializeAws_restJson1AnalysisSummaryList(data.AnalysisSummaryList, context);
15309
15333
  }
@@ -15410,7 +15434,7 @@ export const deserializeAws_restJson1SearchDashboardsCommand = async (
15410
15434
  RequestId: undefined,
15411
15435
  Status: undefined,
15412
15436
  };
15413
- const data: any = await parseBody(output.body, context);
15437
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
15414
15438
  if (data.DashboardSummaryList !== undefined && data.DashboardSummaryList !== null) {
15415
15439
  contents.DashboardSummaryList = deserializeAws_restJson1DashboardSummaryList(data.DashboardSummaryList, context);
15416
15440
  }
@@ -15517,7 +15541,7 @@ export const deserializeAws_restJson1SearchFoldersCommand = async (
15517
15541
  RequestId: undefined,
15518
15542
  Status: undefined,
15519
15543
  };
15520
- const data: any = await parseBody(output.body, context);
15544
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
15521
15545
  if (data.FolderSummaryList !== undefined && data.FolderSummaryList !== null) {
15522
15546
  contents.FolderSummaryList = deserializeAws_restJson1FolderSummaryList(data.FolderSummaryList, context);
15523
15547
  }
@@ -15630,7 +15654,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (
15630
15654
  RequestId: undefined,
15631
15655
  Status: undefined,
15632
15656
  };
15633
- const data: any = await parseBody(output.body, context);
15657
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
15634
15658
  if (data.RequestId !== undefined && data.RequestId !== null) {
15635
15659
  contents.RequestId = __expectString(data.RequestId);
15636
15660
  }
@@ -15729,7 +15753,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (
15729
15753
  RequestId: undefined,
15730
15754
  Status: undefined,
15731
15755
  };
15732
- const data: any = await parseBody(output.body, context);
15756
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
15733
15757
  if (data.RequestId !== undefined && data.RequestId !== null) {
15734
15758
  contents.RequestId = __expectString(data.RequestId);
15735
15759
  }
@@ -15824,7 +15848,7 @@ export const deserializeAws_restJson1UpdateAccountCustomizationCommand = async (
15824
15848
  RequestId: undefined,
15825
15849
  Status: undefined,
15826
15850
  };
15827
- const data: any = await parseBody(output.body, context);
15851
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
15828
15852
  if (data.AccountCustomization !== undefined && data.AccountCustomization !== null) {
15829
15853
  contents.AccountCustomization = deserializeAws_restJson1AccountCustomization(data.AccountCustomization, context);
15830
15854
  }
@@ -15935,7 +15959,7 @@ export const deserializeAws_restJson1UpdateAccountSettingsCommand = async (
15935
15959
  RequestId: undefined,
15936
15960
  Status: undefined,
15937
15961
  };
15938
- const data: any = await parseBody(output.body, context);
15962
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
15939
15963
  if (data.RequestId !== undefined && data.RequestId !== null) {
15940
15964
  contents.RequestId = __expectString(data.RequestId);
15941
15965
  }
@@ -16037,7 +16061,7 @@ export const deserializeAws_restJson1UpdateAnalysisCommand = async (
16037
16061
  Status: undefined,
16038
16062
  UpdateStatus: undefined,
16039
16063
  };
16040
- const data: any = await parseBody(output.body, context);
16064
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
16041
16065
  if (data.AnalysisId !== undefined && data.AnalysisId !== null) {
16042
16066
  contents.AnalysisId = __expectString(data.AnalysisId);
16043
16067
  }
@@ -16156,7 +16180,7 @@ export const deserializeAws_restJson1UpdateAnalysisPermissionsCommand = async (
16156
16180
  RequestId: undefined,
16157
16181
  Status: undefined,
16158
16182
  };
16159
- const data: any = await parseBody(output.body, context);
16183
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
16160
16184
  if (data.AnalysisArn !== undefined && data.AnalysisArn !== null) {
16161
16185
  contents.AnalysisArn = __expectString(data.AnalysisArn);
16162
16186
  }
@@ -16268,7 +16292,7 @@ export const deserializeAws_restJson1UpdateDashboardCommand = async (
16268
16292
  Status: undefined,
16269
16293
  VersionArn: undefined,
16270
16294
  };
16271
- const data: any = await parseBody(output.body, context);
16295
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
16272
16296
  if (data.Arn !== undefined && data.Arn !== null) {
16273
16297
  contents.Arn = __expectString(data.Arn);
16274
16298
  }
@@ -16282,7 +16306,7 @@ export const deserializeAws_restJson1UpdateDashboardCommand = async (
16282
16306
  contents.RequestId = __expectString(data.RequestId);
16283
16307
  }
16284
16308
  if (data.Status !== undefined && data.Status !== null) {
16285
- contents.Status = __expectInt(data.Status);
16309
+ contents.Status = __expectInt32(data.Status);
16286
16310
  }
16287
16311
  if (data.VersionArn !== undefined && data.VersionArn !== null) {
16288
16312
  contents.VersionArn = __expectString(data.VersionArn);
@@ -16390,7 +16414,7 @@ export const deserializeAws_restJson1UpdateDashboardPermissionsCommand = async (
16390
16414
  RequestId: undefined,
16391
16415
  Status: undefined,
16392
16416
  };
16393
- const data: any = await parseBody(output.body, context);
16417
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
16394
16418
  if (data.DashboardArn !== undefined && data.DashboardArn !== null) {
16395
16419
  contents.DashboardArn = __expectString(data.DashboardArn);
16396
16420
  }
@@ -16500,7 +16524,7 @@ export const deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = as
16500
16524
  RequestId: undefined,
16501
16525
  Status: undefined,
16502
16526
  };
16503
- const data: any = await parseBody(output.body, context);
16527
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
16504
16528
  if (data.DashboardArn !== undefined && data.DashboardArn !== null) {
16505
16529
  contents.DashboardArn = __expectString(data.DashboardArn);
16506
16530
  }
@@ -16609,7 +16633,7 @@ export const deserializeAws_restJson1UpdateDataSetCommand = async (
16609
16633
  RequestId: undefined,
16610
16634
  Status: undefined,
16611
16635
  };
16612
- const data: any = await parseBody(output.body, context);
16636
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
16613
16637
  if (data.Arn !== undefined && data.Arn !== null) {
16614
16638
  contents.Arn = __expectString(data.Arn);
16615
16639
  }
@@ -16738,7 +16762,7 @@ export const deserializeAws_restJson1UpdateDataSetPermissionsCommand = async (
16738
16762
  RequestId: undefined,
16739
16763
  Status: undefined,
16740
16764
  };
16741
- const data: any = await parseBody(output.body, context);
16765
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
16742
16766
  if (data.DataSetArn !== undefined && data.DataSetArn !== null) {
16743
16767
  contents.DataSetArn = __expectString(data.DataSetArn);
16744
16768
  }
@@ -16846,7 +16870,7 @@ export const deserializeAws_restJson1UpdateDataSourceCommand = async (
16846
16870
  Status: undefined,
16847
16871
  UpdateStatus: undefined,
16848
16872
  };
16849
- const data: any = await parseBody(output.body, context);
16873
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
16850
16874
  if (data.Arn !== undefined && data.Arn !== null) {
16851
16875
  contents.Arn = __expectString(data.Arn);
16852
16876
  }
@@ -16956,7 +16980,7 @@ export const deserializeAws_restJson1UpdateDataSourcePermissionsCommand = async
16956
16980
  RequestId: undefined,
16957
16981
  Status: undefined,
16958
16982
  };
16959
- const data: any = await parseBody(output.body, context);
16983
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
16960
16984
  if (data.DataSourceArn !== undefined && data.DataSourceArn !== null) {
16961
16985
  contents.DataSourceArn = __expectString(data.DataSourceArn);
16962
16986
  }
@@ -17063,7 +17087,7 @@ export const deserializeAws_restJson1UpdateFolderCommand = async (
17063
17087
  RequestId: undefined,
17064
17088
  Status: undefined,
17065
17089
  };
17066
- const data: any = await parseBody(output.body, context);
17090
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
17067
17091
  if (data.Arn !== undefined && data.Arn !== null) {
17068
17092
  contents.Arn = __expectString(data.Arn);
17069
17093
  }
@@ -17187,7 +17211,7 @@ export const deserializeAws_restJson1UpdateFolderPermissionsCommand = async (
17187
17211
  RequestId: undefined,
17188
17212
  Status: undefined,
17189
17213
  };
17190
- const data: any = await parseBody(output.body, context);
17214
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
17191
17215
  if (data.Arn !== undefined && data.Arn !== null) {
17192
17216
  contents.Arn = __expectString(data.Arn);
17193
17217
  }
@@ -17201,7 +17225,7 @@ export const deserializeAws_restJson1UpdateFolderPermissionsCommand = async (
17201
17225
  contents.RequestId = __expectString(data.RequestId);
17202
17226
  }
17203
17227
  if (data.Status !== undefined && data.Status !== null) {
17204
- contents.Status = __expectInt(data.Status);
17228
+ contents.Status = __expectInt32(data.Status);
17205
17229
  }
17206
17230
  return Promise.resolve(contents);
17207
17231
  };
@@ -17304,7 +17328,7 @@ export const deserializeAws_restJson1UpdateGroupCommand = async (
17304
17328
  RequestId: undefined,
17305
17329
  Status: undefined,
17306
17330
  };
17307
- const data: any = await parseBody(output.body, context);
17331
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
17308
17332
  if (data.Group !== undefined && data.Group !== null) {
17309
17333
  contents.Group = deserializeAws_restJson1Group(data.Group, context);
17310
17334
  }
@@ -17419,7 +17443,7 @@ export const deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = async (
17419
17443
  RequestId: undefined,
17420
17444
  Status: undefined,
17421
17445
  };
17422
- const data: any = await parseBody(output.body, context);
17446
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
17423
17447
  if (data.AssignmentId !== undefined && data.AssignmentId !== null) {
17424
17448
  contents.AssignmentId = __expectString(data.AssignmentId);
17425
17449
  }
@@ -17545,7 +17569,7 @@ export const deserializeAws_restJson1UpdateTemplateCommand = async (
17545
17569
  TemplateId: undefined,
17546
17570
  VersionArn: undefined,
17547
17571
  };
17548
- const data: any = await parseBody(output.body, context);
17572
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
17549
17573
  if (data.Arn !== undefined && data.Arn !== null) {
17550
17574
  contents.Arn = __expectString(data.Arn);
17551
17575
  }
@@ -17673,7 +17697,7 @@ export const deserializeAws_restJson1UpdateTemplateAliasCommand = async (
17673
17697
  Status: undefined,
17674
17698
  TemplateAlias: undefined,
17675
17699
  };
17676
- const data: any = await parseBody(output.body, context);
17700
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
17677
17701
  if (data.RequestId !== undefined && data.RequestId !== null) {
17678
17702
  contents.RequestId = __expectString(data.RequestId);
17679
17703
  }
@@ -17770,7 +17794,7 @@ export const deserializeAws_restJson1UpdateTemplatePermissionsCommand = async (
17770
17794
  TemplateArn: undefined,
17771
17795
  TemplateId: undefined,
17772
17796
  };
17773
- const data: any = await parseBody(output.body, context);
17797
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
17774
17798
  if (data.Permissions !== undefined && data.Permissions !== null) {
17775
17799
  contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
17776
17800
  }
@@ -17882,7 +17906,7 @@ export const deserializeAws_restJson1UpdateThemeCommand = async (
17882
17906
  ThemeId: undefined,
17883
17907
  VersionArn: undefined,
17884
17908
  };
17885
- const data: any = await parseBody(output.body, context);
17909
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
17886
17910
  if (data.Arn !== undefined && data.Arn !== null) {
17887
17911
  contents.Arn = __expectString(data.Arn);
17888
17912
  }
@@ -18010,7 +18034,7 @@ export const deserializeAws_restJson1UpdateThemeAliasCommand = async (
18010
18034
  Status: undefined,
18011
18035
  ThemeAlias: undefined,
18012
18036
  };
18013
- const data: any = await parseBody(output.body, context);
18037
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
18014
18038
  if (data.RequestId !== undefined && data.RequestId !== null) {
18015
18039
  contents.RequestId = __expectString(data.RequestId);
18016
18040
  }
@@ -18123,7 +18147,7 @@ export const deserializeAws_restJson1UpdateThemePermissionsCommand = async (
18123
18147
  ThemeArn: undefined,
18124
18148
  ThemeId: undefined,
18125
18149
  };
18126
- const data: any = await parseBody(output.body, context);
18150
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
18127
18151
  if (data.Permissions !== undefined && data.Permissions !== null) {
18128
18152
  contents.Permissions = deserializeAws_restJson1ResourcePermissionList(data.Permissions, context);
18129
18153
  }
@@ -18232,7 +18256,7 @@ export const deserializeAws_restJson1UpdateUserCommand = async (
18232
18256
  Status: undefined,
18233
18257
  User: undefined,
18234
18258
  };
18235
- const data: any = await parseBody(output.body, context);
18259
+ const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
18236
18260
  if (data.RequestId !== undefined && data.RequestId !== null) {
18237
18261
  contents.RequestId = __expectString(data.RequestId);
18238
18262
  }
@@ -18757,6 +18781,15 @@ const serializeAws_restJson1AmazonElasticsearchParameters = (
18757
18781
  };
18758
18782
  };
18759
18783
 
18784
+ const serializeAws_restJson1AmazonOpenSearchParameters = (
18785
+ input: AmazonOpenSearchParameters,
18786
+ context: __SerdeContext
18787
+ ): any => {
18788
+ return {
18789
+ ...(input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain }),
18790
+ };
18791
+ };
18792
+
18760
18793
  const serializeAws_restJson1AnalysisSearchFilter = (input: AnalysisSearchFilter, context: __SerdeContext): any => {
18761
18794
  return {
18762
18795
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
@@ -19008,6 +19041,17 @@ const serializeAws_restJson1ColumnTagList = (input: ColumnTag[], context: __Serd
19008
19041
  });
19009
19042
  };
19010
19043
 
19044
+ const serializeAws_restJson1ColumnTagNames = (input: (ColumnTagName | string)[], context: __SerdeContext): any => {
19045
+ return input
19046
+ .filter((e: any) => e != null)
19047
+ .map((entry) => {
19048
+ if (entry === null) {
19049
+ return null as any;
19050
+ }
19051
+ return entry;
19052
+ });
19053
+ };
19054
+
19011
19055
  const serializeAws_restJson1CreateColumnsOperation = (input: CreateColumnsOperation, context: __SerdeContext): any => {
19012
19056
  return {
19013
19057
  ...(input.Columns !== undefined &&
@@ -19135,6 +19179,20 @@ const serializeAws_restJson1DataSetReferenceList = (input: DataSetReference[], c
19135
19179
  });
19136
19180
  };
19137
19181
 
19182
+ const serializeAws_restJson1DataSetUsageConfiguration = (
19183
+ input: DataSetUsageConfiguration,
19184
+ context: __SerdeContext
19185
+ ): any => {
19186
+ return {
19187
+ ...(input.DisableUseAsDirectQuerySource !== undefined &&
19188
+ input.DisableUseAsDirectQuerySource !== null && {
19189
+ DisableUseAsDirectQuerySource: input.DisableUseAsDirectQuerySource,
19190
+ }),
19191
+ ...(input.DisableUseAsImportedSource !== undefined &&
19192
+ input.DisableUseAsImportedSource !== null && { DisableUseAsImportedSource: input.DisableUseAsImportedSource }),
19193
+ };
19194
+ };
19195
+
19138
19196
  const serializeAws_restJson1DataSourceCredentials = (input: DataSourceCredentials, context: __SerdeContext): any => {
19139
19197
  return {
19140
19198
  ...(input.CopySourceArn !== undefined && input.CopySourceArn !== null && { CopySourceArn: input.CopySourceArn }),
@@ -19150,6 +19208,9 @@ const serializeAws_restJson1DataSourceParameters = (input: DataSourceParameters,
19150
19208
  AmazonElasticsearchParameters: (value) => ({
19151
19209
  AmazonElasticsearchParameters: serializeAws_restJson1AmazonElasticsearchParameters(value, context),
19152
19210
  }),
19211
+ AmazonOpenSearchParameters: (value) => ({
19212
+ AmazonOpenSearchParameters: serializeAws_restJson1AmazonOpenSearchParameters(value, context),
19213
+ }),
19153
19214
  AthenaParameters: (value) => ({ AthenaParameters: serializeAws_restJson1AthenaParameters(value, context) }),
19154
19215
  AuroraParameters: (value) => ({ AuroraParameters: serializeAws_restJson1AuroraParameters(value, context) }),
19155
19216
  AuroraPostgreSqlParameters: (value) => ({
@@ -19445,6 +19506,7 @@ const serializeAws_restJson1LogicalTableMap = (
19445
19506
 
19446
19507
  const serializeAws_restJson1LogicalTableSource = (input: LogicalTableSource, context: __SerdeContext): any => {
19447
19508
  return {
19509
+ ...(input.DataSetArn !== undefined && input.DataSetArn !== null && { DataSetArn: input.DataSetArn }),
19448
19510
  ...(input.JoinInstruction !== undefined &&
19449
19511
  input.JoinInstruction !== null && {
19450
19512
  JoinInstruction: serializeAws_restJson1JoinInstruction(input.JoinInstruction, context),
@@ -19982,6 +20044,9 @@ const serializeAws_restJson1TransformOperation = (input: TransformOperation, con
19982
20044
  RenameColumnOperation: serializeAws_restJson1RenameColumnOperation(value, context),
19983
20045
  }),
19984
20046
  TagColumnOperation: (value) => ({ TagColumnOperation: serializeAws_restJson1TagColumnOperation(value, context) }),
20047
+ UntagColumnOperation: (value) => ({
20048
+ UntagColumnOperation: serializeAws_restJson1UntagColumnOperation(value, context),
20049
+ }),
19985
20050
  _: (name, value) => ({ name: value } as any),
19986
20051
  });
19987
20052
  };
@@ -20035,6 +20100,14 @@ const serializeAws_restJson1UIColorPalette = (input: UIColorPalette, context: __
20035
20100
  };
20036
20101
  };
20037
20102
 
20103
+ const serializeAws_restJson1UntagColumnOperation = (input: UntagColumnOperation, context: __SerdeContext): any => {
20104
+ return {
20105
+ ...(input.ColumnName !== undefined && input.ColumnName !== null && { ColumnName: input.ColumnName }),
20106
+ ...(input.TagNames !== undefined &&
20107
+ input.TagNames !== null && { TagNames: serializeAws_restJson1ColumnTagNames(input.TagNames, context) }),
20108
+ };
20109
+ };
20110
+
20038
20111
  const serializeAws_restJson1UpdateResourcePermissionList = (
20039
20112
  input: ResourcePermission[],
20040
20113
  context: __SerdeContext
@@ -20129,13 +20202,22 @@ const deserializeAws_restJson1AmazonElasticsearchParameters = (
20129
20202
  } as any;
20130
20203
  };
20131
20204
 
20205
+ const deserializeAws_restJson1AmazonOpenSearchParameters = (
20206
+ output: any,
20207
+ context: __SerdeContext
20208
+ ): AmazonOpenSearchParameters => {
20209
+ return {
20210
+ Domain: __expectString(output.Domain),
20211
+ } as any;
20212
+ };
20213
+
20132
20214
  const deserializeAws_restJson1Analysis = (output: any, context: __SerdeContext): Analysis => {
20133
20215
  return {
20134
20216
  AnalysisId: __expectString(output.AnalysisId),
20135
20217
  Arn: __expectString(output.Arn),
20136
20218
  CreatedTime:
20137
20219
  output.CreatedTime !== undefined && output.CreatedTime !== null
20138
- ? new Date(Math.round(output.CreatedTime * 1000))
20220
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20139
20221
  : undefined,
20140
20222
  DataSetArns:
20141
20223
  output.DataSetArns !== undefined && output.DataSetArns !== null
@@ -20147,7 +20229,7 @@ const deserializeAws_restJson1Analysis = (output: any, context: __SerdeContext):
20147
20229
  : undefined,
20148
20230
  LastUpdatedTime:
20149
20231
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
20150
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
20232
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
20151
20233
  : undefined,
20152
20234
  Name: __expectString(output.Name),
20153
20235
  Sheets:
@@ -20183,11 +20265,11 @@ const deserializeAws_restJson1AnalysisSummary = (output: any, context: __SerdeCo
20183
20265
  Arn: __expectString(output.Arn),
20184
20266
  CreatedTime:
20185
20267
  output.CreatedTime !== undefined && output.CreatedTime !== null
20186
- ? new Date(Math.round(output.CreatedTime * 1000))
20268
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20187
20269
  : undefined,
20188
20270
  LastUpdatedTime:
20189
20271
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
20190
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
20272
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
20191
20273
  : undefined,
20192
20274
  Name: __expectString(output.Name),
20193
20275
  Status: __expectString(output.Status),
@@ -20215,7 +20297,7 @@ const deserializeAws_restJson1AuroraParameters = (output: any, context: __SerdeC
20215
20297
  return {
20216
20298
  Database: __expectString(output.Database),
20217
20299
  Host: __expectString(output.Host),
20218
- Port: __expectInt(output.Port),
20300
+ Port: __expectInt32(output.Port),
20219
20301
  } as any;
20220
20302
  };
20221
20303
 
@@ -20226,7 +20308,7 @@ const deserializeAws_restJson1AuroraPostgreSqlParameters = (
20226
20308
  return {
20227
20309
  Database: __expectString(output.Database),
20228
20310
  Host: __expectString(output.Host),
20229
- Port: __expectInt(output.Port),
20311
+ Port: __expectInt32(output.Port),
20230
20312
  } as any;
20231
20313
  };
20232
20314
 
@@ -20448,6 +20530,17 @@ const deserializeAws_restJson1ColumnTagList = (output: any, context: __SerdeCont
20448
20530
  });
20449
20531
  };
20450
20532
 
20533
+ const deserializeAws_restJson1ColumnTagNames = (output: any, context: __SerdeContext): (ColumnTagName | string)[] => {
20534
+ return (output || [])
20535
+ .filter((e: any) => e != null)
20536
+ .map((entry: any) => {
20537
+ if (entry === null) {
20538
+ return null as any;
20539
+ }
20540
+ return __expectString(entry) as any;
20541
+ });
20542
+ };
20543
+
20451
20544
  const deserializeAws_restJson1CreateColumnsOperation = (
20452
20545
  output: any,
20453
20546
  context: __SerdeContext
@@ -20477,16 +20570,16 @@ const deserializeAws_restJson1Dashboard = (output: any, context: __SerdeContext)
20477
20570
  Arn: __expectString(output.Arn),
20478
20571
  CreatedTime:
20479
20572
  output.CreatedTime !== undefined && output.CreatedTime !== null
20480
- ? new Date(Math.round(output.CreatedTime * 1000))
20573
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20481
20574
  : undefined,
20482
20575
  DashboardId: __expectString(output.DashboardId),
20483
20576
  LastPublishedTime:
20484
20577
  output.LastPublishedTime !== undefined && output.LastPublishedTime !== null
20485
- ? new Date(Math.round(output.LastPublishedTime * 1000))
20578
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPublishedTime)))
20486
20579
  : undefined,
20487
20580
  LastUpdatedTime:
20488
20581
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
20489
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
20582
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
20490
20583
  : undefined,
20491
20584
  Name: __expectString(output.Name),
20492
20585
  Version:
@@ -20519,19 +20612,19 @@ const deserializeAws_restJson1DashboardSummary = (output: any, context: __SerdeC
20519
20612
  Arn: __expectString(output.Arn),
20520
20613
  CreatedTime:
20521
20614
  output.CreatedTime !== undefined && output.CreatedTime !== null
20522
- ? new Date(Math.round(output.CreatedTime * 1000))
20615
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20523
20616
  : undefined,
20524
20617
  DashboardId: __expectString(output.DashboardId),
20525
20618
  LastPublishedTime:
20526
20619
  output.LastPublishedTime !== undefined && output.LastPublishedTime !== null
20527
- ? new Date(Math.round(output.LastPublishedTime * 1000))
20620
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPublishedTime)))
20528
20621
  : undefined,
20529
20622
  LastUpdatedTime:
20530
20623
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
20531
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
20624
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
20532
20625
  : undefined,
20533
20626
  Name: __expectString(output.Name),
20534
- PublishedVersionNumber: __expectInt(output.PublishedVersionNumber),
20627
+ PublishedVersionNumber: __expectLong(output.PublishedVersionNumber),
20535
20628
  } as any;
20536
20629
  };
20537
20630
 
@@ -20551,7 +20644,7 @@ const deserializeAws_restJson1DashboardVersion = (output: any, context: __SerdeC
20551
20644
  Arn: __expectString(output.Arn),
20552
20645
  CreatedTime:
20553
20646
  output.CreatedTime !== undefined && output.CreatedTime !== null
20554
- ? new Date(Math.round(output.CreatedTime * 1000))
20647
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20555
20648
  : undefined,
20556
20649
  DataSetArns:
20557
20650
  output.DataSetArns !== undefined && output.DataSetArns !== null
@@ -20569,7 +20662,7 @@ const deserializeAws_restJson1DashboardVersion = (output: any, context: __SerdeC
20569
20662
  SourceEntityArn: __expectString(output.SourceEntityArn),
20570
20663
  Status: __expectString(output.Status),
20571
20664
  ThemeArn: __expectString(output.ThemeArn),
20572
- VersionNumber: __expectInt(output.VersionNumber),
20665
+ VersionNumber: __expectLong(output.VersionNumber),
20573
20666
  } as any;
20574
20667
  };
20575
20668
 
@@ -20581,12 +20674,12 @@ const deserializeAws_restJson1DashboardVersionSummary = (
20581
20674
  Arn: __expectString(output.Arn),
20582
20675
  CreatedTime:
20583
20676
  output.CreatedTime !== undefined && output.CreatedTime !== null
20584
- ? new Date(Math.round(output.CreatedTime * 1000))
20677
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20585
20678
  : undefined,
20586
20679
  Description: __expectString(output.Description),
20587
20680
  SourceEntityArn: __expectString(output.SourceEntityArn),
20588
20681
  Status: __expectString(output.Status),
20589
- VersionNumber: __expectInt(output.VersionNumber),
20682
+ VersionNumber: __expectLong(output.VersionNumber),
20590
20683
  } as any;
20591
20684
  };
20592
20685
 
@@ -20629,12 +20722,16 @@ const deserializeAws_restJson1DataSet = (output: any, context: __SerdeContext):
20629
20722
  output.ColumnLevelPermissionRules !== undefined && output.ColumnLevelPermissionRules !== null
20630
20723
  ? deserializeAws_restJson1ColumnLevelPermissionRuleList(output.ColumnLevelPermissionRules, context)
20631
20724
  : undefined,
20632
- ConsumedSpiceCapacityInBytes: __expectInt(output.ConsumedSpiceCapacityInBytes),
20725
+ ConsumedSpiceCapacityInBytes: __expectLong(output.ConsumedSpiceCapacityInBytes),
20633
20726
  CreatedTime:
20634
20727
  output.CreatedTime !== undefined && output.CreatedTime !== null
20635
- ? new Date(Math.round(output.CreatedTime * 1000))
20728
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20636
20729
  : undefined,
20637
20730
  DataSetId: __expectString(output.DataSetId),
20731
+ DataSetUsageConfiguration:
20732
+ output.DataSetUsageConfiguration !== undefined && output.DataSetUsageConfiguration !== null
20733
+ ? deserializeAws_restJson1DataSetUsageConfiguration(output.DataSetUsageConfiguration, context)
20734
+ : undefined,
20638
20735
  FieldFolders:
20639
20736
  output.FieldFolders !== undefined && output.FieldFolders !== null
20640
20737
  ? deserializeAws_restJson1FieldFolderMap(output.FieldFolders, context)
@@ -20642,7 +20739,7 @@ const deserializeAws_restJson1DataSet = (output: any, context: __SerdeContext):
20642
20739
  ImportMode: __expectString(output.ImportMode),
20643
20740
  LastUpdatedTime:
20644
20741
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
20645
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
20742
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
20646
20743
  : undefined,
20647
20744
  LogicalTableMap:
20648
20745
  output.LogicalTableMap !== undefined && output.LogicalTableMap !== null
@@ -20722,13 +20819,13 @@ const deserializeAws_restJson1DataSetSummary = (output: any, context: __SerdeCon
20722
20819
  ColumnLevelPermissionRulesApplied: __expectBoolean(output.ColumnLevelPermissionRulesApplied),
20723
20820
  CreatedTime:
20724
20821
  output.CreatedTime !== undefined && output.CreatedTime !== null
20725
- ? new Date(Math.round(output.CreatedTime * 1000))
20822
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20726
20823
  : undefined,
20727
20824
  DataSetId: __expectString(output.DataSetId),
20728
20825
  ImportMode: __expectString(output.ImportMode),
20729
20826
  LastUpdatedTime:
20730
20827
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
20731
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
20828
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
20732
20829
  : undefined,
20733
20830
  Name: __expectString(output.Name),
20734
20831
  RowLevelPermissionDataSet:
@@ -20750,6 +20847,16 @@ const deserializeAws_restJson1DataSetSummaryList = (output: any, context: __Serd
20750
20847
  });
20751
20848
  };
20752
20849
 
20850
+ const deserializeAws_restJson1DataSetUsageConfiguration = (
20851
+ output: any,
20852
+ context: __SerdeContext
20853
+ ): DataSetUsageConfiguration => {
20854
+ return {
20855
+ DisableUseAsDirectQuerySource: __expectBoolean(output.DisableUseAsDirectQuerySource),
20856
+ DisableUseAsImportedSource: __expectBoolean(output.DisableUseAsImportedSource),
20857
+ } as any;
20858
+ };
20859
+
20753
20860
  const deserializeAws_restJson1DataSource = (output: any, context: __SerdeContext): DataSource => {
20754
20861
  return {
20755
20862
  AlternateDataSourceParameters:
@@ -20759,12 +20866,12 @@ const deserializeAws_restJson1DataSource = (output: any, context: __SerdeContext
20759
20866
  Arn: __expectString(output.Arn),
20760
20867
  CreatedTime:
20761
20868
  output.CreatedTime !== undefined && output.CreatedTime !== null
20762
- ? new Date(Math.round(output.CreatedTime * 1000))
20869
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20763
20870
  : undefined,
20764
20871
  DataSourceId: __expectString(output.DataSourceId),
20765
20872
  DataSourceParameters:
20766
20873
  output.DataSourceParameters !== undefined && output.DataSourceParameters !== null
20767
- ? deserializeAws_restJson1DataSourceParameters(output.DataSourceParameters, context)
20874
+ ? deserializeAws_restJson1DataSourceParameters(__expectUnion(output.DataSourceParameters), context)
20768
20875
  : undefined,
20769
20876
  ErrorInfo:
20770
20877
  output.ErrorInfo !== undefined && output.ErrorInfo !== null
@@ -20772,7 +20879,7 @@ const deserializeAws_restJson1DataSource = (output: any, context: __SerdeContext
20772
20879
  : undefined,
20773
20880
  LastUpdatedTime:
20774
20881
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
20775
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
20882
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
20776
20883
  : undefined,
20777
20884
  Name: __expectString(output.Name),
20778
20885
  SslProperties:
@@ -20815,6 +20922,14 @@ const deserializeAws_restJson1DataSourceParameters = (output: any, context: __Se
20815
20922
  ),
20816
20923
  };
20817
20924
  }
20925
+ if (output.AmazonOpenSearchParameters !== undefined && output.AmazonOpenSearchParameters !== null) {
20926
+ return {
20927
+ AmazonOpenSearchParameters: deserializeAws_restJson1AmazonOpenSearchParameters(
20928
+ output.AmazonOpenSearchParameters,
20929
+ context
20930
+ ),
20931
+ };
20932
+ }
20818
20933
  if (output.AthenaParameters !== undefined && output.AthenaParameters !== null) {
20819
20934
  return {
20820
20935
  AthenaParameters: deserializeAws_restJson1AthenaParameters(output.AthenaParameters, context),
@@ -20929,7 +21044,7 @@ const deserializeAws_restJson1DataSourceParametersList = (
20929
21044
  if (entry === null) {
20930
21045
  return null as any;
20931
21046
  }
20932
- return deserializeAws_restJson1DataSourceParameters(entry, context);
21047
+ return deserializeAws_restJson1DataSourceParameters(__expectUnion(entry), context);
20933
21048
  });
20934
21049
  };
20935
21050
 
@@ -20976,7 +21091,7 @@ const deserializeAws_restJson1Folder = (output: any, context: __SerdeContext): F
20976
21091
  Arn: __expectString(output.Arn),
20977
21092
  CreatedTime:
20978
21093
  output.CreatedTime !== undefined && output.CreatedTime !== null
20979
- ? new Date(Math.round(output.CreatedTime * 1000))
21094
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
20980
21095
  : undefined,
20981
21096
  FolderId: __expectString(output.FolderId),
20982
21097
  FolderPath:
@@ -20986,7 +21101,7 @@ const deserializeAws_restJson1Folder = (output: any, context: __SerdeContext): F
20986
21101
  FolderType: __expectString(output.FolderType),
20987
21102
  LastUpdatedTime:
20988
21103
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
20989
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
21104
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
20990
21105
  : undefined,
20991
21106
  Name: __expectString(output.Name),
20992
21107
  } as any;
@@ -21026,13 +21141,13 @@ const deserializeAws_restJson1FolderSummary = (output: any, context: __SerdeCont
21026
21141
  Arn: __expectString(output.Arn),
21027
21142
  CreatedTime:
21028
21143
  output.CreatedTime !== undefined && output.CreatedTime !== null
21029
- ? new Date(Math.round(output.CreatedTime * 1000))
21144
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
21030
21145
  : undefined,
21031
21146
  FolderId: __expectString(output.FolderId),
21032
21147
  FolderType: __expectString(output.FolderType),
21033
21148
  LastUpdatedTime:
21034
21149
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
21035
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
21150
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
21036
21151
  : undefined,
21037
21152
  Name: __expectString(output.Name),
21038
21153
  } as any;
@@ -21170,16 +21285,16 @@ const deserializeAws_restJson1Ingestion = (output: any, context: __SerdeContext)
21170
21285
  Arn: __expectString(output.Arn),
21171
21286
  CreatedTime:
21172
21287
  output.CreatedTime !== undefined && output.CreatedTime !== null
21173
- ? new Date(Math.round(output.CreatedTime * 1000))
21288
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
21174
21289
  : undefined,
21175
21290
  ErrorInfo:
21176
21291
  output.ErrorInfo !== undefined && output.ErrorInfo !== null
21177
21292
  ? deserializeAws_restJson1ErrorInfo(output.ErrorInfo, context)
21178
21293
  : undefined,
21179
21294
  IngestionId: __expectString(output.IngestionId),
21180
- IngestionSizeInBytes: __expectInt(output.IngestionSizeInBytes),
21295
+ IngestionSizeInBytes: __expectLong(output.IngestionSizeInBytes),
21181
21296
  IngestionStatus: __expectString(output.IngestionStatus),
21182
- IngestionTimeInSeconds: __expectInt(output.IngestionTimeInSeconds),
21297
+ IngestionTimeInSeconds: __expectLong(output.IngestionTimeInSeconds),
21183
21298
  QueueInfo:
21184
21299
  output.QueueInfo !== undefined && output.QueueInfo !== null
21185
21300
  ? deserializeAws_restJson1QueueInfo(output.QueueInfo, context)
@@ -21282,6 +21397,7 @@ const deserializeAws_restJson1LogicalTableMap = (
21282
21397
 
21283
21398
  const deserializeAws_restJson1LogicalTableSource = (output: any, context: __SerdeContext): LogicalTableSource => {
21284
21399
  return {
21400
+ DataSetArn: __expectString(output.DataSetArn),
21285
21401
  JoinInstruction:
21286
21402
  output.JoinInstruction !== undefined && output.JoinInstruction !== null
21287
21403
  ? deserializeAws_restJson1JoinInstruction(output.JoinInstruction, context)
@@ -21307,7 +21423,7 @@ const deserializeAws_restJson1MariaDbParameters = (output: any, context: __Serde
21307
21423
  return {
21308
21424
  Database: __expectString(output.Database),
21309
21425
  Host: __expectString(output.Host),
21310
- Port: __expectInt(output.Port),
21426
+ Port: __expectInt32(output.Port),
21311
21427
  } as any;
21312
21428
  };
21313
21429
 
@@ -21322,7 +21438,7 @@ const deserializeAws_restJson1MySqlParameters = (output: any, context: __SerdeCo
21322
21438
  return {
21323
21439
  Database: __expectString(output.Database),
21324
21440
  Host: __expectString(output.Host),
21325
- Port: __expectInt(output.Port),
21441
+ Port: __expectInt32(output.Port),
21326
21442
  } as any;
21327
21443
  };
21328
21444
 
@@ -21362,7 +21478,7 @@ const deserializeAws_restJson1OracleParameters = (output: any, context: __SerdeC
21362
21478
  return {
21363
21479
  Database: __expectString(output.Database),
21364
21480
  Host: __expectString(output.Host),
21365
- Port: __expectInt(output.Port),
21481
+ Port: __expectInt32(output.Port),
21366
21482
  } as any;
21367
21483
  };
21368
21484
 
@@ -21425,7 +21541,7 @@ const deserializeAws_restJson1PhysicalTableMap = (
21425
21541
  }
21426
21542
  return {
21427
21543
  ...acc,
21428
- [key]: deserializeAws_restJson1PhysicalTable(value, context),
21544
+ [key]: deserializeAws_restJson1PhysicalTable(__expectUnion(value), context),
21429
21545
  };
21430
21546
  }, {});
21431
21547
  };
@@ -21434,7 +21550,7 @@ const deserializeAws_restJson1PostgreSqlParameters = (output: any, context: __Se
21434
21550
  return {
21435
21551
  Database: __expectString(output.Database),
21436
21552
  Host: __expectString(output.Host),
21437
- Port: __expectInt(output.Port),
21553
+ Port: __expectInt32(output.Port),
21438
21554
  } as any;
21439
21555
  };
21440
21556
 
@@ -21442,7 +21558,7 @@ const deserializeAws_restJson1PrestoParameters = (output: any, context: __SerdeC
21442
21558
  return {
21443
21559
  Catalog: __expectString(output.Catalog),
21444
21560
  Host: __expectString(output.Host),
21445
- Port: __expectInt(output.Port),
21561
+ Port: __expectInt32(output.Port),
21446
21562
  } as any;
21447
21563
  };
21448
21564
 
@@ -21496,7 +21612,7 @@ const deserializeAws_restJson1RedshiftParameters = (output: any, context: __Serd
21496
21612
  ClusterId: __expectString(output.ClusterId),
21497
21613
  Database: __expectString(output.Database),
21498
21614
  Host: __expectString(output.Host),
21499
- Port: __expectInt(output.Port),
21615
+ Port: __expectInt32(output.Port),
21500
21616
  } as any;
21501
21617
  };
21502
21618
 
@@ -21543,8 +21659,8 @@ const deserializeAws_restJson1ResourcePermissionList = (output: any, context: __
21543
21659
 
21544
21660
  const deserializeAws_restJson1RowInfo = (output: any, context: __SerdeContext): RowInfo => {
21545
21661
  return {
21546
- RowsDropped: __expectInt(output.RowsDropped),
21547
- RowsIngested: __expectInt(output.RowsIngested),
21662
+ RowsDropped: __expectLong(output.RowsDropped),
21663
+ RowsIngested: __expectLong(output.RowsIngested),
21548
21664
  } as any;
21549
21665
  };
21550
21666
 
@@ -21671,7 +21787,7 @@ const deserializeAws_restJson1SnowflakeParameters = (output: any, context: __Ser
21671
21787
  const deserializeAws_restJson1SparkParameters = (output: any, context: __SerdeContext): SparkParameters => {
21672
21788
  return {
21673
21789
  Host: __expectString(output.Host),
21674
- Port: __expectInt(output.Port),
21790
+ Port: __expectInt32(output.Port),
21675
21791
  } as any;
21676
21792
  };
21677
21793
 
@@ -21679,7 +21795,7 @@ const deserializeAws_restJson1SqlServerParameters = (output: any, context: __Ser
21679
21795
  return {
21680
21796
  Database: __expectString(output.Database),
21681
21797
  Host: __expectString(output.Host),
21682
- Port: __expectInt(output.Port),
21798
+ Port: __expectInt32(output.Port),
21683
21799
  } as any;
21684
21800
  };
21685
21801
 
@@ -21722,11 +21838,11 @@ const deserializeAws_restJson1Template = (output: any, context: __SerdeContext):
21722
21838
  Arn: __expectString(output.Arn),
21723
21839
  CreatedTime:
21724
21840
  output.CreatedTime !== undefined && output.CreatedTime !== null
21725
- ? new Date(Math.round(output.CreatedTime * 1000))
21841
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
21726
21842
  : undefined,
21727
21843
  LastUpdatedTime:
21728
21844
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
21729
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
21845
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
21730
21846
  : undefined,
21731
21847
  Name: __expectString(output.Name),
21732
21848
  TemplateId: __expectString(output.TemplateId),
@@ -21741,7 +21857,7 @@ const deserializeAws_restJson1TemplateAlias = (output: any, context: __SerdeCont
21741
21857
  return {
21742
21858
  AliasName: __expectString(output.AliasName),
21743
21859
  Arn: __expectString(output.Arn),
21744
- TemplateVersionNumber: __expectInt(output.TemplateVersionNumber),
21860
+ TemplateVersionNumber: __expectLong(output.TemplateVersionNumber),
21745
21861
  } as any;
21746
21862
  };
21747
21863
 
@@ -21779,13 +21895,13 @@ const deserializeAws_restJson1TemplateSummary = (output: any, context: __SerdeCo
21779
21895
  Arn: __expectString(output.Arn),
21780
21896
  CreatedTime:
21781
21897
  output.CreatedTime !== undefined && output.CreatedTime !== null
21782
- ? new Date(Math.round(output.CreatedTime * 1000))
21898
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
21783
21899
  : undefined,
21784
21900
  LastUpdatedTime:
21785
21901
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
21786
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
21902
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
21787
21903
  : undefined,
21788
- LatestVersionNumber: __expectInt(output.LatestVersionNumber),
21904
+ LatestVersionNumber: __expectLong(output.LatestVersionNumber),
21789
21905
  Name: __expectString(output.Name),
21790
21906
  TemplateId: __expectString(output.TemplateId),
21791
21907
  } as any;
@@ -21806,7 +21922,7 @@ const deserializeAws_restJson1TemplateVersion = (output: any, context: __SerdeCo
21806
21922
  return {
21807
21923
  CreatedTime:
21808
21924
  output.CreatedTime !== undefined && output.CreatedTime !== null
21809
- ? new Date(Math.round(output.CreatedTime * 1000))
21925
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
21810
21926
  : undefined,
21811
21927
  DataSetConfigurations:
21812
21928
  output.DataSetConfigurations !== undefined && output.DataSetConfigurations !== null
@@ -21824,7 +21940,7 @@ const deserializeAws_restJson1TemplateVersion = (output: any, context: __SerdeCo
21824
21940
  SourceEntityArn: __expectString(output.SourceEntityArn),
21825
21941
  Status: __expectString(output.Status),
21826
21942
  ThemeArn: __expectString(output.ThemeArn),
21827
- VersionNumber: __expectInt(output.VersionNumber),
21943
+ VersionNumber: __expectLong(output.VersionNumber),
21828
21944
  } as any;
21829
21945
  };
21830
21946
 
@@ -21836,11 +21952,11 @@ const deserializeAws_restJson1TemplateVersionSummary = (
21836
21952
  Arn: __expectString(output.Arn),
21837
21953
  CreatedTime:
21838
21954
  output.CreatedTime !== undefined && output.CreatedTime !== null
21839
- ? new Date(Math.round(output.CreatedTime * 1000))
21955
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
21840
21956
  : undefined,
21841
21957
  Description: __expectString(output.Description),
21842
21958
  Status: __expectString(output.Status),
21843
- VersionNumber: __expectInt(output.VersionNumber),
21959
+ VersionNumber: __expectLong(output.VersionNumber),
21844
21960
  } as any;
21845
21961
  };
21846
21962
 
@@ -21862,7 +21978,7 @@ const deserializeAws_restJson1TeradataParameters = (output: any, context: __Serd
21862
21978
  return {
21863
21979
  Database: __expectString(output.Database),
21864
21980
  Host: __expectString(output.Host),
21865
- Port: __expectInt(output.Port),
21981
+ Port: __expectInt32(output.Port),
21866
21982
  } as any;
21867
21983
  };
21868
21984
 
@@ -21871,11 +21987,11 @@ const deserializeAws_restJson1Theme = (output: any, context: __SerdeContext): Th
21871
21987
  Arn: __expectString(output.Arn),
21872
21988
  CreatedTime:
21873
21989
  output.CreatedTime !== undefined && output.CreatedTime !== null
21874
- ? new Date(Math.round(output.CreatedTime * 1000))
21990
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
21875
21991
  : undefined,
21876
21992
  LastUpdatedTime:
21877
21993
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
21878
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
21994
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
21879
21995
  : undefined,
21880
21996
  Name: __expectString(output.Name),
21881
21997
  ThemeId: __expectString(output.ThemeId),
@@ -21891,7 +22007,7 @@ const deserializeAws_restJson1ThemeAlias = (output: any, context: __SerdeContext
21891
22007
  return {
21892
22008
  AliasName: __expectString(output.AliasName),
21893
22009
  Arn: __expectString(output.Arn),
21894
- ThemeVersionNumber: __expectInt(output.ThemeVersionNumber),
22010
+ ThemeVersionNumber: __expectLong(output.ThemeVersionNumber),
21895
22011
  } as any;
21896
22012
  };
21897
22013
 
@@ -21946,13 +22062,13 @@ const deserializeAws_restJson1ThemeSummary = (output: any, context: __SerdeConte
21946
22062
  Arn: __expectString(output.Arn),
21947
22063
  CreatedTime:
21948
22064
  output.CreatedTime !== undefined && output.CreatedTime !== null
21949
- ? new Date(Math.round(output.CreatedTime * 1000))
22065
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
21950
22066
  : undefined,
21951
22067
  LastUpdatedTime:
21952
22068
  output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
21953
- ? new Date(Math.round(output.LastUpdatedTime * 1000))
22069
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
21954
22070
  : undefined,
21955
- LatestVersionNumber: __expectInt(output.LatestVersionNumber),
22071
+ LatestVersionNumber: __expectLong(output.LatestVersionNumber),
21956
22072
  Name: __expectString(output.Name),
21957
22073
  ThemeId: __expectString(output.ThemeId),
21958
22074
  } as any;
@@ -21979,7 +22095,7 @@ const deserializeAws_restJson1ThemeVersion = (output: any, context: __SerdeConte
21979
22095
  : undefined,
21980
22096
  CreatedTime:
21981
22097
  output.CreatedTime !== undefined && output.CreatedTime !== null
21982
- ? new Date(Math.round(output.CreatedTime * 1000))
22098
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
21983
22099
  : undefined,
21984
22100
  Description: __expectString(output.Description),
21985
22101
  Errors:
@@ -21987,7 +22103,7 @@ const deserializeAws_restJson1ThemeVersion = (output: any, context: __SerdeConte
21987
22103
  ? deserializeAws_restJson1ThemeErrorList(output.Errors, context)
21988
22104
  : undefined,
21989
22105
  Status: __expectString(output.Status),
21990
- VersionNumber: __expectInt(output.VersionNumber),
22106
+ VersionNumber: __expectLong(output.VersionNumber),
21991
22107
  } as any;
21992
22108
  };
21993
22109
 
@@ -21996,11 +22112,11 @@ const deserializeAws_restJson1ThemeVersionSummary = (output: any, context: __Ser
21996
22112
  Arn: __expectString(output.Arn),
21997
22113
  CreatedTime:
21998
22114
  output.CreatedTime !== undefined && output.CreatedTime !== null
21999
- ? new Date(Math.round(output.CreatedTime * 1000))
22115
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
22000
22116
  : undefined,
22001
22117
  Description: __expectString(output.Description),
22002
22118
  Status: __expectString(output.Status),
22003
- VersionNumber: __expectInt(output.VersionNumber),
22119
+ VersionNumber: __expectLong(output.VersionNumber),
22004
22120
  } as any;
22005
22121
  };
22006
22122
 
@@ -22071,6 +22187,11 @@ const deserializeAws_restJson1TransformOperation = (output: any, context: __Serd
22071
22187
  TagColumnOperation: deserializeAws_restJson1TagColumnOperation(output.TagColumnOperation, context),
22072
22188
  };
22073
22189
  }
22190
+ if (output.UntagColumnOperation !== undefined && output.UntagColumnOperation !== null) {
22191
+ return {
22192
+ UntagColumnOperation: deserializeAws_restJson1UntagColumnOperation(output.UntagColumnOperation, context),
22193
+ };
22194
+ }
22074
22195
  return { $unknown: Object.entries(output)[0] };
22075
22196
  };
22076
22197
 
@@ -22081,13 +22202,13 @@ const deserializeAws_restJson1TransformOperationList = (output: any, context: __
22081
22202
  if (entry === null) {
22082
22203
  return null as any;
22083
22204
  }
22084
- return deserializeAws_restJson1TransformOperation(entry, context);
22205
+ return deserializeAws_restJson1TransformOperation(__expectUnion(entry), context);
22085
22206
  });
22086
22207
  };
22087
22208
 
22088
22209
  const deserializeAws_restJson1TwitterParameters = (output: any, context: __SerdeContext): TwitterParameters => {
22089
22210
  return {
22090
- MaxRows: __expectInt(output.MaxRows),
22211
+ MaxRows: __expectInt32(output.MaxRows),
22091
22212
  Query: __expectString(output.Query),
22092
22213
  } as any;
22093
22214
  };
@@ -22113,12 +22234,22 @@ const deserializeAws_restJson1UIColorPalette = (output: any, context: __SerdeCon
22113
22234
  } as any;
22114
22235
  };
22115
22236
 
22237
+ const deserializeAws_restJson1UntagColumnOperation = (output: any, context: __SerdeContext): UntagColumnOperation => {
22238
+ return {
22239
+ ColumnName: __expectString(output.ColumnName),
22240
+ TagNames:
22241
+ output.TagNames !== undefined && output.TagNames !== null
22242
+ ? deserializeAws_restJson1ColumnTagNames(output.TagNames, context)
22243
+ : undefined,
22244
+ } as any;
22245
+ };
22246
+
22116
22247
  const deserializeAws_restJson1UploadSettings = (output: any, context: __SerdeContext): UploadSettings => {
22117
22248
  return {
22118
22249
  ContainsHeader: __expectBoolean(output.ContainsHeader),
22119
22250
  Delimiter: __expectString(output.Delimiter),
22120
22251
  Format: __expectString(output.Format),
22121
- StartFromRow: __expectInt(output.StartFromRow),
22252
+ StartFromRow: __expectInt32(output.StartFromRow),
22122
22253
  TextQualifier: __expectString(output.TextQualifier),
22123
22254
  } as any;
22124
22255
  };