@aws-sdk/client-quicksight 3.326.0 → 3.328.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 (187) hide show
  1. package/README.md +144 -0
  2. package/dist-cjs/QuickSight.js +36 -0
  3. package/dist-cjs/commands/CreateTopicCommand.js +46 -0
  4. package/dist-cjs/commands/CreateTopicRefreshScheduleCommand.js +45 -0
  5. package/dist-cjs/commands/CreateVPCConnectionCommand.js +45 -0
  6. package/dist-cjs/commands/DeleteTopicCommand.js +45 -0
  7. package/dist-cjs/commands/DeleteTopicRefreshScheduleCommand.js +45 -0
  8. package/dist-cjs/commands/DeleteVPCConnectionCommand.js +45 -0
  9. package/dist-cjs/commands/DescribeDataSetCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeTemplateDefinitionCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeTopicCommand.js +46 -0
  12. package/dist-cjs/commands/DescribeTopicPermissionsCommand.js +45 -0
  13. package/dist-cjs/commands/DescribeTopicRefreshCommand.js +45 -0
  14. package/dist-cjs/commands/DescribeTopicRefreshScheduleCommand.js +45 -0
  15. package/dist-cjs/commands/DescribeVPCConnectionCommand.js +45 -0
  16. package/dist-cjs/commands/ListTopicRefreshSchedulesCommand.js +45 -0
  17. package/dist-cjs/commands/ListTopicsCommand.js +45 -0
  18. package/dist-cjs/commands/ListVPCConnectionsCommand.js +45 -0
  19. package/dist-cjs/commands/UpdateTopicCommand.js +46 -0
  20. package/dist-cjs/commands/UpdateTopicPermissionsCommand.js +45 -0
  21. package/dist-cjs/commands/UpdateTopicRefreshScheduleCommand.js +45 -0
  22. package/dist-cjs/commands/UpdateVPCConnectionCommand.js +45 -0
  23. package/dist-cjs/commands/index.js +18 -0
  24. package/dist-cjs/models/models_0.js +1 -11
  25. package/dist-cjs/models/models_1.js +46 -50
  26. package/dist-cjs/models/models_2.js +262 -141
  27. package/dist-cjs/models/models_3.js +167 -1
  28. package/dist-cjs/pagination/ListTopicsPaginator.js +29 -0
  29. package/dist-cjs/pagination/ListVPCConnectionsPaginator.js +29 -0
  30. package/dist-cjs/pagination/index.js +2 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +2076 -307
  32. package/dist-es/QuickSight.js +36 -0
  33. package/dist-es/commands/CreateTopicCommand.js +42 -0
  34. package/dist-es/commands/CreateTopicRefreshScheduleCommand.js +41 -0
  35. package/dist-es/commands/CreateVPCConnectionCommand.js +41 -0
  36. package/dist-es/commands/DeleteTopicCommand.js +41 -0
  37. package/dist-es/commands/DeleteTopicRefreshScheduleCommand.js +41 -0
  38. package/dist-es/commands/DeleteVPCConnectionCommand.js +41 -0
  39. package/dist-es/commands/DescribeDataSetCommand.js +1 -1
  40. package/dist-es/commands/DescribeTemplateDefinitionCommand.js +1 -1
  41. package/dist-es/commands/DescribeTopicCommand.js +42 -0
  42. package/dist-es/commands/DescribeTopicPermissionsCommand.js +41 -0
  43. package/dist-es/commands/DescribeTopicRefreshCommand.js +41 -0
  44. package/dist-es/commands/DescribeTopicRefreshScheduleCommand.js +41 -0
  45. package/dist-es/commands/DescribeVPCConnectionCommand.js +41 -0
  46. package/dist-es/commands/ListTopicRefreshSchedulesCommand.js +41 -0
  47. package/dist-es/commands/ListTopicsCommand.js +41 -0
  48. package/dist-es/commands/ListVPCConnectionsCommand.js +41 -0
  49. package/dist-es/commands/UpdateTopicCommand.js +42 -0
  50. package/dist-es/commands/UpdateTopicPermissionsCommand.js +41 -0
  51. package/dist-es/commands/UpdateTopicRefreshScheduleCommand.js +41 -0
  52. package/dist-es/commands/UpdateVPCConnectionCommand.js +41 -0
  53. package/dist-es/commands/index.js +18 -0
  54. package/dist-es/models/models_0.js +0 -9
  55. package/dist-es/models/models_1.js +41 -43
  56. package/dist-es/models/models_2.js +242 -135
  57. package/dist-es/models/models_3.js +161 -1
  58. package/dist-es/pagination/ListTopicsPaginator.js +25 -0
  59. package/dist-es/pagination/ListVPCConnectionsPaginator.js +25 -0
  60. package/dist-es/pagination/index.js +2 -0
  61. package/dist-es/protocols/Aws_restJson1.js +2030 -298
  62. package/dist-types/QuickSight.d.ts +126 -0
  63. package/dist-types/QuickSightClient.d.ts +20 -2
  64. package/dist-types/commands/CreateAccountCustomizationCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateAccountSubscriptionCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateAnalysisCommand.d.ts +56 -4
  67. package/dist-types/commands/CreateDashboardCommand.d.ts +56 -4
  68. package/dist-types/commands/CreateDataSetCommand.d.ts +63 -0
  69. package/dist-types/commands/CreateIAMPolicyAssignmentCommand.d.ts +5 -4
  70. package/dist-types/commands/CreateTemplateCommand.d.ts +56 -4
  71. package/dist-types/commands/CreateTopicCommand.d.ts +352 -0
  72. package/dist-types/commands/CreateTopicRefreshScheduleCommand.d.ts +111 -0
  73. package/dist-types/commands/CreateVPCConnectionCommand.d.ts +122 -0
  74. package/dist-types/commands/DeleteTopicCommand.d.ts +94 -0
  75. package/dist-types/commands/DeleteTopicRefreshScheduleCommand.d.ts +102 -0
  76. package/dist-types/commands/DeleteVPCConnectionCommand.d.ts +102 -0
  77. package/dist-types/commands/DescribeAnalysisDefinitionCommand.d.ts +56 -4
  78. package/dist-types/commands/DescribeDashboardDefinitionCommand.d.ts +56 -4
  79. package/dist-types/commands/DescribeDataSetCommand.d.ts +64 -1
  80. package/dist-types/commands/DescribeDataSetPermissionsCommand.d.ts +1 -1
  81. package/dist-types/commands/DescribeDataSetRefreshPropertiesCommand.d.ts +1 -1
  82. package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
  83. package/dist-types/commands/DescribeDataSourcePermissionsCommand.d.ts +1 -1
  84. package/dist-types/commands/DescribeFolderCommand.d.ts +1 -1
  85. package/dist-types/commands/DescribeFolderPermissionsCommand.d.ts +1 -1
  86. package/dist-types/commands/DescribeFolderResolvedPermissionsCommand.d.ts +1 -1
  87. package/dist-types/commands/DescribeGroupCommand.d.ts +1 -1
  88. package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +1 -1
  89. package/dist-types/commands/DescribeIAMPolicyAssignmentCommand.d.ts +3 -2
  90. package/dist-types/commands/DescribeIngestionCommand.d.ts +1 -1
  91. package/dist-types/commands/DescribeIpRestrictionCommand.d.ts +1 -1
  92. package/dist-types/commands/DescribeNamespaceCommand.d.ts +1 -1
  93. package/dist-types/commands/DescribeRefreshScheduleCommand.d.ts +1 -1
  94. package/dist-types/commands/DescribeTemplateAliasCommand.d.ts +1 -1
  95. package/dist-types/commands/DescribeTemplateCommand.d.ts +1 -1
  96. package/dist-types/commands/DescribeTemplateDefinitionCommand.d.ts +57 -5
  97. package/dist-types/commands/DescribeTemplatePermissionsCommand.d.ts +1 -1
  98. package/dist-types/commands/DescribeThemeAliasCommand.d.ts +1 -1
  99. package/dist-types/commands/DescribeThemeCommand.d.ts +1 -1
  100. package/dist-types/commands/DescribeThemePermissionsCommand.d.ts +1 -1
  101. package/dist-types/commands/DescribeTopicCommand.d.ts +336 -0
  102. package/dist-types/commands/DescribeTopicPermissionsCommand.d.ts +99 -0
  103. package/dist-types/commands/DescribeTopicRefreshCommand.d.ts +95 -0
  104. package/dist-types/commands/DescribeTopicRefreshScheduleCommand.d.ts +110 -0
  105. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  106. package/dist-types/commands/DescribeVPCConnectionCommand.d.ts +121 -0
  107. package/dist-types/commands/GenerateEmbedUrlForRegisteredUserCommand.d.ts +3 -0
  108. package/dist-types/commands/ListIAMPolicyAssignmentsCommand.d.ts +3 -1
  109. package/dist-types/commands/ListIAMPolicyAssignmentsForUserCommand.d.ts +7 -3
  110. package/dist-types/commands/ListTopicRefreshSchedulesCommand.d.ts +115 -0
  111. package/dist-types/commands/ListTopicsCommand.d.ts +98 -0
  112. package/dist-types/commands/ListVPCConnectionsCommand.d.ts +126 -0
  113. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  114. package/dist-types/commands/UpdateAnalysisCommand.d.ts +56 -4
  115. package/dist-types/commands/UpdateDashboardCommand.d.ts +56 -4
  116. package/dist-types/commands/UpdateDataSetCommand.d.ts +63 -0
  117. package/dist-types/commands/UpdateIAMPolicyAssignmentCommand.d.ts +3 -4
  118. package/dist-types/commands/UpdateIpRestrictionCommand.d.ts +4 -1
  119. package/dist-types/commands/UpdateTemplateCommand.d.ts +56 -4
  120. package/dist-types/commands/UpdateTopicCommand.d.ts +346 -0
  121. package/dist-types/commands/UpdateTopicPermissionsCommand.d.ts +127 -0
  122. package/dist-types/commands/UpdateTopicRefreshScheduleCommand.d.ts +110 -0
  123. package/dist-types/commands/UpdateVPCConnectionCommand.d.ts +116 -0
  124. package/dist-types/commands/index.d.ts +18 -0
  125. package/dist-types/models/models_0.d.ts +43 -91
  126. package/dist-types/models/models_1.d.ts +210 -281
  127. package/dist-types/models/models_2.d.ts +2375 -2163
  128. package/dist-types/models/models_3.d.ts +2468 -54
  129. package/dist-types/pagination/ListTopicsPaginator.d.ts +7 -0
  130. package/dist-types/pagination/ListVPCConnectionsPaginator.d.ts +7 -0
  131. package/dist-types/pagination/index.d.ts +2 -0
  132. package/dist-types/protocols/Aws_restJson1.d.ts +162 -0
  133. package/dist-types/ts3.4/QuickSight.d.ts +306 -0
  134. package/dist-types/ts3.4/QuickSightClient.d.ts +110 -2
  135. package/dist-types/ts3.4/commands/CreateAccountCustomizationCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/CreateAccountSubscriptionCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +34 -0
  138. package/dist-types/ts3.4/commands/CreateTopicRefreshScheduleCommand.d.ts +41 -0
  139. package/dist-types/ts3.4/commands/CreateVPCConnectionCommand.d.ts +38 -0
  140. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +34 -0
  141. package/dist-types/ts3.4/commands/DeleteTopicRefreshScheduleCommand.d.ts +41 -0
  142. package/dist-types/ts3.4/commands/DeleteVPCConnectionCommand.d.ts +38 -0
  143. package/dist-types/ts3.4/commands/DescribeDataSetCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/DescribeDataSetPermissionsCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/DescribeDataSetRefreshPropertiesCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/DescribeDataSourcePermissionsCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/DescribeFolderCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/DescribeFolderPermissionsCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/DescribeFolderResolvedPermissionsCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +1 -1
  152. package/dist-types/ts3.4/commands/DescribeGroupMembershipCommand.d.ts +1 -1
  153. package/dist-types/ts3.4/commands/DescribeIAMPolicyAssignmentCommand.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/DescribeIngestionCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/DescribeIpRestrictionCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/DescribeNamespaceCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/DescribeRefreshScheduleCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/DescribeTemplateAliasCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/DescribeTemplateCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/DescribeTemplateDefinitionCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/DescribeTemplatePermissionsCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/DescribeThemeAliasCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/DescribeThemeCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/DescribeThemePermissionsCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +37 -0
  166. package/dist-types/ts3.4/commands/DescribeTopicPermissionsCommand.d.ts +41 -0
  167. package/dist-types/ts3.4/commands/DescribeTopicRefreshCommand.d.ts +41 -0
  168. package/dist-types/ts3.4/commands/DescribeTopicRefreshScheduleCommand.d.ts +41 -0
  169. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/DescribeVPCConnectionCommand.d.ts +41 -0
  171. package/dist-types/ts3.4/commands/ListTopicRefreshSchedulesCommand.d.ts +41 -0
  172. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +34 -0
  173. package/dist-types/ts3.4/commands/ListVPCConnectionsCommand.d.ts +38 -0
  174. package/dist-types/ts3.4/commands/UpdateTopicCommand.d.ts +34 -0
  175. package/dist-types/ts3.4/commands/UpdateTopicPermissionsCommand.d.ts +41 -0
  176. package/dist-types/ts3.4/commands/UpdateTopicRefreshScheduleCommand.d.ts +41 -0
  177. package/dist-types/ts3.4/commands/UpdateVPCConnectionCommand.d.ts +38 -0
  178. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  179. package/dist-types/ts3.4/models/models_0.d.ts +12 -22
  180. package/dist-types/ts3.4/models/models_1.d.ts +79 -75
  181. package/dist-types/ts3.4/models/models_2.d.ts +605 -500
  182. package/dist-types/ts3.4/models/models_3.d.ts +737 -9
  183. package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +11 -0
  184. package/dist-types/ts3.4/pagination/ListVPCConnectionsPaginator.d.ts +11 -0
  185. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  186. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +216 -0
  187. package/package.json +8 -8
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_DescribeDataSetPermissionsCommand = exports.se_DescribeDataSetCommand = exports.se_DescribeDashboardPermissionsCommand = exports.se_DescribeDashboardDefinitionCommand = exports.se_DescribeDashboardCommand = exports.se_DescribeAnalysisPermissionsCommand = exports.se_DescribeAnalysisDefinitionCommand = exports.se_DescribeAnalysisCommand = exports.se_DescribeAccountSubscriptionCommand = exports.se_DescribeAccountSettingsCommand = exports.se_DescribeAccountCustomizationCommand = exports.se_DeleteUserByPrincipalIdCommand = exports.se_DeleteUserCommand = exports.se_DeleteThemeAliasCommand = exports.se_DeleteThemeCommand = exports.se_DeleteTemplateAliasCommand = exports.se_DeleteTemplateCommand = exports.se_DeleteRefreshScheduleCommand = exports.se_DeleteNamespaceCommand = exports.se_DeleteIAMPolicyAssignmentCommand = exports.se_DeleteGroupMembershipCommand = exports.se_DeleteGroupCommand = exports.se_DeleteFolderMembershipCommand = exports.se_DeleteFolderCommand = exports.se_DeleteDataSourceCommand = exports.se_DeleteDataSetRefreshPropertiesCommand = exports.se_DeleteDataSetCommand = exports.se_DeleteDashboardCommand = exports.se_DeleteAnalysisCommand = exports.se_DeleteAccountSubscriptionCommand = exports.se_DeleteAccountCustomizationCommand = exports.se_CreateThemeAliasCommand = exports.se_CreateThemeCommand = exports.se_CreateTemplateAliasCommand = exports.se_CreateTemplateCommand = exports.se_CreateRefreshScheduleCommand = exports.se_CreateNamespaceCommand = exports.se_CreateIngestionCommand = exports.se_CreateIAMPolicyAssignmentCommand = exports.se_CreateGroupMembershipCommand = exports.se_CreateGroupCommand = exports.se_CreateFolderMembershipCommand = exports.se_CreateFolderCommand = exports.se_CreateDataSourceCommand = exports.se_CreateDataSetCommand = exports.se_CreateDashboardCommand = exports.se_CreateAnalysisCommand = exports.se_CreateAccountSubscriptionCommand = exports.se_CreateAccountCustomizationCommand = exports.se_CancelIngestionCommand = void 0;
4
- exports.se_RegisterUserCommand = exports.se_PutDataSetRefreshPropertiesCommand = exports.se_ListUsersCommand = exports.se_ListUserGroupsCommand = exports.se_ListThemeVersionsCommand = exports.se_ListThemesCommand = exports.se_ListThemeAliasesCommand = exports.se_ListTemplateVersionsCommand = exports.se_ListTemplatesCommand = exports.se_ListTemplateAliasesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListRefreshSchedulesCommand = exports.se_ListNamespacesCommand = exports.se_ListIngestionsCommand = exports.se_ListIAMPolicyAssignmentsForUserCommand = exports.se_ListIAMPolicyAssignmentsCommand = exports.se_ListGroupsCommand = exports.se_ListGroupMembershipsCommand = exports.se_ListFoldersCommand = exports.se_ListFolderMembersCommand = exports.se_ListDataSourcesCommand = exports.se_ListDataSetsCommand = exports.se_ListDashboardVersionsCommand = exports.se_ListDashboardsCommand = exports.se_ListAnalysesCommand = exports.se_GetSessionEmbedUrlCommand = exports.se_GetDashboardEmbedUrlCommand = exports.se_GenerateEmbedUrlForRegisteredUserCommand = exports.se_GenerateEmbedUrlForAnonymousUserCommand = exports.se_DescribeUserCommand = exports.se_DescribeThemePermissionsCommand = exports.se_DescribeThemeAliasCommand = exports.se_DescribeThemeCommand = exports.se_DescribeTemplatePermissionsCommand = exports.se_DescribeTemplateDefinitionCommand = exports.se_DescribeTemplateAliasCommand = exports.se_DescribeTemplateCommand = exports.se_DescribeRefreshScheduleCommand = exports.se_DescribeNamespaceCommand = exports.se_DescribeIpRestrictionCommand = exports.se_DescribeIngestionCommand = exports.se_DescribeIAMPolicyAssignmentCommand = exports.se_DescribeGroupMembershipCommand = exports.se_DescribeGroupCommand = exports.se_DescribeFolderResolvedPermissionsCommand = exports.se_DescribeFolderPermissionsCommand = exports.se_DescribeFolderCommand = exports.se_DescribeDataSourcePermissionsCommand = exports.se_DescribeDataSourceCommand = exports.se_DescribeDataSetRefreshPropertiesCommand = void 0;
5
- exports.de_CreateTemplateCommand = exports.de_CreateRefreshScheduleCommand = exports.de_CreateNamespaceCommand = exports.de_CreateIngestionCommand = exports.de_CreateIAMPolicyAssignmentCommand = exports.de_CreateGroupMembershipCommand = exports.de_CreateGroupCommand = exports.de_CreateFolderMembershipCommand = exports.de_CreateFolderCommand = exports.de_CreateDataSourceCommand = exports.de_CreateDataSetCommand = exports.de_CreateDashboardCommand = exports.de_CreateAnalysisCommand = exports.de_CreateAccountSubscriptionCommand = exports.de_CreateAccountCustomizationCommand = exports.de_CancelIngestionCommand = exports.se_UpdateUserCommand = exports.se_UpdateThemePermissionsCommand = exports.se_UpdateThemeAliasCommand = exports.se_UpdateThemeCommand = exports.se_UpdateTemplatePermissionsCommand = exports.se_UpdateTemplateAliasCommand = exports.se_UpdateTemplateCommand = exports.se_UpdateRefreshScheduleCommand = exports.se_UpdatePublicSharingSettingsCommand = exports.se_UpdateIpRestrictionCommand = exports.se_UpdateIAMPolicyAssignmentCommand = exports.se_UpdateGroupCommand = exports.se_UpdateFolderPermissionsCommand = exports.se_UpdateFolderCommand = exports.se_UpdateDataSourcePermissionsCommand = exports.se_UpdateDataSourceCommand = exports.se_UpdateDataSetPermissionsCommand = exports.se_UpdateDataSetCommand = exports.se_UpdateDashboardPublishedVersionCommand = exports.se_UpdateDashboardPermissionsCommand = exports.se_UpdateDashboardCommand = exports.se_UpdateAnalysisPermissionsCommand = exports.se_UpdateAnalysisCommand = exports.se_UpdateAccountSettingsCommand = exports.se_UpdateAccountCustomizationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SearchGroupsCommand = exports.se_SearchFoldersCommand = exports.se_SearchDataSourcesCommand = exports.se_SearchDataSetsCommand = exports.se_SearchDashboardsCommand = exports.se_SearchAnalysesCommand = exports.se_RestoreAnalysisCommand = void 0;
6
- exports.de_DescribeTemplateDefinitionCommand = exports.de_DescribeTemplateAliasCommand = exports.de_DescribeTemplateCommand = exports.de_DescribeRefreshScheduleCommand = exports.de_DescribeNamespaceCommand = exports.de_DescribeIpRestrictionCommand = exports.de_DescribeIngestionCommand = exports.de_DescribeIAMPolicyAssignmentCommand = exports.de_DescribeGroupMembershipCommand = exports.de_DescribeGroupCommand = exports.de_DescribeFolderResolvedPermissionsCommand = exports.de_DescribeFolderPermissionsCommand = exports.de_DescribeFolderCommand = exports.de_DescribeDataSourcePermissionsCommand = exports.de_DescribeDataSourceCommand = exports.de_DescribeDataSetRefreshPropertiesCommand = exports.de_DescribeDataSetPermissionsCommand = exports.de_DescribeDataSetCommand = exports.de_DescribeDashboardPermissionsCommand = exports.de_DescribeDashboardDefinitionCommand = exports.de_DescribeDashboardCommand = exports.de_DescribeAnalysisPermissionsCommand = exports.de_DescribeAnalysisDefinitionCommand = exports.de_DescribeAnalysisCommand = exports.de_DescribeAccountSubscriptionCommand = exports.de_DescribeAccountSettingsCommand = exports.de_DescribeAccountCustomizationCommand = exports.de_DeleteUserByPrincipalIdCommand = exports.de_DeleteUserCommand = exports.de_DeleteThemeAliasCommand = exports.de_DeleteThemeCommand = exports.de_DeleteTemplateAliasCommand = exports.de_DeleteTemplateCommand = exports.de_DeleteRefreshScheduleCommand = exports.de_DeleteNamespaceCommand = exports.de_DeleteIAMPolicyAssignmentCommand = exports.de_DeleteGroupMembershipCommand = exports.de_DeleteGroupCommand = exports.de_DeleteFolderMembershipCommand = exports.de_DeleteFolderCommand = exports.de_DeleteDataSourceCommand = exports.de_DeleteDataSetRefreshPropertiesCommand = exports.de_DeleteDataSetCommand = exports.de_DeleteDashboardCommand = exports.de_DeleteAnalysisCommand = exports.de_DeleteAccountSubscriptionCommand = exports.de_DeleteAccountCustomizationCommand = exports.de_CreateThemeAliasCommand = exports.de_CreateThemeCommand = exports.de_CreateTemplateAliasCommand = void 0;
7
- exports.de_UpdateDashboardPublishedVersionCommand = exports.de_UpdateDashboardPermissionsCommand = exports.de_UpdateDashboardCommand = exports.de_UpdateAnalysisPermissionsCommand = exports.de_UpdateAnalysisCommand = exports.de_UpdateAccountSettingsCommand = exports.de_UpdateAccountCustomizationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SearchGroupsCommand = exports.de_SearchFoldersCommand = exports.de_SearchDataSourcesCommand = exports.de_SearchDataSetsCommand = exports.de_SearchDashboardsCommand = exports.de_SearchAnalysesCommand = exports.de_RestoreAnalysisCommand = exports.de_RegisterUserCommand = exports.de_PutDataSetRefreshPropertiesCommand = exports.de_ListUsersCommand = exports.de_ListUserGroupsCommand = exports.de_ListThemeVersionsCommand = exports.de_ListThemesCommand = exports.de_ListThemeAliasesCommand = exports.de_ListTemplateVersionsCommand = exports.de_ListTemplatesCommand = exports.de_ListTemplateAliasesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRefreshSchedulesCommand = exports.de_ListNamespacesCommand = exports.de_ListIngestionsCommand = exports.de_ListIAMPolicyAssignmentsForUserCommand = exports.de_ListIAMPolicyAssignmentsCommand = exports.de_ListGroupsCommand = exports.de_ListGroupMembershipsCommand = exports.de_ListFoldersCommand = exports.de_ListFolderMembersCommand = exports.de_ListDataSourcesCommand = exports.de_ListDataSetsCommand = exports.de_ListDashboardVersionsCommand = exports.de_ListDashboardsCommand = exports.de_ListAnalysesCommand = exports.de_GetSessionEmbedUrlCommand = exports.de_GetDashboardEmbedUrlCommand = exports.de_GenerateEmbedUrlForRegisteredUserCommand = exports.de_GenerateEmbedUrlForAnonymousUserCommand = exports.de_DescribeUserCommand = exports.de_DescribeThemePermissionsCommand = exports.de_DescribeThemeAliasCommand = exports.de_DescribeThemeCommand = exports.de_DescribeTemplatePermissionsCommand = void 0;
8
- exports.de_UpdateUserCommand = exports.de_UpdateThemePermissionsCommand = exports.de_UpdateThemeAliasCommand = exports.de_UpdateThemeCommand = exports.de_UpdateTemplatePermissionsCommand = exports.de_UpdateTemplateAliasCommand = exports.de_UpdateTemplateCommand = exports.de_UpdateRefreshScheduleCommand = exports.de_UpdatePublicSharingSettingsCommand = exports.de_UpdateIpRestrictionCommand = exports.de_UpdateIAMPolicyAssignmentCommand = exports.de_UpdateGroupCommand = exports.de_UpdateFolderPermissionsCommand = exports.de_UpdateFolderCommand = exports.de_UpdateDataSourcePermissionsCommand = exports.de_UpdateDataSourceCommand = exports.de_UpdateDataSetPermissionsCommand = exports.de_UpdateDataSetCommand = void 0;
3
+ exports.se_DescribeAnalysisDefinitionCommand = exports.se_DescribeAnalysisCommand = exports.se_DescribeAccountSubscriptionCommand = exports.se_DescribeAccountSettingsCommand = exports.se_DescribeAccountCustomizationCommand = exports.se_DeleteVPCConnectionCommand = exports.se_DeleteUserByPrincipalIdCommand = exports.se_DeleteUserCommand = exports.se_DeleteTopicRefreshScheduleCommand = exports.se_DeleteTopicCommand = exports.se_DeleteThemeAliasCommand = exports.se_DeleteThemeCommand = exports.se_DeleteTemplateAliasCommand = exports.se_DeleteTemplateCommand = exports.se_DeleteRefreshScheduleCommand = exports.se_DeleteNamespaceCommand = exports.se_DeleteIAMPolicyAssignmentCommand = exports.se_DeleteGroupMembershipCommand = exports.se_DeleteGroupCommand = exports.se_DeleteFolderMembershipCommand = exports.se_DeleteFolderCommand = exports.se_DeleteDataSourceCommand = exports.se_DeleteDataSetRefreshPropertiesCommand = exports.se_DeleteDataSetCommand = exports.se_DeleteDashboardCommand = exports.se_DeleteAnalysisCommand = exports.se_DeleteAccountSubscriptionCommand = exports.se_DeleteAccountCustomizationCommand = exports.se_CreateVPCConnectionCommand = exports.se_CreateTopicRefreshScheduleCommand = exports.se_CreateTopicCommand = exports.se_CreateThemeAliasCommand = exports.se_CreateThemeCommand = exports.se_CreateTemplateAliasCommand = exports.se_CreateTemplateCommand = exports.se_CreateRefreshScheduleCommand = exports.se_CreateNamespaceCommand = exports.se_CreateIngestionCommand = exports.se_CreateIAMPolicyAssignmentCommand = exports.se_CreateGroupMembershipCommand = exports.se_CreateGroupCommand = exports.se_CreateFolderMembershipCommand = exports.se_CreateFolderCommand = exports.se_CreateDataSourceCommand = exports.se_CreateDataSetCommand = exports.se_CreateDashboardCommand = exports.se_CreateAnalysisCommand = exports.se_CreateAccountSubscriptionCommand = exports.se_CreateAccountCustomizationCommand = exports.se_CancelIngestionCommand = void 0;
4
+ exports.se_ListRefreshSchedulesCommand = exports.se_ListNamespacesCommand = exports.se_ListIngestionsCommand = exports.se_ListIAMPolicyAssignmentsForUserCommand = exports.se_ListIAMPolicyAssignmentsCommand = exports.se_ListGroupsCommand = exports.se_ListGroupMembershipsCommand = exports.se_ListFoldersCommand = exports.se_ListFolderMembersCommand = exports.se_ListDataSourcesCommand = exports.se_ListDataSetsCommand = exports.se_ListDashboardVersionsCommand = exports.se_ListDashboardsCommand = exports.se_ListAnalysesCommand = exports.se_GetSessionEmbedUrlCommand = exports.se_GetDashboardEmbedUrlCommand = exports.se_GenerateEmbedUrlForRegisteredUserCommand = exports.se_GenerateEmbedUrlForAnonymousUserCommand = exports.se_DescribeVPCConnectionCommand = exports.se_DescribeUserCommand = exports.se_DescribeTopicRefreshScheduleCommand = exports.se_DescribeTopicRefreshCommand = exports.se_DescribeTopicPermissionsCommand = exports.se_DescribeTopicCommand = exports.se_DescribeThemePermissionsCommand = exports.se_DescribeThemeAliasCommand = exports.se_DescribeThemeCommand = exports.se_DescribeTemplatePermissionsCommand = exports.se_DescribeTemplateDefinitionCommand = exports.se_DescribeTemplateAliasCommand = exports.se_DescribeTemplateCommand = exports.se_DescribeRefreshScheduleCommand = exports.se_DescribeNamespaceCommand = exports.se_DescribeIpRestrictionCommand = exports.se_DescribeIngestionCommand = exports.se_DescribeIAMPolicyAssignmentCommand = exports.se_DescribeGroupMembershipCommand = exports.se_DescribeGroupCommand = exports.se_DescribeFolderResolvedPermissionsCommand = exports.se_DescribeFolderPermissionsCommand = exports.se_DescribeFolderCommand = exports.se_DescribeDataSourcePermissionsCommand = exports.se_DescribeDataSourceCommand = exports.se_DescribeDataSetRefreshPropertiesCommand = exports.se_DescribeDataSetPermissionsCommand = exports.se_DescribeDataSetCommand = exports.se_DescribeDashboardPermissionsCommand = exports.se_DescribeDashboardDefinitionCommand = exports.se_DescribeDashboardCommand = exports.se_DescribeAnalysisPermissionsCommand = void 0;
5
+ exports.se_UpdateTopicRefreshScheduleCommand = exports.se_UpdateTopicPermissionsCommand = exports.se_UpdateTopicCommand = exports.se_UpdateThemePermissionsCommand = exports.se_UpdateThemeAliasCommand = exports.se_UpdateThemeCommand = exports.se_UpdateTemplatePermissionsCommand = exports.se_UpdateTemplateAliasCommand = exports.se_UpdateTemplateCommand = exports.se_UpdateRefreshScheduleCommand = exports.se_UpdatePublicSharingSettingsCommand = exports.se_UpdateIpRestrictionCommand = exports.se_UpdateIAMPolicyAssignmentCommand = exports.se_UpdateGroupCommand = exports.se_UpdateFolderPermissionsCommand = exports.se_UpdateFolderCommand = exports.se_UpdateDataSourcePermissionsCommand = exports.se_UpdateDataSourceCommand = exports.se_UpdateDataSetPermissionsCommand = exports.se_UpdateDataSetCommand = exports.se_UpdateDashboardPublishedVersionCommand = exports.se_UpdateDashboardPermissionsCommand = exports.se_UpdateDashboardCommand = exports.se_UpdateAnalysisPermissionsCommand = exports.se_UpdateAnalysisCommand = exports.se_UpdateAccountSettingsCommand = exports.se_UpdateAccountCustomizationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SearchGroupsCommand = exports.se_SearchFoldersCommand = exports.se_SearchDataSourcesCommand = exports.se_SearchDataSetsCommand = exports.se_SearchDashboardsCommand = exports.se_SearchAnalysesCommand = exports.se_RestoreAnalysisCommand = exports.se_RegisterUserCommand = exports.se_PutDataSetRefreshPropertiesCommand = exports.se_ListVPCConnectionsCommand = exports.se_ListUsersCommand = exports.se_ListUserGroupsCommand = exports.se_ListTopicsCommand = exports.se_ListTopicRefreshSchedulesCommand = exports.se_ListThemeVersionsCommand = exports.se_ListThemesCommand = exports.se_ListThemeAliasesCommand = exports.se_ListTemplateVersionsCommand = exports.se_ListTemplatesCommand = exports.se_ListTemplateAliasesCommand = exports.se_ListTagsForResourceCommand = void 0;
6
+ exports.de_DescribeAccountSubscriptionCommand = exports.de_DescribeAccountSettingsCommand = exports.de_DescribeAccountCustomizationCommand = exports.de_DeleteVPCConnectionCommand = exports.de_DeleteUserByPrincipalIdCommand = exports.de_DeleteUserCommand = exports.de_DeleteTopicRefreshScheduleCommand = exports.de_DeleteTopicCommand = exports.de_DeleteThemeAliasCommand = exports.de_DeleteThemeCommand = exports.de_DeleteTemplateAliasCommand = exports.de_DeleteTemplateCommand = exports.de_DeleteRefreshScheduleCommand = exports.de_DeleteNamespaceCommand = exports.de_DeleteIAMPolicyAssignmentCommand = exports.de_DeleteGroupMembershipCommand = exports.de_DeleteGroupCommand = exports.de_DeleteFolderMembershipCommand = exports.de_DeleteFolderCommand = exports.de_DeleteDataSourceCommand = exports.de_DeleteDataSetRefreshPropertiesCommand = exports.de_DeleteDataSetCommand = exports.de_DeleteDashboardCommand = exports.de_DeleteAnalysisCommand = exports.de_DeleteAccountSubscriptionCommand = exports.de_DeleteAccountCustomizationCommand = exports.de_CreateVPCConnectionCommand = exports.de_CreateTopicRefreshScheduleCommand = exports.de_CreateTopicCommand = exports.de_CreateThemeAliasCommand = exports.de_CreateThemeCommand = exports.de_CreateTemplateAliasCommand = exports.de_CreateTemplateCommand = exports.de_CreateRefreshScheduleCommand = exports.de_CreateNamespaceCommand = exports.de_CreateIngestionCommand = exports.de_CreateIAMPolicyAssignmentCommand = exports.de_CreateGroupMembershipCommand = exports.de_CreateGroupCommand = exports.de_CreateFolderMembershipCommand = exports.de_CreateFolderCommand = exports.de_CreateDataSourceCommand = exports.de_CreateDataSetCommand = exports.de_CreateDashboardCommand = exports.de_CreateAnalysisCommand = exports.de_CreateAccountSubscriptionCommand = exports.de_CreateAccountCustomizationCommand = exports.de_CancelIngestionCommand = exports.se_UpdateVPCConnectionCommand = exports.se_UpdateUserCommand = void 0;
7
+ exports.de_ListIngestionsCommand = exports.de_ListIAMPolicyAssignmentsForUserCommand = exports.de_ListIAMPolicyAssignmentsCommand = exports.de_ListGroupsCommand = exports.de_ListGroupMembershipsCommand = exports.de_ListFoldersCommand = exports.de_ListFolderMembersCommand = exports.de_ListDataSourcesCommand = exports.de_ListDataSetsCommand = exports.de_ListDashboardVersionsCommand = exports.de_ListDashboardsCommand = exports.de_ListAnalysesCommand = exports.de_GetSessionEmbedUrlCommand = exports.de_GetDashboardEmbedUrlCommand = exports.de_GenerateEmbedUrlForRegisteredUserCommand = exports.de_GenerateEmbedUrlForAnonymousUserCommand = exports.de_DescribeVPCConnectionCommand = exports.de_DescribeUserCommand = exports.de_DescribeTopicRefreshScheduleCommand = exports.de_DescribeTopicRefreshCommand = exports.de_DescribeTopicPermissionsCommand = exports.de_DescribeTopicCommand = exports.de_DescribeThemePermissionsCommand = exports.de_DescribeThemeAliasCommand = exports.de_DescribeThemeCommand = exports.de_DescribeTemplatePermissionsCommand = exports.de_DescribeTemplateDefinitionCommand = exports.de_DescribeTemplateAliasCommand = exports.de_DescribeTemplateCommand = exports.de_DescribeRefreshScheduleCommand = exports.de_DescribeNamespaceCommand = exports.de_DescribeIpRestrictionCommand = exports.de_DescribeIngestionCommand = exports.de_DescribeIAMPolicyAssignmentCommand = exports.de_DescribeGroupMembershipCommand = exports.de_DescribeGroupCommand = exports.de_DescribeFolderResolvedPermissionsCommand = exports.de_DescribeFolderPermissionsCommand = exports.de_DescribeFolderCommand = exports.de_DescribeDataSourcePermissionsCommand = exports.de_DescribeDataSourceCommand = exports.de_DescribeDataSetRefreshPropertiesCommand = exports.de_DescribeDataSetPermissionsCommand = exports.de_DescribeDataSetCommand = exports.de_DescribeDashboardPermissionsCommand = exports.de_DescribeDashboardDefinitionCommand = exports.de_DescribeDashboardCommand = exports.de_DescribeAnalysisPermissionsCommand = exports.de_DescribeAnalysisDefinitionCommand = exports.de_DescribeAnalysisCommand = void 0;
8
+ exports.de_UpdateTopicCommand = exports.de_UpdateThemePermissionsCommand = exports.de_UpdateThemeAliasCommand = exports.de_UpdateThemeCommand = exports.de_UpdateTemplatePermissionsCommand = exports.de_UpdateTemplateAliasCommand = exports.de_UpdateTemplateCommand = exports.de_UpdateRefreshScheduleCommand = exports.de_UpdatePublicSharingSettingsCommand = exports.de_UpdateIpRestrictionCommand = exports.de_UpdateIAMPolicyAssignmentCommand = exports.de_UpdateGroupCommand = exports.de_UpdateFolderPermissionsCommand = exports.de_UpdateFolderCommand = exports.de_UpdateDataSourcePermissionsCommand = exports.de_UpdateDataSourceCommand = exports.de_UpdateDataSetPermissionsCommand = exports.de_UpdateDataSetCommand = exports.de_UpdateDashboardPublishedVersionCommand = exports.de_UpdateDashboardPermissionsCommand = exports.de_UpdateDashboardCommand = exports.de_UpdateAnalysisPermissionsCommand = exports.de_UpdateAnalysisCommand = exports.de_UpdateAccountSettingsCommand = exports.de_UpdateAccountCustomizationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SearchGroupsCommand = exports.de_SearchFoldersCommand = exports.de_SearchDataSourcesCommand = exports.de_SearchDataSetsCommand = exports.de_SearchDashboardsCommand = exports.de_SearchAnalysesCommand = exports.de_RestoreAnalysisCommand = exports.de_RegisterUserCommand = exports.de_PutDataSetRefreshPropertiesCommand = exports.de_ListVPCConnectionsCommand = exports.de_ListUsersCommand = exports.de_ListUserGroupsCommand = exports.de_ListTopicsCommand = exports.de_ListTopicRefreshSchedulesCommand = exports.de_ListThemeVersionsCommand = exports.de_ListThemesCommand = exports.de_ListThemeAliasesCommand = exports.de_ListTemplateVersionsCommand = exports.de_ListTemplatesCommand = exports.de_ListTemplateAliasesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRefreshSchedulesCommand = exports.de_ListNamespacesCommand = void 0;
9
+ exports.de_UpdateVPCConnectionCommand = exports.de_UpdateUserCommand = exports.de_UpdateTopicRefreshScheduleCommand = exports.de_UpdateTopicPermissionsCommand = void 0;
9
10
  const protocol_http_1 = require("@aws-sdk/protocol-http");
10
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
11
12
  const models_0_1 = require("../models/models_0");
@@ -170,9 +171,10 @@ const se_CreateDataSetCommand = async (input, context) => {
170
171
  ColumnLevelPermissionRules: (_) => (0, smithy_client_1._json)(_),
171
172
  DataSetId: [],
172
173
  DataSetUsageConfiguration: (_) => (0, smithy_client_1._json)(_),
174
+ DatasetParameters: (_) => se_DatasetParameterList(_, context),
173
175
  FieldFolders: (_) => (0, smithy_client_1._json)(_),
174
176
  ImportMode: [],
175
- LogicalTableMap: (_) => (0, smithy_client_1._json)(_),
177
+ LogicalTableMap: (_) => se_LogicalTableMap(_, context),
176
178
  Name: [],
177
179
  Permissions: (_) => (0, smithy_client_1._json)(_),
178
180
  PhysicalTableMap: (_) => (0, smithy_client_1._json)(_),
@@ -523,6 +525,84 @@ const se_CreateThemeAliasCommand = async (input, context) => {
523
525
  });
524
526
  };
525
527
  exports.se_CreateThemeAliasCommand = se_CreateThemeAliasCommand;
528
+ const se_CreateTopicCommand = async (input, context) => {
529
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
530
+ const headers = {
531
+ "content-type": "application/json",
532
+ };
533
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics";
534
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
535
+ let body;
536
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
537
+ Tags: (_) => (0, smithy_client_1._json)(_),
538
+ Topic: (_) => (0, smithy_client_1._json)(_),
539
+ TopicId: [],
540
+ }));
541
+ return new protocol_http_1.HttpRequest({
542
+ protocol,
543
+ hostname,
544
+ port,
545
+ method: "POST",
546
+ headers,
547
+ path: resolvedPath,
548
+ body,
549
+ });
550
+ };
551
+ exports.se_CreateTopicCommand = se_CreateTopicCommand;
552
+ const se_CreateTopicRefreshScheduleCommand = async (input, context) => {
553
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
554
+ const headers = {
555
+ "content-type": "application/json",
556
+ };
557
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
558
+ "/accounts/{AwsAccountId}/topics/{TopicId}/schedules";
559
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
560
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
561
+ let body;
562
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
563
+ DatasetArn: [],
564
+ DatasetName: [],
565
+ RefreshSchedule: (_) => se_TopicRefreshSchedule(_, context),
566
+ }));
567
+ return new protocol_http_1.HttpRequest({
568
+ protocol,
569
+ hostname,
570
+ port,
571
+ method: "POST",
572
+ headers,
573
+ path: resolvedPath,
574
+ body,
575
+ });
576
+ };
577
+ exports.se_CreateTopicRefreshScheduleCommand = se_CreateTopicRefreshScheduleCommand;
578
+ const se_CreateVPCConnectionCommand = async (input, context) => {
579
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
580
+ const headers = {
581
+ "content-type": "application/json",
582
+ };
583
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/vpc-connections";
584
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
585
+ let body;
586
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
587
+ DnsResolvers: (_) => (0, smithy_client_1._json)(_),
588
+ Name: [],
589
+ RoleArn: [],
590
+ SecurityGroupIds: (_) => (0, smithy_client_1._json)(_),
591
+ SubnetIds: (_) => (0, smithy_client_1._json)(_),
592
+ Tags: (_) => (0, smithy_client_1._json)(_),
593
+ VPCConnectionId: [],
594
+ }));
595
+ return new protocol_http_1.HttpRequest({
596
+ protocol,
597
+ hostname,
598
+ port,
599
+ method: "POST",
600
+ headers,
601
+ path: resolvedPath,
602
+ body,
603
+ });
604
+ };
605
+ exports.se_CreateVPCConnectionCommand = se_CreateVPCConnectionCommand;
526
606
  const se_DeleteAccountCustomizationCommand = async (input, context) => {
527
607
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
528
608
  const headers = {};
@@ -896,6 +976,44 @@ const se_DeleteThemeAliasCommand = async (input, context) => {
896
976
  });
897
977
  };
898
978
  exports.se_DeleteThemeAliasCommand = se_DeleteThemeAliasCommand;
979
+ const se_DeleteTopicCommand = async (input, context) => {
980
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
981
+ const headers = {};
982
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics/{TopicId}";
983
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
984
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
985
+ let body;
986
+ return new protocol_http_1.HttpRequest({
987
+ protocol,
988
+ hostname,
989
+ port,
990
+ method: "DELETE",
991
+ headers,
992
+ path: resolvedPath,
993
+ body,
994
+ });
995
+ };
996
+ exports.se_DeleteTopicCommand = se_DeleteTopicCommand;
997
+ const se_DeleteTopicRefreshScheduleCommand = async (input, context) => {
998
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
999
+ const headers = {};
1000
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1001
+ "/accounts/{AwsAccountId}/topics/{TopicId}/schedules/{DatasetId}";
1002
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1003
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
1004
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DatasetId", () => input.DatasetId, "{DatasetId}", false);
1005
+ let body;
1006
+ return new protocol_http_1.HttpRequest({
1007
+ protocol,
1008
+ hostname,
1009
+ port,
1010
+ method: "DELETE",
1011
+ headers,
1012
+ path: resolvedPath,
1013
+ body,
1014
+ });
1015
+ };
1016
+ exports.se_DeleteTopicRefreshScheduleCommand = se_DeleteTopicRefreshScheduleCommand;
899
1017
  const se_DeleteUserCommand = async (input, context) => {
900
1018
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
901
1019
  const headers = {};
@@ -936,6 +1054,25 @@ const se_DeleteUserByPrincipalIdCommand = async (input, context) => {
936
1054
  });
937
1055
  };
938
1056
  exports.se_DeleteUserByPrincipalIdCommand = se_DeleteUserByPrincipalIdCommand;
1057
+ const se_DeleteVPCConnectionCommand = async (input, context) => {
1058
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1059
+ const headers = {};
1060
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1061
+ "/accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}";
1062
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1063
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VPCConnectionId", () => input.VPCConnectionId, "{VPCConnectionId}", false);
1064
+ let body;
1065
+ return new protocol_http_1.HttpRequest({
1066
+ protocol,
1067
+ hostname,
1068
+ port,
1069
+ method: "DELETE",
1070
+ headers,
1071
+ path: resolvedPath,
1072
+ body,
1073
+ });
1074
+ };
1075
+ exports.se_DeleteVPCConnectionCommand = se_DeleteVPCConnectionCommand;
939
1076
  const se_DescribeAccountCustomizationCommand = async (input, context) => {
940
1077
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
941
1078
  const headers = {};
@@ -1554,6 +1691,83 @@ const se_DescribeThemePermissionsCommand = async (input, context) => {
1554
1691
  });
1555
1692
  };
1556
1693
  exports.se_DescribeThemePermissionsCommand = se_DescribeThemePermissionsCommand;
1694
+ const se_DescribeTopicCommand = async (input, context) => {
1695
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1696
+ const headers = {};
1697
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics/{TopicId}";
1698
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1699
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
1700
+ let body;
1701
+ return new protocol_http_1.HttpRequest({
1702
+ protocol,
1703
+ hostname,
1704
+ port,
1705
+ method: "GET",
1706
+ headers,
1707
+ path: resolvedPath,
1708
+ body,
1709
+ });
1710
+ };
1711
+ exports.se_DescribeTopicCommand = se_DescribeTopicCommand;
1712
+ const se_DescribeTopicPermissionsCommand = async (input, context) => {
1713
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1714
+ const headers = {};
1715
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1716
+ "/accounts/{AwsAccountId}/topics/{TopicId}/permissions";
1717
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1718
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
1719
+ let body;
1720
+ return new protocol_http_1.HttpRequest({
1721
+ protocol,
1722
+ hostname,
1723
+ port,
1724
+ method: "GET",
1725
+ headers,
1726
+ path: resolvedPath,
1727
+ body,
1728
+ });
1729
+ };
1730
+ exports.se_DescribeTopicPermissionsCommand = se_DescribeTopicPermissionsCommand;
1731
+ const se_DescribeTopicRefreshCommand = async (input, context) => {
1732
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1733
+ const headers = {};
1734
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1735
+ "/accounts/{AwsAccountId}/topics/{TopicId}/refresh/{RefreshId}";
1736
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1737
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
1738
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RefreshId", () => input.RefreshId, "{RefreshId}", false);
1739
+ let body;
1740
+ return new protocol_http_1.HttpRequest({
1741
+ protocol,
1742
+ hostname,
1743
+ port,
1744
+ method: "GET",
1745
+ headers,
1746
+ path: resolvedPath,
1747
+ body,
1748
+ });
1749
+ };
1750
+ exports.se_DescribeTopicRefreshCommand = se_DescribeTopicRefreshCommand;
1751
+ const se_DescribeTopicRefreshScheduleCommand = async (input, context) => {
1752
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1753
+ const headers = {};
1754
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1755
+ "/accounts/{AwsAccountId}/topics/{TopicId}/schedules/{DatasetId}";
1756
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1757
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
1758
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DatasetId", () => input.DatasetId, "{DatasetId}", false);
1759
+ let body;
1760
+ return new protocol_http_1.HttpRequest({
1761
+ protocol,
1762
+ hostname,
1763
+ port,
1764
+ method: "GET",
1765
+ headers,
1766
+ path: resolvedPath,
1767
+ body,
1768
+ });
1769
+ };
1770
+ exports.se_DescribeTopicRefreshScheduleCommand = se_DescribeTopicRefreshScheduleCommand;
1557
1771
  const se_DescribeUserCommand = async (input, context) => {
1558
1772
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1559
1773
  const headers = {};
@@ -1574,6 +1788,25 @@ const se_DescribeUserCommand = async (input, context) => {
1574
1788
  });
1575
1789
  };
1576
1790
  exports.se_DescribeUserCommand = se_DescribeUserCommand;
1791
+ const se_DescribeVPCConnectionCommand = async (input, context) => {
1792
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1793
+ const headers = {};
1794
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1795
+ "/accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}";
1796
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1797
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VPCConnectionId", () => input.VPCConnectionId, "{VPCConnectionId}", false);
1798
+ let body;
1799
+ return new protocol_http_1.HttpRequest({
1800
+ protocol,
1801
+ hostname,
1802
+ port,
1803
+ method: "GET",
1804
+ headers,
1805
+ path: resolvedPath,
1806
+ body,
1807
+ });
1808
+ };
1809
+ exports.se_DescribeVPCConnectionCommand = se_DescribeVPCConnectionCommand;
1577
1810
  const se_GenerateEmbedUrlForAnonymousUserCommand = async (input, context) => {
1578
1811
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1579
1812
  const headers = {
@@ -1903,21 +2136,17 @@ const se_ListGroupsCommand = async (input, context) => {
1903
2136
  exports.se_ListGroupsCommand = se_ListGroupsCommand;
1904
2137
  const se_ListIAMPolicyAssignmentsCommand = async (input, context) => {
1905
2138
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1906
- const headers = {
1907
- "content-type": "application/json",
1908
- };
2139
+ const headers = {};
1909
2140
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1910
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments";
2141
+ "/accounts/{AwsAccountId}/namespaces/{Namespace}/v2/iam-policy-assignments";
1911
2142
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1912
2143
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
1913
2144
  const query = (0, smithy_client_1.map)({
2145
+ "assignment-status": [, input.AssignmentStatus],
1914
2146
  "next-token": [, input.NextToken],
1915
2147
  "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1916
2148
  });
1917
2149
  let body;
1918
- body = JSON.stringify((0, smithy_client_1.take)(input, {
1919
- AssignmentStatus: [],
1920
- }));
1921
2150
  return new protocol_http_1.HttpRequest({
1922
2151
  protocol,
1923
2152
  hostname,
@@ -2178,6 +2407,47 @@ const se_ListThemeVersionsCommand = async (input, context) => {
2178
2407
  });
2179
2408
  };
2180
2409
  exports.se_ListThemeVersionsCommand = se_ListThemeVersionsCommand;
2410
+ const se_ListTopicRefreshSchedulesCommand = async (input, context) => {
2411
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2412
+ const headers = {};
2413
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2414
+ "/accounts/{AwsAccountId}/topics/{TopicId}/schedules";
2415
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
2416
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
2417
+ let body;
2418
+ return new protocol_http_1.HttpRequest({
2419
+ protocol,
2420
+ hostname,
2421
+ port,
2422
+ method: "GET",
2423
+ headers,
2424
+ path: resolvedPath,
2425
+ body,
2426
+ });
2427
+ };
2428
+ exports.se_ListTopicRefreshSchedulesCommand = se_ListTopicRefreshSchedulesCommand;
2429
+ const se_ListTopicsCommand = async (input, context) => {
2430
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2431
+ const headers = {};
2432
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics";
2433
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
2434
+ const query = (0, smithy_client_1.map)({
2435
+ "next-token": [, input.NextToken],
2436
+ "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
2437
+ });
2438
+ let body;
2439
+ return new protocol_http_1.HttpRequest({
2440
+ protocol,
2441
+ hostname,
2442
+ port,
2443
+ method: "GET",
2444
+ headers,
2445
+ path: resolvedPath,
2446
+ query,
2447
+ body,
2448
+ });
2449
+ };
2450
+ exports.se_ListTopicsCommand = se_ListTopicsCommand;
2181
2451
  const se_ListUserGroupsCommand = async (input, context) => {
2182
2452
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2183
2453
  const headers = {};
@@ -2227,6 +2497,28 @@ const se_ListUsersCommand = async (input, context) => {
2227
2497
  });
2228
2498
  };
2229
2499
  exports.se_ListUsersCommand = se_ListUsersCommand;
2500
+ const se_ListVPCConnectionsCommand = async (input, context) => {
2501
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2502
+ const headers = {};
2503
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/vpc-connections";
2504
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
2505
+ const query = (0, smithy_client_1.map)({
2506
+ "next-token": [, input.NextToken],
2507
+ "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
2508
+ });
2509
+ let body;
2510
+ return new protocol_http_1.HttpRequest({
2511
+ protocol,
2512
+ hostname,
2513
+ port,
2514
+ method: "GET",
2515
+ headers,
2516
+ path: resolvedPath,
2517
+ query,
2518
+ body,
2519
+ });
2520
+ };
2521
+ exports.se_ListVPCConnectionsCommand = se_ListVPCConnectionsCommand;
2230
2522
  const se_PutDataSetRefreshPropertiesCommand = async (input, context) => {
2231
2523
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2232
2524
  const headers = {
@@ -2694,9 +2986,10 @@ const se_UpdateDataSetCommand = async (input, context) => {
2694
2986
  ColumnGroups: (_) => (0, smithy_client_1._json)(_),
2695
2987
  ColumnLevelPermissionRules: (_) => (0, smithy_client_1._json)(_),
2696
2988
  DataSetUsageConfiguration: (_) => (0, smithy_client_1._json)(_),
2989
+ DatasetParameters: (_) => se_DatasetParameterList(_, context),
2697
2990
  FieldFolders: (_) => (0, smithy_client_1._json)(_),
2698
2991
  ImportMode: [],
2699
- LogicalTableMap: (_) => (0, smithy_client_1._json)(_),
2992
+ LogicalTableMap: (_) => se_LogicalTableMap(_, context),
2700
2993
  Name: [],
2701
2994
  PhysicalTableMap: (_) => (0, smithy_client_1._json)(_),
2702
2995
  RowLevelPermissionDataSet: (_) => (0, smithy_client_1._json)(_),
@@ -3115,25 +3408,17 @@ const se_UpdateThemePermissionsCommand = async (input, context) => {
3115
3408
  });
3116
3409
  };
3117
3410
  exports.se_UpdateThemePermissionsCommand = se_UpdateThemePermissionsCommand;
3118
- const se_UpdateUserCommand = async (input, context) => {
3411
+ const se_UpdateTopicCommand = async (input, context) => {
3119
3412
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3120
3413
  const headers = {
3121
3414
  "content-type": "application/json",
3122
3415
  };
3123
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
3124
- "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
3125
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UserName", () => input.UserName, "{UserName}", false);
3416
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/{AwsAccountId}/topics/{TopicId}";
3126
3417
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
3127
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
3418
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
3128
3419
  let body;
3129
3420
  body = JSON.stringify((0, smithy_client_1.take)(input, {
3130
- CustomFederationProviderUrl: [],
3131
- CustomPermissionsName: [],
3132
- Email: [],
3133
- ExternalLoginFederationProviderType: [],
3134
- ExternalLoginId: [],
3135
- Role: [],
3136
- UnapplyCustomPermissions: [],
3421
+ Topic: (_) => (0, smithy_client_1._json)(_),
3137
3422
  }));
3138
3423
  return new protocol_http_1.HttpRequest({
3139
3424
  protocol,
@@ -3145,13 +3430,122 @@ const se_UpdateUserCommand = async (input, context) => {
3145
3430
  body,
3146
3431
  });
3147
3432
  };
3148
- exports.se_UpdateUserCommand = se_UpdateUserCommand;
3149
- const de_CancelIngestionCommand = async (output, context) => {
3150
- if (output.statusCode !== 200 && output.statusCode >= 300) {
3151
- return de_CancelIngestionCommandError(output, context);
3152
- }
3153
- const contents = (0, smithy_client_1.map)({
3154
- $metadata: deserializeMetadata(output),
3433
+ exports.se_UpdateTopicCommand = se_UpdateTopicCommand;
3434
+ const se_UpdateTopicPermissionsCommand = async (input, context) => {
3435
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3436
+ const headers = {
3437
+ "content-type": "application/json",
3438
+ };
3439
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
3440
+ "/accounts/{AwsAccountId}/topics/{TopicId}/permissions";
3441
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
3442
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
3443
+ let body;
3444
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3445
+ GrantPermissions: (_) => (0, smithy_client_1._json)(_),
3446
+ RevokePermissions: (_) => (0, smithy_client_1._json)(_),
3447
+ }));
3448
+ return new protocol_http_1.HttpRequest({
3449
+ protocol,
3450
+ hostname,
3451
+ port,
3452
+ method: "PUT",
3453
+ headers,
3454
+ path: resolvedPath,
3455
+ body,
3456
+ });
3457
+ };
3458
+ exports.se_UpdateTopicPermissionsCommand = se_UpdateTopicPermissionsCommand;
3459
+ const se_UpdateTopicRefreshScheduleCommand = async (input, context) => {
3460
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3461
+ const headers = {
3462
+ "content-type": "application/json",
3463
+ };
3464
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
3465
+ "/accounts/{AwsAccountId}/topics/{TopicId}/schedules/{DatasetId}";
3466
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
3467
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TopicId", () => input.TopicId, "{TopicId}", false);
3468
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DatasetId", () => input.DatasetId, "{DatasetId}", false);
3469
+ let body;
3470
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3471
+ RefreshSchedule: (_) => se_TopicRefreshSchedule(_, context),
3472
+ }));
3473
+ return new protocol_http_1.HttpRequest({
3474
+ protocol,
3475
+ hostname,
3476
+ port,
3477
+ method: "PUT",
3478
+ headers,
3479
+ path: resolvedPath,
3480
+ body,
3481
+ });
3482
+ };
3483
+ exports.se_UpdateTopicRefreshScheduleCommand = se_UpdateTopicRefreshScheduleCommand;
3484
+ const se_UpdateUserCommand = async (input, context) => {
3485
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3486
+ const headers = {
3487
+ "content-type": "application/json",
3488
+ };
3489
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
3490
+ "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}";
3491
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UserName", () => input.UserName, "{UserName}", false);
3492
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
3493
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Namespace", () => input.Namespace, "{Namespace}", false);
3494
+ let body;
3495
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3496
+ CustomFederationProviderUrl: [],
3497
+ CustomPermissionsName: [],
3498
+ Email: [],
3499
+ ExternalLoginFederationProviderType: [],
3500
+ ExternalLoginId: [],
3501
+ Role: [],
3502
+ UnapplyCustomPermissions: [],
3503
+ }));
3504
+ return new protocol_http_1.HttpRequest({
3505
+ protocol,
3506
+ hostname,
3507
+ port,
3508
+ method: "PUT",
3509
+ headers,
3510
+ path: resolvedPath,
3511
+ body,
3512
+ });
3513
+ };
3514
+ exports.se_UpdateUserCommand = se_UpdateUserCommand;
3515
+ const se_UpdateVPCConnectionCommand = async (input, context) => {
3516
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
3517
+ const headers = {
3518
+ "content-type": "application/json",
3519
+ };
3520
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
3521
+ "/accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}";
3522
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
3523
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VPCConnectionId", () => input.VPCConnectionId, "{VPCConnectionId}", false);
3524
+ let body;
3525
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
3526
+ DnsResolvers: (_) => (0, smithy_client_1._json)(_),
3527
+ Name: [],
3528
+ RoleArn: [],
3529
+ SecurityGroupIds: (_) => (0, smithy_client_1._json)(_),
3530
+ SubnetIds: (_) => (0, smithy_client_1._json)(_),
3531
+ }));
3532
+ return new protocol_http_1.HttpRequest({
3533
+ protocol,
3534
+ hostname,
3535
+ port,
3536
+ method: "PUT",
3537
+ headers,
3538
+ path: resolvedPath,
3539
+ body,
3540
+ });
3541
+ };
3542
+ exports.se_UpdateVPCConnectionCommand = se_UpdateVPCConnectionCommand;
3543
+ const de_CancelIngestionCommand = async (output, context) => {
3544
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3545
+ return de_CancelIngestionCommandError(output, context);
3546
+ }
3547
+ const contents = (0, smithy_client_1.map)({
3548
+ $metadata: deserializeMetadata(output),
3155
3549
  });
3156
3550
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3157
3551
  const doc = (0, smithy_client_1.take)(data, {
@@ -4300,16 +4694,19 @@ const de_CreateThemeAliasCommandError = async (output, context) => {
4300
4694
  });
4301
4695
  }
4302
4696
  };
4303
- const de_DeleteAccountCustomizationCommand = async (output, context) => {
4697
+ const de_CreateTopicCommand = async (output, context) => {
4304
4698
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4305
- return de_DeleteAccountCustomizationCommandError(output, context);
4699
+ return de_CreateTopicCommandError(output, context);
4306
4700
  }
4307
4701
  const contents = (0, smithy_client_1.map)({
4308
4702
  $metadata: deserializeMetadata(output),
4309
4703
  });
4310
4704
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4311
4705
  const doc = (0, smithy_client_1.take)(data, {
4706
+ Arn: smithy_client_1.expectString,
4707
+ RefreshArn: smithy_client_1.expectString,
4312
4708
  RequestId: smithy_client_1.expectString,
4709
+ TopicId: smithy_client_1.expectString,
4313
4710
  });
4314
4711
  Object.assign(contents, doc);
4315
4712
  (0, smithy_client_1.map)(contents, {
@@ -4317,8 +4714,8 @@ const de_DeleteAccountCustomizationCommand = async (output, context) => {
4317
4714
  });
4318
4715
  return contents;
4319
4716
  };
4320
- exports.de_DeleteAccountCustomizationCommand = de_DeleteAccountCustomizationCommand;
4321
- const de_DeleteAccountCustomizationCommandError = async (output, context) => {
4717
+ exports.de_CreateTopicCommand = de_CreateTopicCommand;
4718
+ const de_CreateTopicCommandError = async (output, context) => {
4322
4719
  const parsedOutput = {
4323
4720
  ...output,
4324
4721
  body: await parseErrorBody(output.body, context),
@@ -4337,12 +4734,15 @@ const de_DeleteAccountCustomizationCommandError = async (output, context) => {
4337
4734
  case "InvalidParameterValueException":
4338
4735
  case "com.amazonaws.quicksight#InvalidParameterValueException":
4339
4736
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
4737
+ case "LimitExceededException":
4738
+ case "com.amazonaws.quicksight#LimitExceededException":
4739
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4740
+ case "ResourceExistsException":
4741
+ case "com.amazonaws.quicksight#ResourceExistsException":
4742
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
4340
4743
  case "ResourceNotFoundException":
4341
4744
  case "com.amazonaws.quicksight#ResourceNotFoundException":
4342
4745
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4343
- case "ResourceUnavailableException":
4344
- case "com.amazonaws.quicksight#ResourceUnavailableException":
4345
- throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
4346
4746
  case "ThrottlingException":
4347
4747
  case "com.amazonaws.quicksight#ThrottlingException":
4348
4748
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -4355,16 +4755,19 @@ const de_DeleteAccountCustomizationCommandError = async (output, context) => {
4355
4755
  });
4356
4756
  }
4357
4757
  };
4358
- const de_DeleteAccountSubscriptionCommand = async (output, context) => {
4758
+ const de_CreateTopicRefreshScheduleCommand = async (output, context) => {
4359
4759
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4360
- return de_DeleteAccountSubscriptionCommandError(output, context);
4760
+ return de_CreateTopicRefreshScheduleCommandError(output, context);
4361
4761
  }
4362
4762
  const contents = (0, smithy_client_1.map)({
4363
4763
  $metadata: deserializeMetadata(output),
4364
4764
  });
4365
4765
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4366
4766
  const doc = (0, smithy_client_1.take)(data, {
4767
+ DatasetArn: smithy_client_1.expectString,
4367
4768
  RequestId: smithy_client_1.expectString,
4769
+ TopicArn: smithy_client_1.expectString,
4770
+ TopicId: smithy_client_1.expectString,
4368
4771
  });
4369
4772
  Object.assign(contents, doc);
4370
4773
  (0, smithy_client_1.map)(contents, {
@@ -4372,8 +4775,8 @@ const de_DeleteAccountSubscriptionCommand = async (output, context) => {
4372
4775
  });
4373
4776
  return contents;
4374
4777
  };
4375
- exports.de_DeleteAccountSubscriptionCommand = de_DeleteAccountSubscriptionCommand;
4376
- const de_DeleteAccountSubscriptionCommandError = async (output, context) => {
4778
+ exports.de_CreateTopicRefreshScheduleCommand = de_CreateTopicRefreshScheduleCommand;
4779
+ const de_CreateTopicRefreshScheduleCommandError = async (output, context) => {
4377
4780
  const parsedOutput = {
4378
4781
  ...output,
4379
4782
  body: await parseErrorBody(output.body, context),
@@ -4383,21 +4786,24 @@ const de_DeleteAccountSubscriptionCommandError = async (output, context) => {
4383
4786
  case "AccessDeniedException":
4384
4787
  case "com.amazonaws.quicksight#AccessDeniedException":
4385
4788
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4789
+ case "ConflictException":
4790
+ case "com.amazonaws.quicksight#ConflictException":
4791
+ throw await de_ConflictExceptionRes(parsedOutput, context);
4386
4792
  case "InternalFailureException":
4387
4793
  case "com.amazonaws.quicksight#InternalFailureException":
4388
4794
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
4389
4795
  case "InvalidParameterValueException":
4390
4796
  case "com.amazonaws.quicksight#InvalidParameterValueException":
4391
4797
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
4392
- case "PreconditionNotMetException":
4393
- case "com.amazonaws.quicksight#PreconditionNotMetException":
4394
- throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
4798
+ case "LimitExceededException":
4799
+ case "com.amazonaws.quicksight#LimitExceededException":
4800
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4801
+ case "ResourceExistsException":
4802
+ case "com.amazonaws.quicksight#ResourceExistsException":
4803
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
4395
4804
  case "ResourceNotFoundException":
4396
4805
  case "com.amazonaws.quicksight#ResourceNotFoundException":
4397
4806
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4398
- case "ResourceUnavailableException":
4399
- case "com.amazonaws.quicksight#ResourceUnavailableException":
4400
- throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
4401
4807
  case "ThrottlingException":
4402
4808
  case "com.amazonaws.quicksight#ThrottlingException":
4403
4809
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -4410,19 +4816,20 @@ const de_DeleteAccountSubscriptionCommandError = async (output, context) => {
4410
4816
  });
4411
4817
  }
4412
4818
  };
4413
- const de_DeleteAnalysisCommand = async (output, context) => {
4819
+ const de_CreateVPCConnectionCommand = async (output, context) => {
4414
4820
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4415
- return de_DeleteAnalysisCommandError(output, context);
4821
+ return de_CreateVPCConnectionCommandError(output, context);
4416
4822
  }
4417
4823
  const contents = (0, smithy_client_1.map)({
4418
4824
  $metadata: deserializeMetadata(output),
4419
4825
  });
4420
4826
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4421
4827
  const doc = (0, smithy_client_1.take)(data, {
4422
- AnalysisId: smithy_client_1.expectString,
4423
4828
  Arn: smithy_client_1.expectString,
4424
- DeletionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4829
+ AvailabilityStatus: smithy_client_1.expectString,
4830
+ CreationStatus: smithy_client_1.expectString,
4425
4831
  RequestId: smithy_client_1.expectString,
4832
+ VPCConnectionId: smithy_client_1.expectString,
4426
4833
  });
4427
4834
  Object.assign(contents, doc);
4428
4835
  (0, smithy_client_1.map)(contents, {
@@ -4430,14 +4837,17 @@ const de_DeleteAnalysisCommand = async (output, context) => {
4430
4837
  });
4431
4838
  return contents;
4432
4839
  };
4433
- exports.de_DeleteAnalysisCommand = de_DeleteAnalysisCommand;
4434
- const de_DeleteAnalysisCommandError = async (output, context) => {
4840
+ exports.de_CreateVPCConnectionCommand = de_CreateVPCConnectionCommand;
4841
+ const de_CreateVPCConnectionCommandError = async (output, context) => {
4435
4842
  const parsedOutput = {
4436
4843
  ...output,
4437
4844
  body: await parseErrorBody(output.body, context),
4438
4845
  };
4439
4846
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4440
4847
  switch (errorCode) {
4848
+ case "AccessDeniedException":
4849
+ case "com.amazonaws.quicksight#AccessDeniedException":
4850
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4441
4851
  case "ConflictException":
4442
4852
  case "com.amazonaws.quicksight#ConflictException":
4443
4853
  throw await de_ConflictExceptionRes(parsedOutput, context);
@@ -4447,9 +4857,12 @@ const de_DeleteAnalysisCommandError = async (output, context) => {
4447
4857
  case "InvalidParameterValueException":
4448
4858
  case "com.amazonaws.quicksight#InvalidParameterValueException":
4449
4859
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
4450
- case "ResourceNotFoundException":
4451
- case "com.amazonaws.quicksight#ResourceNotFoundException":
4452
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4860
+ case "LimitExceededException":
4861
+ case "com.amazonaws.quicksight#LimitExceededException":
4862
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4863
+ case "ResourceExistsException":
4864
+ case "com.amazonaws.quicksight#ResourceExistsException":
4865
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
4453
4866
  case "ThrottlingException":
4454
4867
  case "com.amazonaws.quicksight#ThrottlingException":
4455
4868
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -4465,17 +4878,15 @@ const de_DeleteAnalysisCommandError = async (output, context) => {
4465
4878
  });
4466
4879
  }
4467
4880
  };
4468
- const de_DeleteDashboardCommand = async (output, context) => {
4881
+ const de_DeleteAccountCustomizationCommand = async (output, context) => {
4469
4882
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4470
- return de_DeleteDashboardCommandError(output, context);
4883
+ return de_DeleteAccountCustomizationCommandError(output, context);
4471
4884
  }
4472
4885
  const contents = (0, smithy_client_1.map)({
4473
4886
  $metadata: deserializeMetadata(output),
4474
4887
  });
4475
4888
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4476
4889
  const doc = (0, smithy_client_1.take)(data, {
4477
- Arn: smithy_client_1.expectString,
4478
- DashboardId: smithy_client_1.expectString,
4479
4890
  RequestId: smithy_client_1.expectString,
4480
4891
  });
4481
4892
  Object.assign(contents, doc);
@@ -4484,14 +4895,17 @@ const de_DeleteDashboardCommand = async (output, context) => {
4484
4895
  });
4485
4896
  return contents;
4486
4897
  };
4487
- exports.de_DeleteDashboardCommand = de_DeleteDashboardCommand;
4488
- const de_DeleteDashboardCommandError = async (output, context) => {
4898
+ exports.de_DeleteAccountCustomizationCommand = de_DeleteAccountCustomizationCommand;
4899
+ const de_DeleteAccountCustomizationCommandError = async (output, context) => {
4489
4900
  const parsedOutput = {
4490
4901
  ...output,
4491
4902
  body: await parseErrorBody(output.body, context),
4492
4903
  };
4493
4904
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4494
4905
  switch (errorCode) {
4906
+ case "AccessDeniedException":
4907
+ case "com.amazonaws.quicksight#AccessDeniedException":
4908
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4495
4909
  case "ConflictException":
4496
4910
  case "com.amazonaws.quicksight#ConflictException":
4497
4911
  throw await de_ConflictExceptionRes(parsedOutput, context);
@@ -4504,12 +4918,12 @@ const de_DeleteDashboardCommandError = async (output, context) => {
4504
4918
  case "ResourceNotFoundException":
4505
4919
  case "com.amazonaws.quicksight#ResourceNotFoundException":
4506
4920
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4921
+ case "ResourceUnavailableException":
4922
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
4923
+ throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
4507
4924
  case "ThrottlingException":
4508
4925
  case "com.amazonaws.quicksight#ThrottlingException":
4509
4926
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
4510
- case "UnsupportedUserEditionException":
4511
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
4512
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
4513
4927
  default:
4514
4928
  const parsedBody = parsedOutput.body;
4515
4929
  return throwDefaultError({
@@ -4519,17 +4933,15 @@ const de_DeleteDashboardCommandError = async (output, context) => {
4519
4933
  });
4520
4934
  }
4521
4935
  };
4522
- const de_DeleteDataSetCommand = async (output, context) => {
4936
+ const de_DeleteAccountSubscriptionCommand = async (output, context) => {
4523
4937
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4524
- return de_DeleteDataSetCommandError(output, context);
4938
+ return de_DeleteAccountSubscriptionCommandError(output, context);
4525
4939
  }
4526
4940
  const contents = (0, smithy_client_1.map)({
4527
4941
  $metadata: deserializeMetadata(output),
4528
4942
  });
4529
4943
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4530
4944
  const doc = (0, smithy_client_1.take)(data, {
4531
- Arn: smithy_client_1.expectString,
4532
- DataSetId: smithy_client_1.expectString,
4533
4945
  RequestId: smithy_client_1.expectString,
4534
4946
  });
4535
4947
  Object.assign(contents, doc);
@@ -4538,8 +4950,8 @@ const de_DeleteDataSetCommand = async (output, context) => {
4538
4950
  });
4539
4951
  return contents;
4540
4952
  };
4541
- exports.de_DeleteDataSetCommand = de_DeleteDataSetCommand;
4542
- const de_DeleteDataSetCommandError = async (output, context) => {
4953
+ exports.de_DeleteAccountSubscriptionCommand = de_DeleteAccountSubscriptionCommand;
4954
+ const de_DeleteAccountSubscriptionCommandError = async (output, context) => {
4543
4955
  const parsedOutput = {
4544
4956
  ...output,
4545
4957
  body: await parseErrorBody(output.body, context),
@@ -4555,9 +4967,15 @@ const de_DeleteDataSetCommandError = async (output, context) => {
4555
4967
  case "InvalidParameterValueException":
4556
4968
  case "com.amazonaws.quicksight#InvalidParameterValueException":
4557
4969
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
4970
+ case "PreconditionNotMetException":
4971
+ case "com.amazonaws.quicksight#PreconditionNotMetException":
4972
+ throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
4558
4973
  case "ResourceNotFoundException":
4559
4974
  case "com.amazonaws.quicksight#ResourceNotFoundException":
4560
4975
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4976
+ case "ResourceUnavailableException":
4977
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
4978
+ throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
4561
4979
  case "ThrottlingException":
4562
4980
  case "com.amazonaws.quicksight#ThrottlingException":
4563
4981
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -4570,15 +4988,18 @@ const de_DeleteDataSetCommandError = async (output, context) => {
4570
4988
  });
4571
4989
  }
4572
4990
  };
4573
- const de_DeleteDataSetRefreshPropertiesCommand = async (output, context) => {
4991
+ const de_DeleteAnalysisCommand = async (output, context) => {
4574
4992
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4575
- return de_DeleteDataSetRefreshPropertiesCommandError(output, context);
4993
+ return de_DeleteAnalysisCommandError(output, context);
4576
4994
  }
4577
4995
  const contents = (0, smithy_client_1.map)({
4578
4996
  $metadata: deserializeMetadata(output),
4579
4997
  });
4580
4998
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4581
4999
  const doc = (0, smithy_client_1.take)(data, {
5000
+ AnalysisId: smithy_client_1.expectString,
5001
+ Arn: smithy_client_1.expectString,
5002
+ DeletionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
4582
5003
  RequestId: smithy_client_1.expectString,
4583
5004
  });
4584
5005
  Object.assign(contents, doc);
@@ -4587,17 +5008,14 @@ const de_DeleteDataSetRefreshPropertiesCommand = async (output, context) => {
4587
5008
  });
4588
5009
  return contents;
4589
5010
  };
4590
- exports.de_DeleteDataSetRefreshPropertiesCommand = de_DeleteDataSetRefreshPropertiesCommand;
4591
- const de_DeleteDataSetRefreshPropertiesCommandError = async (output, context) => {
5011
+ exports.de_DeleteAnalysisCommand = de_DeleteAnalysisCommand;
5012
+ const de_DeleteAnalysisCommandError = async (output, context) => {
4592
5013
  const parsedOutput = {
4593
5014
  ...output,
4594
5015
  body: await parseErrorBody(output.body, context),
4595
5016
  };
4596
5017
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4597
5018
  switch (errorCode) {
4598
- case "AccessDeniedException":
4599
- case "com.amazonaws.quicksight#AccessDeniedException":
4600
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4601
5019
  case "ConflictException":
4602
5020
  case "com.amazonaws.quicksight#ConflictException":
4603
5021
  throw await de_ConflictExceptionRes(parsedOutput, context);
@@ -4607,15 +5025,15 @@ const de_DeleteDataSetRefreshPropertiesCommandError = async (output, context) =>
4607
5025
  case "InvalidParameterValueException":
4608
5026
  case "com.amazonaws.quicksight#InvalidParameterValueException":
4609
5027
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
4610
- case "LimitExceededException":
4611
- case "com.amazonaws.quicksight#LimitExceededException":
4612
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
4613
5028
  case "ResourceNotFoundException":
4614
5029
  case "com.amazonaws.quicksight#ResourceNotFoundException":
4615
5030
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4616
5031
  case "ThrottlingException":
4617
5032
  case "com.amazonaws.quicksight#ThrottlingException":
4618
5033
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
5034
+ case "UnsupportedUserEditionException":
5035
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
5036
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
4619
5037
  default:
4620
5038
  const parsedBody = parsedOutput.body;
4621
5039
  return throwDefaultError({
@@ -4625,9 +5043,9 @@ const de_DeleteDataSetRefreshPropertiesCommandError = async (output, context) =>
4625
5043
  });
4626
5044
  }
4627
5045
  };
4628
- const de_DeleteDataSourceCommand = async (output, context) => {
5046
+ const de_DeleteDashboardCommand = async (output, context) => {
4629
5047
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4630
- return de_DeleteDataSourceCommandError(output, context);
5048
+ return de_DeleteDashboardCommandError(output, context);
4631
5049
  }
4632
5050
  const contents = (0, smithy_client_1.map)({
4633
5051
  $metadata: deserializeMetadata(output),
@@ -4635,7 +5053,7 @@ const de_DeleteDataSourceCommand = async (output, context) => {
4635
5053
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4636
5054
  const doc = (0, smithy_client_1.take)(data, {
4637
5055
  Arn: smithy_client_1.expectString,
4638
- DataSourceId: smithy_client_1.expectString,
5056
+ DashboardId: smithy_client_1.expectString,
4639
5057
  RequestId: smithy_client_1.expectString,
4640
5058
  });
4641
5059
  Object.assign(contents, doc);
@@ -4644,17 +5062,17 @@ const de_DeleteDataSourceCommand = async (output, context) => {
4644
5062
  });
4645
5063
  return contents;
4646
5064
  };
4647
- exports.de_DeleteDataSourceCommand = de_DeleteDataSourceCommand;
4648
- const de_DeleteDataSourceCommandError = async (output, context) => {
5065
+ exports.de_DeleteDashboardCommand = de_DeleteDashboardCommand;
5066
+ const de_DeleteDashboardCommandError = async (output, context) => {
4649
5067
  const parsedOutput = {
4650
5068
  ...output,
4651
5069
  body: await parseErrorBody(output.body, context),
4652
5070
  };
4653
5071
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4654
5072
  switch (errorCode) {
4655
- case "AccessDeniedException":
4656
- case "com.amazonaws.quicksight#AccessDeniedException":
4657
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5073
+ case "ConflictException":
5074
+ case "com.amazonaws.quicksight#ConflictException":
5075
+ throw await de_ConflictExceptionRes(parsedOutput, context);
4658
5076
  case "InternalFailureException":
4659
5077
  case "com.amazonaws.quicksight#InternalFailureException":
4660
5078
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
@@ -4667,6 +5085,9 @@ const de_DeleteDataSourceCommandError = async (output, context) => {
4667
5085
  case "ThrottlingException":
4668
5086
  case "com.amazonaws.quicksight#ThrottlingException":
4669
5087
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
5088
+ case "UnsupportedUserEditionException":
5089
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
5090
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
4670
5091
  default:
4671
5092
  const parsedBody = parsedOutput.body;
4672
5093
  return throwDefaultError({
@@ -4676,9 +5097,9 @@ const de_DeleteDataSourceCommandError = async (output, context) => {
4676
5097
  });
4677
5098
  }
4678
5099
  };
4679
- const de_DeleteFolderCommand = async (output, context) => {
5100
+ const de_DeleteDataSetCommand = async (output, context) => {
4680
5101
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4681
- return de_DeleteFolderCommandError(output, context);
5102
+ return de_DeleteDataSetCommandError(output, context);
4682
5103
  }
4683
5104
  const contents = (0, smithy_client_1.map)({
4684
5105
  $metadata: deserializeMetadata(output),
@@ -4686,7 +5107,7 @@ const de_DeleteFolderCommand = async (output, context) => {
4686
5107
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4687
5108
  const doc = (0, smithy_client_1.take)(data, {
4688
5109
  Arn: smithy_client_1.expectString,
4689
- FolderId: smithy_client_1.expectString,
5110
+ DataSetId: smithy_client_1.expectString,
4690
5111
  RequestId: smithy_client_1.expectString,
4691
5112
  });
4692
5113
  Object.assign(contents, doc);
@@ -4695,8 +5116,8 @@ const de_DeleteFolderCommand = async (output, context) => {
4695
5116
  });
4696
5117
  return contents;
4697
5118
  };
4698
- exports.de_DeleteFolderCommand = de_DeleteFolderCommand;
4699
- const de_DeleteFolderCommandError = async (output, context) => {
5119
+ exports.de_DeleteDataSetCommand = de_DeleteDataSetCommand;
5120
+ const de_DeleteDataSetCommandError = async (output, context) => {
4700
5121
  const parsedOutput = {
4701
5122
  ...output,
4702
5123
  body: await parseErrorBody(output.body, context),
@@ -4706,27 +5127,18 @@ const de_DeleteFolderCommandError = async (output, context) => {
4706
5127
  case "AccessDeniedException":
4707
5128
  case "com.amazonaws.quicksight#AccessDeniedException":
4708
5129
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4709
- case "ConflictException":
4710
- case "com.amazonaws.quicksight#ConflictException":
4711
- throw await de_ConflictExceptionRes(parsedOutput, context);
4712
5130
  case "InternalFailureException":
4713
5131
  case "com.amazonaws.quicksight#InternalFailureException":
4714
5132
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
4715
5133
  case "InvalidParameterValueException":
4716
5134
  case "com.amazonaws.quicksight#InvalidParameterValueException":
4717
5135
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
4718
- case "PreconditionNotMetException":
4719
- case "com.amazonaws.quicksight#PreconditionNotMetException":
4720
- throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
4721
5136
  case "ResourceNotFoundException":
4722
5137
  case "com.amazonaws.quicksight#ResourceNotFoundException":
4723
5138
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4724
5139
  case "ThrottlingException":
4725
5140
  case "com.amazonaws.quicksight#ThrottlingException":
4726
5141
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
4727
- case "UnsupportedUserEditionException":
4728
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
4729
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
4730
5142
  default:
4731
5143
  const parsedBody = parsedOutput.body;
4732
5144
  return throwDefaultError({
@@ -4736,9 +5148,9 @@ const de_DeleteFolderCommandError = async (output, context) => {
4736
5148
  });
4737
5149
  }
4738
5150
  };
4739
- const de_DeleteFolderMembershipCommand = async (output, context) => {
5151
+ const de_DeleteDataSetRefreshPropertiesCommand = async (output, context) => {
4740
5152
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4741
- return de_DeleteFolderMembershipCommandError(output, context);
5153
+ return de_DeleteDataSetRefreshPropertiesCommandError(output, context);
4742
5154
  }
4743
5155
  const contents = (0, smithy_client_1.map)({
4744
5156
  $metadata: deserializeMetadata(output),
@@ -4746,13 +5158,15 @@ const de_DeleteFolderMembershipCommand = async (output, context) => {
4746
5158
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4747
5159
  const doc = (0, smithy_client_1.take)(data, {
4748
5160
  RequestId: smithy_client_1.expectString,
4749
- Status: smithy_client_1.expectInt32,
4750
5161
  });
4751
5162
  Object.assign(contents, doc);
5163
+ (0, smithy_client_1.map)(contents, {
5164
+ Status: [, output.statusCode],
5165
+ });
4752
5166
  return contents;
4753
5167
  };
4754
- exports.de_DeleteFolderMembershipCommand = de_DeleteFolderMembershipCommand;
4755
- const de_DeleteFolderMembershipCommandError = async (output, context) => {
5168
+ exports.de_DeleteDataSetRefreshPropertiesCommand = de_DeleteDataSetRefreshPropertiesCommand;
5169
+ const de_DeleteDataSetRefreshPropertiesCommandError = async (output, context) => {
4756
5170
  const parsedOutput = {
4757
5171
  ...output,
4758
5172
  body: await parseErrorBody(output.body, context),
@@ -4762,8 +5176,172 @@ const de_DeleteFolderMembershipCommandError = async (output, context) => {
4762
5176
  case "AccessDeniedException":
4763
5177
  case "com.amazonaws.quicksight#AccessDeniedException":
4764
5178
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4765
- case "InternalFailureException":
4766
- case "com.amazonaws.quicksight#InternalFailureException":
5179
+ case "ConflictException":
5180
+ case "com.amazonaws.quicksight#ConflictException":
5181
+ throw await de_ConflictExceptionRes(parsedOutput, context);
5182
+ case "InternalFailureException":
5183
+ case "com.amazonaws.quicksight#InternalFailureException":
5184
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
5185
+ case "InvalidParameterValueException":
5186
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
5187
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
5188
+ case "LimitExceededException":
5189
+ case "com.amazonaws.quicksight#LimitExceededException":
5190
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
5191
+ case "ResourceNotFoundException":
5192
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
5193
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5194
+ case "ThrottlingException":
5195
+ case "com.amazonaws.quicksight#ThrottlingException":
5196
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5197
+ default:
5198
+ const parsedBody = parsedOutput.body;
5199
+ return throwDefaultError({
5200
+ output,
5201
+ parsedBody,
5202
+ errorCode,
5203
+ });
5204
+ }
5205
+ };
5206
+ const de_DeleteDataSourceCommand = async (output, context) => {
5207
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5208
+ return de_DeleteDataSourceCommandError(output, context);
5209
+ }
5210
+ const contents = (0, smithy_client_1.map)({
5211
+ $metadata: deserializeMetadata(output),
5212
+ });
5213
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5214
+ const doc = (0, smithy_client_1.take)(data, {
5215
+ Arn: smithy_client_1.expectString,
5216
+ DataSourceId: smithy_client_1.expectString,
5217
+ RequestId: smithy_client_1.expectString,
5218
+ });
5219
+ Object.assign(contents, doc);
5220
+ (0, smithy_client_1.map)(contents, {
5221
+ Status: [, output.statusCode],
5222
+ });
5223
+ return contents;
5224
+ };
5225
+ exports.de_DeleteDataSourceCommand = de_DeleteDataSourceCommand;
5226
+ const de_DeleteDataSourceCommandError = async (output, context) => {
5227
+ const parsedOutput = {
5228
+ ...output,
5229
+ body: await parseErrorBody(output.body, context),
5230
+ };
5231
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5232
+ switch (errorCode) {
5233
+ case "AccessDeniedException":
5234
+ case "com.amazonaws.quicksight#AccessDeniedException":
5235
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5236
+ case "InternalFailureException":
5237
+ case "com.amazonaws.quicksight#InternalFailureException":
5238
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
5239
+ case "InvalidParameterValueException":
5240
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
5241
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
5242
+ case "ResourceNotFoundException":
5243
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
5244
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5245
+ case "ThrottlingException":
5246
+ case "com.amazonaws.quicksight#ThrottlingException":
5247
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5248
+ default:
5249
+ const parsedBody = parsedOutput.body;
5250
+ return throwDefaultError({
5251
+ output,
5252
+ parsedBody,
5253
+ errorCode,
5254
+ });
5255
+ }
5256
+ };
5257
+ const de_DeleteFolderCommand = async (output, context) => {
5258
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5259
+ return de_DeleteFolderCommandError(output, context);
5260
+ }
5261
+ const contents = (0, smithy_client_1.map)({
5262
+ $metadata: deserializeMetadata(output),
5263
+ });
5264
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5265
+ const doc = (0, smithy_client_1.take)(data, {
5266
+ Arn: smithy_client_1.expectString,
5267
+ FolderId: smithy_client_1.expectString,
5268
+ RequestId: smithy_client_1.expectString,
5269
+ });
5270
+ Object.assign(contents, doc);
5271
+ (0, smithy_client_1.map)(contents, {
5272
+ Status: [, output.statusCode],
5273
+ });
5274
+ return contents;
5275
+ };
5276
+ exports.de_DeleteFolderCommand = de_DeleteFolderCommand;
5277
+ const de_DeleteFolderCommandError = async (output, context) => {
5278
+ const parsedOutput = {
5279
+ ...output,
5280
+ body: await parseErrorBody(output.body, context),
5281
+ };
5282
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5283
+ switch (errorCode) {
5284
+ case "AccessDeniedException":
5285
+ case "com.amazonaws.quicksight#AccessDeniedException":
5286
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5287
+ case "ConflictException":
5288
+ case "com.amazonaws.quicksight#ConflictException":
5289
+ throw await de_ConflictExceptionRes(parsedOutput, context);
5290
+ case "InternalFailureException":
5291
+ case "com.amazonaws.quicksight#InternalFailureException":
5292
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
5293
+ case "InvalidParameterValueException":
5294
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
5295
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
5296
+ case "PreconditionNotMetException":
5297
+ case "com.amazonaws.quicksight#PreconditionNotMetException":
5298
+ throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
5299
+ case "ResourceNotFoundException":
5300
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
5301
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5302
+ case "ThrottlingException":
5303
+ case "com.amazonaws.quicksight#ThrottlingException":
5304
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
5305
+ case "UnsupportedUserEditionException":
5306
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
5307
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
5308
+ default:
5309
+ const parsedBody = parsedOutput.body;
5310
+ return throwDefaultError({
5311
+ output,
5312
+ parsedBody,
5313
+ errorCode,
5314
+ });
5315
+ }
5316
+ };
5317
+ const de_DeleteFolderMembershipCommand = async (output, context) => {
5318
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5319
+ return de_DeleteFolderMembershipCommandError(output, context);
5320
+ }
5321
+ const contents = (0, smithy_client_1.map)({
5322
+ $metadata: deserializeMetadata(output),
5323
+ });
5324
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5325
+ const doc = (0, smithy_client_1.take)(data, {
5326
+ RequestId: smithy_client_1.expectString,
5327
+ Status: smithy_client_1.expectInt32,
5328
+ });
5329
+ Object.assign(contents, doc);
5330
+ return contents;
5331
+ };
5332
+ exports.de_DeleteFolderMembershipCommand = de_DeleteFolderMembershipCommand;
5333
+ const de_DeleteFolderMembershipCommandError = async (output, context) => {
5334
+ const parsedOutput = {
5335
+ ...output,
5336
+ body: await parseErrorBody(output.body, context),
5337
+ };
5338
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5339
+ switch (errorCode) {
5340
+ case "AccessDeniedException":
5341
+ case "com.amazonaws.quicksight#AccessDeniedException":
5342
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5343
+ case "InternalFailureException":
5344
+ case "com.amazonaws.quicksight#InternalFailureException":
4767
5345
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
4768
5346
  case "InvalidParameterValueException":
4769
5347
  case "com.amazonaws.quicksight#InvalidParameterValueException":
@@ -5282,16 +5860,18 @@ const de_DeleteThemeAliasCommandError = async (output, context) => {
5282
5860
  });
5283
5861
  }
5284
5862
  };
5285
- const de_DeleteUserCommand = async (output, context) => {
5863
+ const de_DeleteTopicCommand = async (output, context) => {
5286
5864
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5287
- return de_DeleteUserCommandError(output, context);
5865
+ return de_DeleteTopicCommandError(output, context);
5288
5866
  }
5289
5867
  const contents = (0, smithy_client_1.map)({
5290
5868
  $metadata: deserializeMetadata(output),
5291
5869
  });
5292
5870
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5293
5871
  const doc = (0, smithy_client_1.take)(data, {
5872
+ Arn: smithy_client_1.expectString,
5294
5873
  RequestId: smithy_client_1.expectString,
5874
+ TopicId: smithy_client_1.expectString,
5295
5875
  });
5296
5876
  Object.assign(contents, doc);
5297
5877
  (0, smithy_client_1.map)(contents, {
@@ -5299,8 +5879,8 @@ const de_DeleteUserCommand = async (output, context) => {
5299
5879
  });
5300
5880
  return contents;
5301
5881
  };
5302
- exports.de_DeleteUserCommand = de_DeleteUserCommand;
5303
- const de_DeleteUserCommandError = async (output, context) => {
5882
+ exports.de_DeleteTopicCommand = de_DeleteTopicCommand;
5883
+ const de_DeleteTopicCommandError = async (output, context) => {
5304
5884
  const parsedOutput = {
5305
5885
  ...output,
5306
5886
  body: await parseErrorBody(output.body, context),
@@ -5310,21 +5890,18 @@ const de_DeleteUserCommandError = async (output, context) => {
5310
5890
  case "AccessDeniedException":
5311
5891
  case "com.amazonaws.quicksight#AccessDeniedException":
5312
5892
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5893
+ case "ConflictException":
5894
+ case "com.amazonaws.quicksight#ConflictException":
5895
+ throw await de_ConflictExceptionRes(parsedOutput, context);
5313
5896
  case "InternalFailureException":
5314
5897
  case "com.amazonaws.quicksight#InternalFailureException":
5315
5898
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
5316
5899
  case "InvalidParameterValueException":
5317
5900
  case "com.amazonaws.quicksight#InvalidParameterValueException":
5318
5901
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
5319
- case "PreconditionNotMetException":
5320
- case "com.amazonaws.quicksight#PreconditionNotMetException":
5321
- throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
5322
5902
  case "ResourceNotFoundException":
5323
5903
  case "com.amazonaws.quicksight#ResourceNotFoundException":
5324
5904
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5325
- case "ResourceUnavailableException":
5326
- case "com.amazonaws.quicksight#ResourceUnavailableException":
5327
- throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
5328
5905
  case "ThrottlingException":
5329
5906
  case "com.amazonaws.quicksight#ThrottlingException":
5330
5907
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -5337,16 +5914,19 @@ const de_DeleteUserCommandError = async (output, context) => {
5337
5914
  });
5338
5915
  }
5339
5916
  };
5340
- const de_DeleteUserByPrincipalIdCommand = async (output, context) => {
5917
+ const de_DeleteTopicRefreshScheduleCommand = async (output, context) => {
5341
5918
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5342
- return de_DeleteUserByPrincipalIdCommandError(output, context);
5919
+ return de_DeleteTopicRefreshScheduleCommandError(output, context);
5343
5920
  }
5344
5921
  const contents = (0, smithy_client_1.map)({
5345
5922
  $metadata: deserializeMetadata(output),
5346
5923
  });
5347
5924
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5348
5925
  const doc = (0, smithy_client_1.take)(data, {
5926
+ DatasetArn: smithy_client_1.expectString,
5349
5927
  RequestId: smithy_client_1.expectString,
5928
+ TopicArn: smithy_client_1.expectString,
5929
+ TopicId: smithy_client_1.expectString,
5350
5930
  });
5351
5931
  Object.assign(contents, doc);
5352
5932
  (0, smithy_client_1.map)(contents, {
@@ -5354,8 +5934,8 @@ const de_DeleteUserByPrincipalIdCommand = async (output, context) => {
5354
5934
  });
5355
5935
  return contents;
5356
5936
  };
5357
- exports.de_DeleteUserByPrincipalIdCommand = de_DeleteUserByPrincipalIdCommand;
5358
- const de_DeleteUserByPrincipalIdCommandError = async (output, context) => {
5937
+ exports.de_DeleteTopicRefreshScheduleCommand = de_DeleteTopicRefreshScheduleCommand;
5938
+ const de_DeleteTopicRefreshScheduleCommandError = async (output, context) => {
5359
5939
  const parsedOutput = {
5360
5940
  ...output,
5361
5941
  body: await parseErrorBody(output.body, context),
@@ -5365,21 +5945,24 @@ const de_DeleteUserByPrincipalIdCommandError = async (output, context) => {
5365
5945
  case "AccessDeniedException":
5366
5946
  case "com.amazonaws.quicksight#AccessDeniedException":
5367
5947
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5948
+ case "ConflictException":
5949
+ case "com.amazonaws.quicksight#ConflictException":
5950
+ throw await de_ConflictExceptionRes(parsedOutput, context);
5368
5951
  case "InternalFailureException":
5369
5952
  case "com.amazonaws.quicksight#InternalFailureException":
5370
5953
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
5371
5954
  case "InvalidParameterValueException":
5372
5955
  case "com.amazonaws.quicksight#InvalidParameterValueException":
5373
5956
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
5374
- case "PreconditionNotMetException":
5375
- case "com.amazonaws.quicksight#PreconditionNotMetException":
5376
- throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
5957
+ case "LimitExceededException":
5958
+ case "com.amazonaws.quicksight#LimitExceededException":
5959
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
5960
+ case "ResourceExistsException":
5961
+ case "com.amazonaws.quicksight#ResourceExistsException":
5962
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
5377
5963
  case "ResourceNotFoundException":
5378
5964
  case "com.amazonaws.quicksight#ResourceNotFoundException":
5379
5965
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5380
- case "ResourceUnavailableException":
5381
- case "com.amazonaws.quicksight#ResourceUnavailableException":
5382
- throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
5383
5966
  case "ThrottlingException":
5384
5967
  case "com.amazonaws.quicksight#ThrottlingException":
5385
5968
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -5392,19 +5975,15 @@ const de_DeleteUserByPrincipalIdCommandError = async (output, context) => {
5392
5975
  });
5393
5976
  }
5394
5977
  };
5395
- const de_DescribeAccountCustomizationCommand = async (output, context) => {
5978
+ const de_DeleteUserCommand = async (output, context) => {
5396
5979
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5397
- return de_DescribeAccountCustomizationCommandError(output, context);
5980
+ return de_DeleteUserCommandError(output, context);
5398
5981
  }
5399
5982
  const contents = (0, smithy_client_1.map)({
5400
5983
  $metadata: deserializeMetadata(output),
5401
5984
  });
5402
5985
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5403
5986
  const doc = (0, smithy_client_1.take)(data, {
5404
- AccountCustomization: smithy_client_1._json,
5405
- Arn: smithy_client_1.expectString,
5406
- AwsAccountId: smithy_client_1.expectString,
5407
- Namespace: smithy_client_1.expectString,
5408
5987
  RequestId: smithy_client_1.expectString,
5409
5988
  });
5410
5989
  Object.assign(contents, doc);
@@ -5413,8 +5992,8 @@ const de_DescribeAccountCustomizationCommand = async (output, context) => {
5413
5992
  });
5414
5993
  return contents;
5415
5994
  };
5416
- exports.de_DescribeAccountCustomizationCommand = de_DescribeAccountCustomizationCommand;
5417
- const de_DescribeAccountCustomizationCommandError = async (output, context) => {
5995
+ exports.de_DeleteUserCommand = de_DeleteUserCommand;
5996
+ const de_DeleteUserCommandError = async (output, context) => {
5418
5997
  const parsedOutput = {
5419
5998
  ...output,
5420
5999
  body: await parseErrorBody(output.body, context),
@@ -5430,6 +6009,9 @@ const de_DescribeAccountCustomizationCommandError = async (output, context) => {
5430
6009
  case "InvalidParameterValueException":
5431
6010
  case "com.amazonaws.quicksight#InvalidParameterValueException":
5432
6011
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
6012
+ case "PreconditionNotMetException":
6013
+ case "com.amazonaws.quicksight#PreconditionNotMetException":
6014
+ throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
5433
6015
  case "ResourceNotFoundException":
5434
6016
  case "com.amazonaws.quicksight#ResourceNotFoundException":
5435
6017
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -5448,16 +6030,15 @@ const de_DescribeAccountCustomizationCommandError = async (output, context) => {
5448
6030
  });
5449
6031
  }
5450
6032
  };
5451
- const de_DescribeAccountSettingsCommand = async (output, context) => {
6033
+ const de_DeleteUserByPrincipalIdCommand = async (output, context) => {
5452
6034
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5453
- return de_DescribeAccountSettingsCommandError(output, context);
6035
+ return de_DeleteUserByPrincipalIdCommandError(output, context);
5454
6036
  }
5455
6037
  const contents = (0, smithy_client_1.map)({
5456
6038
  $metadata: deserializeMetadata(output),
5457
6039
  });
5458
6040
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5459
6041
  const doc = (0, smithy_client_1.take)(data, {
5460
- AccountSettings: smithy_client_1._json,
5461
6042
  RequestId: smithy_client_1.expectString,
5462
6043
  });
5463
6044
  Object.assign(contents, doc);
@@ -5466,8 +6047,8 @@ const de_DescribeAccountSettingsCommand = async (output, context) => {
5466
6047
  });
5467
6048
  return contents;
5468
6049
  };
5469
- exports.de_DescribeAccountSettingsCommand = de_DescribeAccountSettingsCommand;
5470
- const de_DescribeAccountSettingsCommandError = async (output, context) => {
6050
+ exports.de_DeleteUserByPrincipalIdCommand = de_DeleteUserByPrincipalIdCommand;
6051
+ const de_DeleteUserByPrincipalIdCommandError = async (output, context) => {
5471
6052
  const parsedOutput = {
5472
6053
  ...output,
5473
6054
  body: await parseErrorBody(output.body, context),
@@ -5483,6 +6064,9 @@ const de_DescribeAccountSettingsCommandError = async (output, context) => {
5483
6064
  case "InvalidParameterValueException":
5484
6065
  case "com.amazonaws.quicksight#InvalidParameterValueException":
5485
6066
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
6067
+ case "PreconditionNotMetException":
6068
+ case "com.amazonaws.quicksight#PreconditionNotMetException":
6069
+ throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
5486
6070
  case "ResourceNotFoundException":
5487
6071
  case "com.amazonaws.quicksight#ResourceNotFoundException":
5488
6072
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -5501,17 +6085,20 @@ const de_DescribeAccountSettingsCommandError = async (output, context) => {
5501
6085
  });
5502
6086
  }
5503
6087
  };
5504
- const de_DescribeAccountSubscriptionCommand = async (output, context) => {
6088
+ const de_DeleteVPCConnectionCommand = async (output, context) => {
5505
6089
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5506
- return de_DescribeAccountSubscriptionCommandError(output, context);
6090
+ return de_DeleteVPCConnectionCommandError(output, context);
5507
6091
  }
5508
6092
  const contents = (0, smithy_client_1.map)({
5509
6093
  $metadata: deserializeMetadata(output),
5510
6094
  });
5511
6095
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5512
6096
  const doc = (0, smithy_client_1.take)(data, {
5513
- AccountInfo: smithy_client_1._json,
6097
+ Arn: smithy_client_1.expectString,
6098
+ AvailabilityStatus: smithy_client_1.expectString,
6099
+ DeletionStatus: smithy_client_1.expectString,
5514
6100
  RequestId: smithy_client_1.expectString,
6101
+ VPCConnectionId: smithy_client_1.expectString,
5515
6102
  });
5516
6103
  Object.assign(contents, doc);
5517
6104
  (0, smithy_client_1.map)(contents, {
@@ -5519,8 +6106,8 @@ const de_DescribeAccountSubscriptionCommand = async (output, context) => {
5519
6106
  });
5520
6107
  return contents;
5521
6108
  };
5522
- exports.de_DescribeAccountSubscriptionCommand = de_DescribeAccountSubscriptionCommand;
5523
- const de_DescribeAccountSubscriptionCommandError = async (output, context) => {
6109
+ exports.de_DeleteVPCConnectionCommand = de_DeleteVPCConnectionCommand;
6110
+ const de_DeleteVPCConnectionCommandError = async (output, context) => {
5524
6111
  const parsedOutput = {
5525
6112
  ...output,
5526
6113
  body: await parseErrorBody(output.body, context),
@@ -5530,6 +6117,9 @@ const de_DescribeAccountSubscriptionCommandError = async (output, context) => {
5530
6117
  case "AccessDeniedException":
5531
6118
  case "com.amazonaws.quicksight#AccessDeniedException":
5532
6119
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
6120
+ case "ConflictException":
6121
+ case "com.amazonaws.quicksight#ConflictException":
6122
+ throw await de_ConflictExceptionRes(parsedOutput, context);
5533
6123
  case "InternalFailureException":
5534
6124
  case "com.amazonaws.quicksight#InternalFailureException":
5535
6125
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
@@ -5539,12 +6129,12 @@ const de_DescribeAccountSubscriptionCommandError = async (output, context) => {
5539
6129
  case "ResourceNotFoundException":
5540
6130
  case "com.amazonaws.quicksight#ResourceNotFoundException":
5541
6131
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5542
- case "ResourceUnavailableException":
5543
- case "com.amazonaws.quicksight#ResourceUnavailableException":
5544
- throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
5545
6132
  case "ThrottlingException":
5546
6133
  case "com.amazonaws.quicksight#ThrottlingException":
5547
6134
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
6135
+ case "UnsupportedUserEditionException":
6136
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
6137
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
5548
6138
  default:
5549
6139
  const parsedBody = parsedOutput.body;
5550
6140
  return throwDefaultError({
@@ -5554,16 +6144,19 @@ const de_DescribeAccountSubscriptionCommandError = async (output, context) => {
5554
6144
  });
5555
6145
  }
5556
6146
  };
5557
- const de_DescribeAnalysisCommand = async (output, context) => {
6147
+ const de_DescribeAccountCustomizationCommand = async (output, context) => {
5558
6148
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5559
- return de_DescribeAnalysisCommandError(output, context);
6149
+ return de_DescribeAccountCustomizationCommandError(output, context);
5560
6150
  }
5561
6151
  const contents = (0, smithy_client_1.map)({
5562
6152
  $metadata: deserializeMetadata(output),
5563
6153
  });
5564
6154
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5565
6155
  const doc = (0, smithy_client_1.take)(data, {
5566
- Analysis: (_) => de_Analysis(_, context),
6156
+ AccountCustomization: smithy_client_1._json,
6157
+ Arn: smithy_client_1.expectString,
6158
+ AwsAccountId: smithy_client_1.expectString,
6159
+ Namespace: smithy_client_1.expectString,
5567
6160
  RequestId: smithy_client_1.expectString,
5568
6161
  });
5569
6162
  Object.assign(contents, doc);
@@ -5572,8 +6165,8 @@ const de_DescribeAnalysisCommand = async (output, context) => {
5572
6165
  });
5573
6166
  return contents;
5574
6167
  };
5575
- exports.de_DescribeAnalysisCommand = de_DescribeAnalysisCommand;
5576
- const de_DescribeAnalysisCommandError = async (output, context) => {
6168
+ exports.de_DescribeAccountCustomizationCommand = de_DescribeAccountCustomizationCommand;
6169
+ const de_DescribeAccountCustomizationCommandError = async (output, context) => {
5577
6170
  const parsedOutput = {
5578
6171
  ...output,
5579
6172
  body: await parseErrorBody(output.body, context),
@@ -5592,8 +6185,167 @@ const de_DescribeAnalysisCommandError = async (output, context) => {
5592
6185
  case "ResourceNotFoundException":
5593
6186
  case "com.amazonaws.quicksight#ResourceNotFoundException":
5594
6187
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
5595
- case "ThrottlingException":
5596
- case "com.amazonaws.quicksight#ThrottlingException":
6188
+ case "ResourceUnavailableException":
6189
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
6190
+ throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
6191
+ case "ThrottlingException":
6192
+ case "com.amazonaws.quicksight#ThrottlingException":
6193
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6194
+ default:
6195
+ const parsedBody = parsedOutput.body;
6196
+ return throwDefaultError({
6197
+ output,
6198
+ parsedBody,
6199
+ errorCode,
6200
+ });
6201
+ }
6202
+ };
6203
+ const de_DescribeAccountSettingsCommand = async (output, context) => {
6204
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6205
+ return de_DescribeAccountSettingsCommandError(output, context);
6206
+ }
6207
+ const contents = (0, smithy_client_1.map)({
6208
+ $metadata: deserializeMetadata(output),
6209
+ });
6210
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6211
+ const doc = (0, smithy_client_1.take)(data, {
6212
+ AccountSettings: smithy_client_1._json,
6213
+ RequestId: smithy_client_1.expectString,
6214
+ });
6215
+ Object.assign(contents, doc);
6216
+ (0, smithy_client_1.map)(contents, {
6217
+ Status: [, output.statusCode],
6218
+ });
6219
+ return contents;
6220
+ };
6221
+ exports.de_DescribeAccountSettingsCommand = de_DescribeAccountSettingsCommand;
6222
+ const de_DescribeAccountSettingsCommandError = async (output, context) => {
6223
+ const parsedOutput = {
6224
+ ...output,
6225
+ body: await parseErrorBody(output.body, context),
6226
+ };
6227
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6228
+ switch (errorCode) {
6229
+ case "AccessDeniedException":
6230
+ case "com.amazonaws.quicksight#AccessDeniedException":
6231
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
6232
+ case "InternalFailureException":
6233
+ case "com.amazonaws.quicksight#InternalFailureException":
6234
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
6235
+ case "InvalidParameterValueException":
6236
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
6237
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
6238
+ case "ResourceNotFoundException":
6239
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
6240
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6241
+ case "ResourceUnavailableException":
6242
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
6243
+ throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
6244
+ case "ThrottlingException":
6245
+ case "com.amazonaws.quicksight#ThrottlingException":
6246
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6247
+ default:
6248
+ const parsedBody = parsedOutput.body;
6249
+ return throwDefaultError({
6250
+ output,
6251
+ parsedBody,
6252
+ errorCode,
6253
+ });
6254
+ }
6255
+ };
6256
+ const de_DescribeAccountSubscriptionCommand = async (output, context) => {
6257
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6258
+ return de_DescribeAccountSubscriptionCommandError(output, context);
6259
+ }
6260
+ const contents = (0, smithy_client_1.map)({
6261
+ $metadata: deserializeMetadata(output),
6262
+ });
6263
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6264
+ const doc = (0, smithy_client_1.take)(data, {
6265
+ AccountInfo: smithy_client_1._json,
6266
+ RequestId: smithy_client_1.expectString,
6267
+ });
6268
+ Object.assign(contents, doc);
6269
+ (0, smithy_client_1.map)(contents, {
6270
+ Status: [, output.statusCode],
6271
+ });
6272
+ return contents;
6273
+ };
6274
+ exports.de_DescribeAccountSubscriptionCommand = de_DescribeAccountSubscriptionCommand;
6275
+ const de_DescribeAccountSubscriptionCommandError = async (output, context) => {
6276
+ const parsedOutput = {
6277
+ ...output,
6278
+ body: await parseErrorBody(output.body, context),
6279
+ };
6280
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6281
+ switch (errorCode) {
6282
+ case "AccessDeniedException":
6283
+ case "com.amazonaws.quicksight#AccessDeniedException":
6284
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
6285
+ case "InternalFailureException":
6286
+ case "com.amazonaws.quicksight#InternalFailureException":
6287
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
6288
+ case "InvalidParameterValueException":
6289
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
6290
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
6291
+ case "ResourceNotFoundException":
6292
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
6293
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6294
+ case "ResourceUnavailableException":
6295
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
6296
+ throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
6297
+ case "ThrottlingException":
6298
+ case "com.amazonaws.quicksight#ThrottlingException":
6299
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6300
+ default:
6301
+ const parsedBody = parsedOutput.body;
6302
+ return throwDefaultError({
6303
+ output,
6304
+ parsedBody,
6305
+ errorCode,
6306
+ });
6307
+ }
6308
+ };
6309
+ const de_DescribeAnalysisCommand = async (output, context) => {
6310
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6311
+ return de_DescribeAnalysisCommandError(output, context);
6312
+ }
6313
+ const contents = (0, smithy_client_1.map)({
6314
+ $metadata: deserializeMetadata(output),
6315
+ });
6316
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6317
+ const doc = (0, smithy_client_1.take)(data, {
6318
+ Analysis: (_) => de_Analysis(_, context),
6319
+ RequestId: smithy_client_1.expectString,
6320
+ });
6321
+ Object.assign(contents, doc);
6322
+ (0, smithy_client_1.map)(contents, {
6323
+ Status: [, output.statusCode],
6324
+ });
6325
+ return contents;
6326
+ };
6327
+ exports.de_DescribeAnalysisCommand = de_DescribeAnalysisCommand;
6328
+ const de_DescribeAnalysisCommandError = async (output, context) => {
6329
+ const parsedOutput = {
6330
+ ...output,
6331
+ body: await parseErrorBody(output.body, context),
6332
+ };
6333
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6334
+ switch (errorCode) {
6335
+ case "AccessDeniedException":
6336
+ case "com.amazonaws.quicksight#AccessDeniedException":
6337
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
6338
+ case "InternalFailureException":
6339
+ case "com.amazonaws.quicksight#InternalFailureException":
6340
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
6341
+ case "InvalidParameterValueException":
6342
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
6343
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
6344
+ case "ResourceNotFoundException":
6345
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
6346
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6347
+ case "ThrottlingException":
6348
+ case "com.amazonaws.quicksight#ThrottlingException":
5597
6349
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
5598
6350
  case "UnsupportedUserEditionException":
5599
6351
  case "com.amazonaws.quicksight#UnsupportedUserEditionException":
@@ -6813,9 +7565,289 @@ const de_DescribeTemplateDefinitionCommand = async (output, context) => {
6813
7565
  Errors: smithy_client_1._json,
6814
7566
  Name: smithy_client_1.expectString,
6815
7567
  RequestId: smithy_client_1.expectString,
6816
- ResourceStatus: smithy_client_1.expectString,
6817
- TemplateId: smithy_client_1.expectString,
6818
- ThemeArn: smithy_client_1.expectString,
7568
+ ResourceStatus: smithy_client_1.expectString,
7569
+ TemplateId: smithy_client_1.expectString,
7570
+ ThemeArn: smithy_client_1.expectString,
7571
+ });
7572
+ Object.assign(contents, doc);
7573
+ (0, smithy_client_1.map)(contents, {
7574
+ Status: [, output.statusCode],
7575
+ });
7576
+ return contents;
7577
+ };
7578
+ exports.de_DescribeTemplateDefinitionCommand = de_DescribeTemplateDefinitionCommand;
7579
+ const de_DescribeTemplateDefinitionCommandError = async (output, context) => {
7580
+ const parsedOutput = {
7581
+ ...output,
7582
+ body: await parseErrorBody(output.body, context),
7583
+ };
7584
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7585
+ switch (errorCode) {
7586
+ case "AccessDeniedException":
7587
+ case "com.amazonaws.quicksight#AccessDeniedException":
7588
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
7589
+ case "ConflictException":
7590
+ case "com.amazonaws.quicksight#ConflictException":
7591
+ throw await de_ConflictExceptionRes(parsedOutput, context);
7592
+ case "InternalFailureException":
7593
+ case "com.amazonaws.quicksight#InternalFailureException":
7594
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
7595
+ case "InvalidParameterValueException":
7596
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
7597
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
7598
+ case "ResourceExistsException":
7599
+ case "com.amazonaws.quicksight#ResourceExistsException":
7600
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
7601
+ case "ResourceNotFoundException":
7602
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
7603
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
7604
+ case "ThrottlingException":
7605
+ case "com.amazonaws.quicksight#ThrottlingException":
7606
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
7607
+ case "UnsupportedUserEditionException":
7608
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
7609
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
7610
+ default:
7611
+ const parsedBody = parsedOutput.body;
7612
+ return throwDefaultError({
7613
+ output,
7614
+ parsedBody,
7615
+ errorCode,
7616
+ });
7617
+ }
7618
+ };
7619
+ const de_DescribeTemplatePermissionsCommand = async (output, context) => {
7620
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7621
+ return de_DescribeTemplatePermissionsCommandError(output, context);
7622
+ }
7623
+ const contents = (0, smithy_client_1.map)({
7624
+ $metadata: deserializeMetadata(output),
7625
+ });
7626
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7627
+ const doc = (0, smithy_client_1.take)(data, {
7628
+ Permissions: smithy_client_1._json,
7629
+ RequestId: smithy_client_1.expectString,
7630
+ TemplateArn: smithy_client_1.expectString,
7631
+ TemplateId: smithy_client_1.expectString,
7632
+ });
7633
+ Object.assign(contents, doc);
7634
+ (0, smithy_client_1.map)(contents, {
7635
+ Status: [, output.statusCode],
7636
+ });
7637
+ return contents;
7638
+ };
7639
+ exports.de_DescribeTemplatePermissionsCommand = de_DescribeTemplatePermissionsCommand;
7640
+ const de_DescribeTemplatePermissionsCommandError = async (output, context) => {
7641
+ const parsedOutput = {
7642
+ ...output,
7643
+ body: await parseErrorBody(output.body, context),
7644
+ };
7645
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7646
+ switch (errorCode) {
7647
+ case "ConflictException":
7648
+ case "com.amazonaws.quicksight#ConflictException":
7649
+ throw await de_ConflictExceptionRes(parsedOutput, context);
7650
+ case "InternalFailureException":
7651
+ case "com.amazonaws.quicksight#InternalFailureException":
7652
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
7653
+ case "InvalidParameterValueException":
7654
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
7655
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
7656
+ case "ResourceNotFoundException":
7657
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
7658
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
7659
+ case "ThrottlingException":
7660
+ case "com.amazonaws.quicksight#ThrottlingException":
7661
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
7662
+ case "UnsupportedUserEditionException":
7663
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
7664
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
7665
+ default:
7666
+ const parsedBody = parsedOutput.body;
7667
+ return throwDefaultError({
7668
+ output,
7669
+ parsedBody,
7670
+ errorCode,
7671
+ });
7672
+ }
7673
+ };
7674
+ const de_DescribeThemeCommand = async (output, context) => {
7675
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7676
+ return de_DescribeThemeCommandError(output, context);
7677
+ }
7678
+ const contents = (0, smithy_client_1.map)({
7679
+ $metadata: deserializeMetadata(output),
7680
+ });
7681
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7682
+ const doc = (0, smithy_client_1.take)(data, {
7683
+ RequestId: smithy_client_1.expectString,
7684
+ Theme: (_) => de_Theme(_, context),
7685
+ });
7686
+ Object.assign(contents, doc);
7687
+ (0, smithy_client_1.map)(contents, {
7688
+ Status: [, output.statusCode],
7689
+ });
7690
+ return contents;
7691
+ };
7692
+ exports.de_DescribeThemeCommand = de_DescribeThemeCommand;
7693
+ const de_DescribeThemeCommandError = async (output, context) => {
7694
+ const parsedOutput = {
7695
+ ...output,
7696
+ body: await parseErrorBody(output.body, context),
7697
+ };
7698
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7699
+ switch (errorCode) {
7700
+ case "AccessDeniedException":
7701
+ case "com.amazonaws.quicksight#AccessDeniedException":
7702
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
7703
+ case "InternalFailureException":
7704
+ case "com.amazonaws.quicksight#InternalFailureException":
7705
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
7706
+ case "InvalidParameterValueException":
7707
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
7708
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
7709
+ case "ResourceExistsException":
7710
+ case "com.amazonaws.quicksight#ResourceExistsException":
7711
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
7712
+ case "ResourceNotFoundException":
7713
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
7714
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
7715
+ case "ThrottlingException":
7716
+ case "com.amazonaws.quicksight#ThrottlingException":
7717
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
7718
+ case "UnsupportedUserEditionException":
7719
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
7720
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
7721
+ default:
7722
+ const parsedBody = parsedOutput.body;
7723
+ return throwDefaultError({
7724
+ output,
7725
+ parsedBody,
7726
+ errorCode,
7727
+ });
7728
+ }
7729
+ };
7730
+ const de_DescribeThemeAliasCommand = async (output, context) => {
7731
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7732
+ return de_DescribeThemeAliasCommandError(output, context);
7733
+ }
7734
+ const contents = (0, smithy_client_1.map)({
7735
+ $metadata: deserializeMetadata(output),
7736
+ });
7737
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7738
+ const doc = (0, smithy_client_1.take)(data, {
7739
+ RequestId: smithy_client_1.expectString,
7740
+ ThemeAlias: smithy_client_1._json,
7741
+ });
7742
+ Object.assign(contents, doc);
7743
+ (0, smithy_client_1.map)(contents, {
7744
+ Status: [, output.statusCode],
7745
+ });
7746
+ return contents;
7747
+ };
7748
+ exports.de_DescribeThemeAliasCommand = de_DescribeThemeAliasCommand;
7749
+ const de_DescribeThemeAliasCommandError = async (output, context) => {
7750
+ const parsedOutput = {
7751
+ ...output,
7752
+ body: await parseErrorBody(output.body, context),
7753
+ };
7754
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7755
+ switch (errorCode) {
7756
+ case "ConflictException":
7757
+ case "com.amazonaws.quicksight#ConflictException":
7758
+ throw await de_ConflictExceptionRes(parsedOutput, context);
7759
+ case "InternalFailureException":
7760
+ case "com.amazonaws.quicksight#InternalFailureException":
7761
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
7762
+ case "InvalidParameterValueException":
7763
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
7764
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
7765
+ case "ResourceNotFoundException":
7766
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
7767
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
7768
+ case "ThrottlingException":
7769
+ case "com.amazonaws.quicksight#ThrottlingException":
7770
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
7771
+ case "UnsupportedUserEditionException":
7772
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
7773
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
7774
+ default:
7775
+ const parsedBody = parsedOutput.body;
7776
+ return throwDefaultError({
7777
+ output,
7778
+ parsedBody,
7779
+ errorCode,
7780
+ });
7781
+ }
7782
+ };
7783
+ const de_DescribeThemePermissionsCommand = async (output, context) => {
7784
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7785
+ return de_DescribeThemePermissionsCommandError(output, context);
7786
+ }
7787
+ const contents = (0, smithy_client_1.map)({
7788
+ $metadata: deserializeMetadata(output),
7789
+ });
7790
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7791
+ const doc = (0, smithy_client_1.take)(data, {
7792
+ Permissions: smithy_client_1._json,
7793
+ RequestId: smithy_client_1.expectString,
7794
+ ThemeArn: smithy_client_1.expectString,
7795
+ ThemeId: smithy_client_1.expectString,
7796
+ });
7797
+ Object.assign(contents, doc);
7798
+ (0, smithy_client_1.map)(contents, {
7799
+ Status: [, output.statusCode],
7800
+ });
7801
+ return contents;
7802
+ };
7803
+ exports.de_DescribeThemePermissionsCommand = de_DescribeThemePermissionsCommand;
7804
+ const de_DescribeThemePermissionsCommandError = async (output, context) => {
7805
+ const parsedOutput = {
7806
+ ...output,
7807
+ body: await parseErrorBody(output.body, context),
7808
+ };
7809
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7810
+ switch (errorCode) {
7811
+ case "AccessDeniedException":
7812
+ case "com.amazonaws.quicksight#AccessDeniedException":
7813
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
7814
+ case "InternalFailureException":
7815
+ case "com.amazonaws.quicksight#InternalFailureException":
7816
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
7817
+ case "InvalidParameterValueException":
7818
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
7819
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
7820
+ case "ResourceNotFoundException":
7821
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
7822
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
7823
+ case "ThrottlingException":
7824
+ case "com.amazonaws.quicksight#ThrottlingException":
7825
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
7826
+ case "UnsupportedUserEditionException":
7827
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
7828
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
7829
+ default:
7830
+ const parsedBody = parsedOutput.body;
7831
+ return throwDefaultError({
7832
+ output,
7833
+ parsedBody,
7834
+ errorCode,
7835
+ });
7836
+ }
7837
+ };
7838
+ const de_DescribeTopicCommand = async (output, context) => {
7839
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7840
+ return de_DescribeTopicCommandError(output, context);
7841
+ }
7842
+ const contents = (0, smithy_client_1.map)({
7843
+ $metadata: deserializeMetadata(output),
7844
+ });
7845
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7846
+ const doc = (0, smithy_client_1.take)(data, {
7847
+ Arn: smithy_client_1.expectString,
7848
+ RequestId: smithy_client_1.expectString,
7849
+ Topic: smithy_client_1._json,
7850
+ TopicId: smithy_client_1.expectString,
6819
7851
  });
6820
7852
  Object.assign(contents, doc);
6821
7853
  (0, smithy_client_1.map)(contents, {
@@ -6823,8 +7855,8 @@ const de_DescribeTemplateDefinitionCommand = async (output, context) => {
6823
7855
  });
6824
7856
  return contents;
6825
7857
  };
6826
- exports.de_DescribeTemplateDefinitionCommand = de_DescribeTemplateDefinitionCommand;
6827
- const de_DescribeTemplateDefinitionCommandError = async (output, context) => {
7858
+ exports.de_DescribeTopicCommand = de_DescribeTopicCommand;
7859
+ const de_DescribeTopicCommandError = async (output, context) => {
6828
7860
  const parsedOutput = {
6829
7861
  ...output,
6830
7862
  body: await parseErrorBody(output.body, context),
@@ -6834,27 +7866,18 @@ const de_DescribeTemplateDefinitionCommandError = async (output, context) => {
6834
7866
  case "AccessDeniedException":
6835
7867
  case "com.amazonaws.quicksight#AccessDeniedException":
6836
7868
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
6837
- case "ConflictException":
6838
- case "com.amazonaws.quicksight#ConflictException":
6839
- throw await de_ConflictExceptionRes(parsedOutput, context);
6840
7869
  case "InternalFailureException":
6841
7870
  case "com.amazonaws.quicksight#InternalFailureException":
6842
7871
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
6843
7872
  case "InvalidParameterValueException":
6844
7873
  case "com.amazonaws.quicksight#InvalidParameterValueException":
6845
7874
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
6846
- case "ResourceExistsException":
6847
- case "com.amazonaws.quicksight#ResourceExistsException":
6848
- throw await de_ResourceExistsExceptionRes(parsedOutput, context);
6849
7875
  case "ResourceNotFoundException":
6850
7876
  case "com.amazonaws.quicksight#ResourceNotFoundException":
6851
7877
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6852
7878
  case "ThrottlingException":
6853
7879
  case "com.amazonaws.quicksight#ThrottlingException":
6854
7880
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
6855
- case "UnsupportedUserEditionException":
6856
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
6857
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
6858
7881
  default:
6859
7882
  const parsedBody = parsedOutput.body;
6860
7883
  return throwDefaultError({
@@ -6864,9 +7887,9 @@ const de_DescribeTemplateDefinitionCommandError = async (output, context) => {
6864
7887
  });
6865
7888
  }
6866
7889
  };
6867
- const de_DescribeTemplatePermissionsCommand = async (output, context) => {
7890
+ const de_DescribeTopicPermissionsCommand = async (output, context) => {
6868
7891
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6869
- return de_DescribeTemplatePermissionsCommandError(output, context);
7892
+ return de_DescribeTopicPermissionsCommandError(output, context);
6870
7893
  }
6871
7894
  const contents = (0, smithy_client_1.map)({
6872
7895
  $metadata: deserializeMetadata(output),
@@ -6875,8 +7898,8 @@ const de_DescribeTemplatePermissionsCommand = async (output, context) => {
6875
7898
  const doc = (0, smithy_client_1.take)(data, {
6876
7899
  Permissions: smithy_client_1._json,
6877
7900
  RequestId: smithy_client_1.expectString,
6878
- TemplateArn: smithy_client_1.expectString,
6879
- TemplateId: smithy_client_1.expectString,
7901
+ TopicArn: smithy_client_1.expectString,
7902
+ TopicId: smithy_client_1.expectString,
6880
7903
  });
6881
7904
  Object.assign(contents, doc);
6882
7905
  (0, smithy_client_1.map)(contents, {
@@ -6884,17 +7907,17 @@ const de_DescribeTemplatePermissionsCommand = async (output, context) => {
6884
7907
  });
6885
7908
  return contents;
6886
7909
  };
6887
- exports.de_DescribeTemplatePermissionsCommand = de_DescribeTemplatePermissionsCommand;
6888
- const de_DescribeTemplatePermissionsCommandError = async (output, context) => {
7910
+ exports.de_DescribeTopicPermissionsCommand = de_DescribeTopicPermissionsCommand;
7911
+ const de_DescribeTopicPermissionsCommandError = async (output, context) => {
6889
7912
  const parsedOutput = {
6890
7913
  ...output,
6891
7914
  body: await parseErrorBody(output.body, context),
6892
7915
  };
6893
7916
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6894
7917
  switch (errorCode) {
6895
- case "ConflictException":
6896
- case "com.amazonaws.quicksight#ConflictException":
6897
- throw await de_ConflictExceptionRes(parsedOutput, context);
7918
+ case "AccessDeniedException":
7919
+ case "com.amazonaws.quicksight#AccessDeniedException":
7920
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
6898
7921
  case "InternalFailureException":
6899
7922
  case "com.amazonaws.quicksight#InternalFailureException":
6900
7923
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
@@ -6907,9 +7930,6 @@ const de_DescribeTemplatePermissionsCommandError = async (output, context) => {
6907
7930
  case "ThrottlingException":
6908
7931
  case "com.amazonaws.quicksight#ThrottlingException":
6909
7932
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
6910
- case "UnsupportedUserEditionException":
6911
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
6912
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
6913
7933
  default:
6914
7934
  const parsedBody = parsedOutput.body;
6915
7935
  return throwDefaultError({
@@ -6919,17 +7939,17 @@ const de_DescribeTemplatePermissionsCommandError = async (output, context) => {
6919
7939
  });
6920
7940
  }
6921
7941
  };
6922
- const de_DescribeThemeCommand = async (output, context) => {
7942
+ const de_DescribeTopicRefreshCommand = async (output, context) => {
6923
7943
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6924
- return de_DescribeThemeCommandError(output, context);
7944
+ return de_DescribeTopicRefreshCommandError(output, context);
6925
7945
  }
6926
7946
  const contents = (0, smithy_client_1.map)({
6927
7947
  $metadata: deserializeMetadata(output),
6928
7948
  });
6929
7949
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6930
7950
  const doc = (0, smithy_client_1.take)(data, {
7951
+ RefreshDetails: smithy_client_1._json,
6931
7952
  RequestId: smithy_client_1.expectString,
6932
- Theme: (_) => de_Theme(_, context),
6933
7953
  });
6934
7954
  Object.assign(contents, doc);
6935
7955
  (0, smithy_client_1.map)(contents, {
@@ -6937,8 +7957,8 @@ const de_DescribeThemeCommand = async (output, context) => {
6937
7957
  });
6938
7958
  return contents;
6939
7959
  };
6940
- exports.de_DescribeThemeCommand = de_DescribeThemeCommand;
6941
- const de_DescribeThemeCommandError = async (output, context) => {
7960
+ exports.de_DescribeTopicRefreshCommand = de_DescribeTopicRefreshCommand;
7961
+ const de_DescribeTopicRefreshCommandError = async (output, context) => {
6942
7962
  const parsedOutput = {
6943
7963
  ...output,
6944
7964
  body: await parseErrorBody(output.body, context),
@@ -6954,18 +7974,12 @@ const de_DescribeThemeCommandError = async (output, context) => {
6954
7974
  case "InvalidParameterValueException":
6955
7975
  case "com.amazonaws.quicksight#InvalidParameterValueException":
6956
7976
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
6957
- case "ResourceExistsException":
6958
- case "com.amazonaws.quicksight#ResourceExistsException":
6959
- throw await de_ResourceExistsExceptionRes(parsedOutput, context);
6960
7977
  case "ResourceNotFoundException":
6961
7978
  case "com.amazonaws.quicksight#ResourceNotFoundException":
6962
7979
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6963
7980
  case "ThrottlingException":
6964
7981
  case "com.amazonaws.quicksight#ThrottlingException":
6965
7982
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
6966
- case "UnsupportedUserEditionException":
6967
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
6968
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
6969
7983
  default:
6970
7984
  const parsedBody = parsedOutput.body;
6971
7985
  return throwDefaultError({
@@ -6975,17 +7989,20 @@ const de_DescribeThemeCommandError = async (output, context) => {
6975
7989
  });
6976
7990
  }
6977
7991
  };
6978
- const de_DescribeThemeAliasCommand = async (output, context) => {
7992
+ const de_DescribeTopicRefreshScheduleCommand = async (output, context) => {
6979
7993
  if (output.statusCode !== 200 && output.statusCode >= 300) {
6980
- return de_DescribeThemeAliasCommandError(output, context);
7994
+ return de_DescribeTopicRefreshScheduleCommandError(output, context);
6981
7995
  }
6982
7996
  const contents = (0, smithy_client_1.map)({
6983
7997
  $metadata: deserializeMetadata(output),
6984
7998
  });
6985
7999
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6986
8000
  const doc = (0, smithy_client_1.take)(data, {
8001
+ DatasetArn: smithy_client_1.expectString,
8002
+ RefreshSchedule: (_) => de_TopicRefreshSchedule(_, context),
6987
8003
  RequestId: smithy_client_1.expectString,
6988
- ThemeAlias: smithy_client_1._json,
8004
+ TopicArn: smithy_client_1.expectString,
8005
+ TopicId: smithy_client_1.expectString,
6989
8006
  });
6990
8007
  Object.assign(contents, doc);
6991
8008
  (0, smithy_client_1.map)(contents, {
@@ -6993,14 +8010,17 @@ const de_DescribeThemeAliasCommand = async (output, context) => {
6993
8010
  });
6994
8011
  return contents;
6995
8012
  };
6996
- exports.de_DescribeThemeAliasCommand = de_DescribeThemeAliasCommand;
6997
- const de_DescribeThemeAliasCommandError = async (output, context) => {
8013
+ exports.de_DescribeTopicRefreshScheduleCommand = de_DescribeTopicRefreshScheduleCommand;
8014
+ const de_DescribeTopicRefreshScheduleCommandError = async (output, context) => {
6998
8015
  const parsedOutput = {
6999
8016
  ...output,
7000
8017
  body: await parseErrorBody(output.body, context),
7001
8018
  };
7002
8019
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7003
8020
  switch (errorCode) {
8021
+ case "AccessDeniedException":
8022
+ case "com.amazonaws.quicksight#AccessDeniedException":
8023
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
7004
8024
  case "ConflictException":
7005
8025
  case "com.amazonaws.quicksight#ConflictException":
7006
8026
  throw await de_ConflictExceptionRes(parsedOutput, context);
@@ -7010,15 +8030,18 @@ const de_DescribeThemeAliasCommandError = async (output, context) => {
7010
8030
  case "InvalidParameterValueException":
7011
8031
  case "com.amazonaws.quicksight#InvalidParameterValueException":
7012
8032
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
8033
+ case "LimitExceededException":
8034
+ case "com.amazonaws.quicksight#LimitExceededException":
8035
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
8036
+ case "ResourceExistsException":
8037
+ case "com.amazonaws.quicksight#ResourceExistsException":
8038
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
7013
8039
  case "ResourceNotFoundException":
7014
8040
  case "com.amazonaws.quicksight#ResourceNotFoundException":
7015
8041
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
7016
8042
  case "ThrottlingException":
7017
8043
  case "com.amazonaws.quicksight#ThrottlingException":
7018
8044
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
7019
- case "UnsupportedUserEditionException":
7020
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
7021
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
7022
8045
  default:
7023
8046
  const parsedBody = parsedOutput.body;
7024
8047
  return throwDefaultError({
@@ -7028,19 +8051,17 @@ const de_DescribeThemeAliasCommandError = async (output, context) => {
7028
8051
  });
7029
8052
  }
7030
8053
  };
7031
- const de_DescribeThemePermissionsCommand = async (output, context) => {
8054
+ const de_DescribeUserCommand = async (output, context) => {
7032
8055
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7033
- return de_DescribeThemePermissionsCommandError(output, context);
8056
+ return de_DescribeUserCommandError(output, context);
7034
8057
  }
7035
8058
  const contents = (0, smithy_client_1.map)({
7036
8059
  $metadata: deserializeMetadata(output),
7037
8060
  });
7038
8061
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7039
8062
  const doc = (0, smithy_client_1.take)(data, {
7040
- Permissions: smithy_client_1._json,
7041
8063
  RequestId: smithy_client_1.expectString,
7042
- ThemeArn: smithy_client_1.expectString,
7043
- ThemeId: smithy_client_1.expectString,
8064
+ User: smithy_client_1._json,
7044
8065
  });
7045
8066
  Object.assign(contents, doc);
7046
8067
  (0, smithy_client_1.map)(contents, {
@@ -7048,8 +8069,8 @@ const de_DescribeThemePermissionsCommand = async (output, context) => {
7048
8069
  });
7049
8070
  return contents;
7050
8071
  };
7051
- exports.de_DescribeThemePermissionsCommand = de_DescribeThemePermissionsCommand;
7052
- const de_DescribeThemePermissionsCommandError = async (output, context) => {
8072
+ exports.de_DescribeUserCommand = de_DescribeUserCommand;
8073
+ const de_DescribeUserCommandError = async (output, context) => {
7053
8074
  const parsedOutput = {
7054
8075
  ...output,
7055
8076
  body: await parseErrorBody(output.body, context),
@@ -7065,15 +8086,18 @@ const de_DescribeThemePermissionsCommandError = async (output, context) => {
7065
8086
  case "InvalidParameterValueException":
7066
8087
  case "com.amazonaws.quicksight#InvalidParameterValueException":
7067
8088
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
8089
+ case "PreconditionNotMetException":
8090
+ case "com.amazonaws.quicksight#PreconditionNotMetException":
8091
+ throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
7068
8092
  case "ResourceNotFoundException":
7069
8093
  case "com.amazonaws.quicksight#ResourceNotFoundException":
7070
8094
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
8095
+ case "ResourceUnavailableException":
8096
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
8097
+ throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
7071
8098
  case "ThrottlingException":
7072
8099
  case "com.amazonaws.quicksight#ThrottlingException":
7073
8100
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
7074
- case "UnsupportedUserEditionException":
7075
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
7076
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
7077
8101
  default:
7078
8102
  const parsedBody = parsedOutput.body;
7079
8103
  return throwDefaultError({
@@ -7083,9 +8107,9 @@ const de_DescribeThemePermissionsCommandError = async (output, context) => {
7083
8107
  });
7084
8108
  }
7085
8109
  };
7086
- const de_DescribeUserCommand = async (output, context) => {
8110
+ const de_DescribeVPCConnectionCommand = async (output, context) => {
7087
8111
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7088
- return de_DescribeUserCommandError(output, context);
8112
+ return de_DescribeVPCConnectionCommandError(output, context);
7089
8113
  }
7090
8114
  const contents = (0, smithy_client_1.map)({
7091
8115
  $metadata: deserializeMetadata(output),
@@ -7093,16 +8117,14 @@ const de_DescribeUserCommand = async (output, context) => {
7093
8117
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7094
8118
  const doc = (0, smithy_client_1.take)(data, {
7095
8119
  RequestId: smithy_client_1.expectString,
7096
- User: smithy_client_1._json,
8120
+ Status: smithy_client_1.expectInt32,
8121
+ VPCConnection: (_) => de_VPCConnection(_, context),
7097
8122
  });
7098
8123
  Object.assign(contents, doc);
7099
- (0, smithy_client_1.map)(contents, {
7100
- Status: [, output.statusCode],
7101
- });
7102
8124
  return contents;
7103
8125
  };
7104
- exports.de_DescribeUserCommand = de_DescribeUserCommand;
7105
- const de_DescribeUserCommandError = async (output, context) => {
8126
+ exports.de_DescribeVPCConnectionCommand = de_DescribeVPCConnectionCommand;
8127
+ const de_DescribeVPCConnectionCommandError = async (output, context) => {
7106
8128
  const parsedOutput = {
7107
8129
  ...output,
7108
8130
  body: await parseErrorBody(output.body, context),
@@ -7118,18 +8140,15 @@ const de_DescribeUserCommandError = async (output, context) => {
7118
8140
  case "InvalidParameterValueException":
7119
8141
  case "com.amazonaws.quicksight#InvalidParameterValueException":
7120
8142
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
7121
- case "PreconditionNotMetException":
7122
- case "com.amazonaws.quicksight#PreconditionNotMetException":
7123
- throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
7124
8143
  case "ResourceNotFoundException":
7125
8144
  case "com.amazonaws.quicksight#ResourceNotFoundException":
7126
8145
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
7127
- case "ResourceUnavailableException":
7128
- case "com.amazonaws.quicksight#ResourceUnavailableException":
7129
- throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
7130
8146
  case "ThrottlingException":
7131
8147
  case "com.amazonaws.quicksight#ThrottlingException":
7132
8148
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
8149
+ case "UnsupportedUserEditionException":
8150
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
8151
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
7133
8152
  default:
7134
8153
  const parsedBody = parsedOutput.body;
7135
8154
  return throwDefaultError({
@@ -8541,6 +9560,118 @@ const de_ListThemeVersionsCommandError = async (output, context) => {
8541
9560
  });
8542
9561
  }
8543
9562
  };
9563
+ const de_ListTopicRefreshSchedulesCommand = async (output, context) => {
9564
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9565
+ return de_ListTopicRefreshSchedulesCommandError(output, context);
9566
+ }
9567
+ const contents = (0, smithy_client_1.map)({
9568
+ $metadata: deserializeMetadata(output),
9569
+ });
9570
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
9571
+ const doc = (0, smithy_client_1.take)(data, {
9572
+ RefreshSchedules: (_) => de_TopicRefreshScheduleSummaries(_, context),
9573
+ RequestId: smithy_client_1.expectString,
9574
+ TopicArn: smithy_client_1.expectString,
9575
+ TopicId: smithy_client_1.expectString,
9576
+ });
9577
+ Object.assign(contents, doc);
9578
+ (0, smithy_client_1.map)(contents, {
9579
+ Status: [, output.statusCode],
9580
+ });
9581
+ return contents;
9582
+ };
9583
+ exports.de_ListTopicRefreshSchedulesCommand = de_ListTopicRefreshSchedulesCommand;
9584
+ const de_ListTopicRefreshSchedulesCommandError = async (output, context) => {
9585
+ const parsedOutput = {
9586
+ ...output,
9587
+ body: await parseErrorBody(output.body, context),
9588
+ };
9589
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9590
+ switch (errorCode) {
9591
+ case "AccessDeniedException":
9592
+ case "com.amazonaws.quicksight#AccessDeniedException":
9593
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
9594
+ case "ConflictException":
9595
+ case "com.amazonaws.quicksight#ConflictException":
9596
+ throw await de_ConflictExceptionRes(parsedOutput, context);
9597
+ case "InternalFailureException":
9598
+ case "com.amazonaws.quicksight#InternalFailureException":
9599
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
9600
+ case "InvalidParameterValueException":
9601
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
9602
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
9603
+ case "LimitExceededException":
9604
+ case "com.amazonaws.quicksight#LimitExceededException":
9605
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
9606
+ case "ResourceExistsException":
9607
+ case "com.amazonaws.quicksight#ResourceExistsException":
9608
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
9609
+ case "ResourceNotFoundException":
9610
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
9611
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
9612
+ case "ThrottlingException":
9613
+ case "com.amazonaws.quicksight#ThrottlingException":
9614
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
9615
+ default:
9616
+ const parsedBody = parsedOutput.body;
9617
+ return throwDefaultError({
9618
+ output,
9619
+ parsedBody,
9620
+ errorCode,
9621
+ });
9622
+ }
9623
+ };
9624
+ const de_ListTopicsCommand = async (output, context) => {
9625
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9626
+ return de_ListTopicsCommandError(output, context);
9627
+ }
9628
+ const contents = (0, smithy_client_1.map)({
9629
+ $metadata: deserializeMetadata(output),
9630
+ });
9631
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
9632
+ const doc = (0, smithy_client_1.take)(data, {
9633
+ NextToken: smithy_client_1.expectString,
9634
+ RequestId: smithy_client_1.expectString,
9635
+ TopicsSummaries: smithy_client_1._json,
9636
+ });
9637
+ Object.assign(contents, doc);
9638
+ (0, smithy_client_1.map)(contents, {
9639
+ Status: [, output.statusCode],
9640
+ });
9641
+ return contents;
9642
+ };
9643
+ exports.de_ListTopicsCommand = de_ListTopicsCommand;
9644
+ const de_ListTopicsCommandError = async (output, context) => {
9645
+ const parsedOutput = {
9646
+ ...output,
9647
+ body: await parseErrorBody(output.body, context),
9648
+ };
9649
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9650
+ switch (errorCode) {
9651
+ case "AccessDeniedException":
9652
+ case "com.amazonaws.quicksight#AccessDeniedException":
9653
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
9654
+ case "InternalFailureException":
9655
+ case "com.amazonaws.quicksight#InternalFailureException":
9656
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
9657
+ case "InvalidNextTokenException":
9658
+ case "com.amazonaws.quicksight#InvalidNextTokenException":
9659
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
9660
+ case "InvalidParameterValueException":
9661
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
9662
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
9663
+ case "ThrottlingException":
9664
+ case "com.amazonaws.quicksight#ThrottlingException":
9665
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
9666
+ default:
9667
+ const parsedBody = parsedOutput.body;
9668
+ return throwDefaultError({
9669
+ output,
9670
+ parsedBody,
9671
+ errorCode,
9672
+ });
9673
+ }
9674
+ };
8544
9675
  const de_ListUserGroupsCommand = async (output, context) => {
8545
9676
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8546
9677
  return de_ListUserGroupsCommandError(output, context);
@@ -8550,9 +9681,66 @@ const de_ListUserGroupsCommand = async (output, context) => {
8550
9681
  });
8551
9682
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
8552
9683
  const doc = (0, smithy_client_1.take)(data, {
8553
- GroupList: smithy_client_1._json,
9684
+ GroupList: smithy_client_1._json,
9685
+ NextToken: smithy_client_1.expectString,
9686
+ RequestId: smithy_client_1.expectString,
9687
+ });
9688
+ Object.assign(contents, doc);
9689
+ (0, smithy_client_1.map)(contents, {
9690
+ Status: [, output.statusCode],
9691
+ });
9692
+ return contents;
9693
+ };
9694
+ exports.de_ListUserGroupsCommand = de_ListUserGroupsCommand;
9695
+ const de_ListUserGroupsCommandError = async (output, context) => {
9696
+ const parsedOutput = {
9697
+ ...output,
9698
+ body: await parseErrorBody(output.body, context),
9699
+ };
9700
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9701
+ switch (errorCode) {
9702
+ case "AccessDeniedException":
9703
+ case "com.amazonaws.quicksight#AccessDeniedException":
9704
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
9705
+ case "InternalFailureException":
9706
+ case "com.amazonaws.quicksight#InternalFailureException":
9707
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
9708
+ case "InvalidParameterValueException":
9709
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
9710
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
9711
+ case "PreconditionNotMetException":
9712
+ case "com.amazonaws.quicksight#PreconditionNotMetException":
9713
+ throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
9714
+ case "ResourceNotFoundException":
9715
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
9716
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
9717
+ case "ResourceUnavailableException":
9718
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
9719
+ throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
9720
+ case "ThrottlingException":
9721
+ case "com.amazonaws.quicksight#ThrottlingException":
9722
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
9723
+ default:
9724
+ const parsedBody = parsedOutput.body;
9725
+ return throwDefaultError({
9726
+ output,
9727
+ parsedBody,
9728
+ errorCode,
9729
+ });
9730
+ }
9731
+ };
9732
+ const de_ListUsersCommand = async (output, context) => {
9733
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
9734
+ return de_ListUsersCommandError(output, context);
9735
+ }
9736
+ const contents = (0, smithy_client_1.map)({
9737
+ $metadata: deserializeMetadata(output),
9738
+ });
9739
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
9740
+ const doc = (0, smithy_client_1.take)(data, {
8554
9741
  NextToken: smithy_client_1.expectString,
8555
9742
  RequestId: smithy_client_1.expectString,
9743
+ UserList: smithy_client_1._json,
8556
9744
  });
8557
9745
  Object.assign(contents, doc);
8558
9746
  (0, smithy_client_1.map)(contents, {
@@ -8560,8 +9748,8 @@ const de_ListUserGroupsCommand = async (output, context) => {
8560
9748
  });
8561
9749
  return contents;
8562
9750
  };
8563
- exports.de_ListUserGroupsCommand = de_ListUserGroupsCommand;
8564
- const de_ListUserGroupsCommandError = async (output, context) => {
9751
+ exports.de_ListUsersCommand = de_ListUsersCommand;
9752
+ const de_ListUsersCommandError = async (output, context) => {
8565
9753
  const parsedOutput = {
8566
9754
  ...output,
8567
9755
  body: await parseErrorBody(output.body, context),
@@ -8574,6 +9762,9 @@ const de_ListUserGroupsCommandError = async (output, context) => {
8574
9762
  case "InternalFailureException":
8575
9763
  case "com.amazonaws.quicksight#InternalFailureException":
8576
9764
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
9765
+ case "InvalidNextTokenException":
9766
+ case "com.amazonaws.quicksight#InvalidNextTokenException":
9767
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
8577
9768
  case "InvalidParameterValueException":
8578
9769
  case "com.amazonaws.quicksight#InvalidParameterValueException":
8579
9770
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
@@ -8598,9 +9789,9 @@ const de_ListUserGroupsCommandError = async (output, context) => {
8598
9789
  });
8599
9790
  }
8600
9791
  };
8601
- const de_ListUsersCommand = async (output, context) => {
9792
+ const de_ListVPCConnectionsCommand = async (output, context) => {
8602
9793
  if (output.statusCode !== 200 && output.statusCode >= 300) {
8603
- return de_ListUsersCommandError(output, context);
9794
+ return de_ListVPCConnectionsCommandError(output, context);
8604
9795
  }
8605
9796
  const contents = (0, smithy_client_1.map)({
8606
9797
  $metadata: deserializeMetadata(output),
@@ -8609,7 +9800,7 @@ const de_ListUsersCommand = async (output, context) => {
8609
9800
  const doc = (0, smithy_client_1.take)(data, {
8610
9801
  NextToken: smithy_client_1.expectString,
8611
9802
  RequestId: smithy_client_1.expectString,
8612
- UserList: smithy_client_1._json,
9803
+ VPCConnectionSummaries: (_) => de_VPCConnectionSummaryList(_, context),
8613
9804
  });
8614
9805
  Object.assign(contents, doc);
8615
9806
  (0, smithy_client_1.map)(contents, {
@@ -8617,8 +9808,8 @@ const de_ListUsersCommand = async (output, context) => {
8617
9808
  });
8618
9809
  return contents;
8619
9810
  };
8620
- exports.de_ListUsersCommand = de_ListUsersCommand;
8621
- const de_ListUsersCommandError = async (output, context) => {
9811
+ exports.de_ListVPCConnectionsCommand = de_ListVPCConnectionsCommand;
9812
+ const de_ListVPCConnectionsCommandError = async (output, context) => {
8622
9813
  const parsedOutput = {
8623
9814
  ...output,
8624
9815
  body: await parseErrorBody(output.body, context),
@@ -8637,18 +9828,12 @@ const de_ListUsersCommandError = async (output, context) => {
8637
9828
  case "InvalidParameterValueException":
8638
9829
  case "com.amazonaws.quicksight#InvalidParameterValueException":
8639
9830
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
8640
- case "PreconditionNotMetException":
8641
- case "com.amazonaws.quicksight#PreconditionNotMetException":
8642
- throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
8643
- case "ResourceNotFoundException":
8644
- case "com.amazonaws.quicksight#ResourceNotFoundException":
8645
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
8646
- case "ResourceUnavailableException":
8647
- case "com.amazonaws.quicksight#ResourceUnavailableException":
8648
- throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
8649
9831
  case "ThrottlingException":
8650
9832
  case "com.amazonaws.quicksight#ThrottlingException":
8651
9833
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
9834
+ case "UnsupportedUserEditionException":
9835
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
9836
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
8652
9837
  default:
8653
9838
  const parsedBody = parsedOutput.body;
8654
9839
  return throwDefaultError({
@@ -10398,19 +11583,253 @@ const de_UpdateTemplateAliasCommandError = async (output, context) => {
10398
11583
  });
10399
11584
  }
10400
11585
  };
10401
- const de_UpdateTemplatePermissionsCommand = async (output, context) => {
11586
+ const de_UpdateTemplatePermissionsCommand = async (output, context) => {
11587
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11588
+ return de_UpdateTemplatePermissionsCommandError(output, context);
11589
+ }
11590
+ const contents = (0, smithy_client_1.map)({
11591
+ $metadata: deserializeMetadata(output),
11592
+ });
11593
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
11594
+ const doc = (0, smithy_client_1.take)(data, {
11595
+ Permissions: smithy_client_1._json,
11596
+ RequestId: smithy_client_1.expectString,
11597
+ TemplateArn: smithy_client_1.expectString,
11598
+ TemplateId: smithy_client_1.expectString,
11599
+ });
11600
+ Object.assign(contents, doc);
11601
+ (0, smithy_client_1.map)(contents, {
11602
+ Status: [, output.statusCode],
11603
+ });
11604
+ return contents;
11605
+ };
11606
+ exports.de_UpdateTemplatePermissionsCommand = de_UpdateTemplatePermissionsCommand;
11607
+ const de_UpdateTemplatePermissionsCommandError = async (output, context) => {
11608
+ const parsedOutput = {
11609
+ ...output,
11610
+ body: await parseErrorBody(output.body, context),
11611
+ };
11612
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11613
+ switch (errorCode) {
11614
+ case "ConflictException":
11615
+ case "com.amazonaws.quicksight#ConflictException":
11616
+ throw await de_ConflictExceptionRes(parsedOutput, context);
11617
+ case "InternalFailureException":
11618
+ case "com.amazonaws.quicksight#InternalFailureException":
11619
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
11620
+ case "InvalidParameterValueException":
11621
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
11622
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
11623
+ case "LimitExceededException":
11624
+ case "com.amazonaws.quicksight#LimitExceededException":
11625
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
11626
+ case "ResourceNotFoundException":
11627
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
11628
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
11629
+ case "ThrottlingException":
11630
+ case "com.amazonaws.quicksight#ThrottlingException":
11631
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
11632
+ case "UnsupportedUserEditionException":
11633
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
11634
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
11635
+ default:
11636
+ const parsedBody = parsedOutput.body;
11637
+ return throwDefaultError({
11638
+ output,
11639
+ parsedBody,
11640
+ errorCode,
11641
+ });
11642
+ }
11643
+ };
11644
+ const de_UpdateThemeCommand = async (output, context) => {
11645
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11646
+ return de_UpdateThemeCommandError(output, context);
11647
+ }
11648
+ const contents = (0, smithy_client_1.map)({
11649
+ $metadata: deserializeMetadata(output),
11650
+ });
11651
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
11652
+ const doc = (0, smithy_client_1.take)(data, {
11653
+ Arn: smithy_client_1.expectString,
11654
+ CreationStatus: smithy_client_1.expectString,
11655
+ RequestId: smithy_client_1.expectString,
11656
+ ThemeId: smithy_client_1.expectString,
11657
+ VersionArn: smithy_client_1.expectString,
11658
+ });
11659
+ Object.assign(contents, doc);
11660
+ (0, smithy_client_1.map)(contents, {
11661
+ Status: [, output.statusCode],
11662
+ });
11663
+ return contents;
11664
+ };
11665
+ exports.de_UpdateThemeCommand = de_UpdateThemeCommand;
11666
+ const de_UpdateThemeCommandError = async (output, context) => {
11667
+ const parsedOutput = {
11668
+ ...output,
11669
+ body: await parseErrorBody(output.body, context),
11670
+ };
11671
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11672
+ switch (errorCode) {
11673
+ case "AccessDeniedException":
11674
+ case "com.amazonaws.quicksight#AccessDeniedException":
11675
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
11676
+ case "InternalFailureException":
11677
+ case "com.amazonaws.quicksight#InternalFailureException":
11678
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
11679
+ case "InvalidParameterValueException":
11680
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
11681
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
11682
+ case "LimitExceededException":
11683
+ case "com.amazonaws.quicksight#LimitExceededException":
11684
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
11685
+ case "ResourceExistsException":
11686
+ case "com.amazonaws.quicksight#ResourceExistsException":
11687
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
11688
+ case "ResourceNotFoundException":
11689
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
11690
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
11691
+ case "ThrottlingException":
11692
+ case "com.amazonaws.quicksight#ThrottlingException":
11693
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
11694
+ case "UnsupportedUserEditionException":
11695
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
11696
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
11697
+ default:
11698
+ const parsedBody = parsedOutput.body;
11699
+ return throwDefaultError({
11700
+ output,
11701
+ parsedBody,
11702
+ errorCode,
11703
+ });
11704
+ }
11705
+ };
11706
+ const de_UpdateThemeAliasCommand = async (output, context) => {
11707
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11708
+ return de_UpdateThemeAliasCommandError(output, context);
11709
+ }
11710
+ const contents = (0, smithy_client_1.map)({
11711
+ $metadata: deserializeMetadata(output),
11712
+ });
11713
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
11714
+ const doc = (0, smithy_client_1.take)(data, {
11715
+ RequestId: smithy_client_1.expectString,
11716
+ ThemeAlias: smithy_client_1._json,
11717
+ });
11718
+ Object.assign(contents, doc);
11719
+ (0, smithy_client_1.map)(contents, {
11720
+ Status: [, output.statusCode],
11721
+ });
11722
+ return contents;
11723
+ };
11724
+ exports.de_UpdateThemeAliasCommand = de_UpdateThemeAliasCommand;
11725
+ const de_UpdateThemeAliasCommandError = async (output, context) => {
11726
+ const parsedOutput = {
11727
+ ...output,
11728
+ body: await parseErrorBody(output.body, context),
11729
+ };
11730
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11731
+ switch (errorCode) {
11732
+ case "ConflictException":
11733
+ case "com.amazonaws.quicksight#ConflictException":
11734
+ throw await de_ConflictExceptionRes(parsedOutput, context);
11735
+ case "InternalFailureException":
11736
+ case "com.amazonaws.quicksight#InternalFailureException":
11737
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
11738
+ case "InvalidParameterValueException":
11739
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
11740
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
11741
+ case "ResourceExistsException":
11742
+ case "com.amazonaws.quicksight#ResourceExistsException":
11743
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
11744
+ case "ResourceNotFoundException":
11745
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
11746
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
11747
+ case "ThrottlingException":
11748
+ case "com.amazonaws.quicksight#ThrottlingException":
11749
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
11750
+ case "UnsupportedUserEditionException":
11751
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
11752
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
11753
+ default:
11754
+ const parsedBody = parsedOutput.body;
11755
+ return throwDefaultError({
11756
+ output,
11757
+ parsedBody,
11758
+ errorCode,
11759
+ });
11760
+ }
11761
+ };
11762
+ const de_UpdateThemePermissionsCommand = async (output, context) => {
11763
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
11764
+ return de_UpdateThemePermissionsCommandError(output, context);
11765
+ }
11766
+ const contents = (0, smithy_client_1.map)({
11767
+ $metadata: deserializeMetadata(output),
11768
+ });
11769
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
11770
+ const doc = (0, smithy_client_1.take)(data, {
11771
+ Permissions: smithy_client_1._json,
11772
+ RequestId: smithy_client_1.expectString,
11773
+ ThemeArn: smithy_client_1.expectString,
11774
+ ThemeId: smithy_client_1.expectString,
11775
+ });
11776
+ Object.assign(contents, doc);
11777
+ (0, smithy_client_1.map)(contents, {
11778
+ Status: [, output.statusCode],
11779
+ });
11780
+ return contents;
11781
+ };
11782
+ exports.de_UpdateThemePermissionsCommand = de_UpdateThemePermissionsCommand;
11783
+ const de_UpdateThemePermissionsCommandError = async (output, context) => {
11784
+ const parsedOutput = {
11785
+ ...output,
11786
+ body: await parseErrorBody(output.body, context),
11787
+ };
11788
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11789
+ switch (errorCode) {
11790
+ case "AccessDeniedException":
11791
+ case "com.amazonaws.quicksight#AccessDeniedException":
11792
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
11793
+ case "InternalFailureException":
11794
+ case "com.amazonaws.quicksight#InternalFailureException":
11795
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
11796
+ case "InvalidParameterValueException":
11797
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
11798
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
11799
+ case "LimitExceededException":
11800
+ case "com.amazonaws.quicksight#LimitExceededException":
11801
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
11802
+ case "ResourceNotFoundException":
11803
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
11804
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
11805
+ case "ThrottlingException":
11806
+ case "com.amazonaws.quicksight#ThrottlingException":
11807
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
11808
+ case "UnsupportedUserEditionException":
11809
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
11810
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
11811
+ default:
11812
+ const parsedBody = parsedOutput.body;
11813
+ return throwDefaultError({
11814
+ output,
11815
+ parsedBody,
11816
+ errorCode,
11817
+ });
11818
+ }
11819
+ };
11820
+ const de_UpdateTopicCommand = async (output, context) => {
10402
11821
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10403
- return de_UpdateTemplatePermissionsCommandError(output, context);
11822
+ return de_UpdateTopicCommandError(output, context);
10404
11823
  }
10405
11824
  const contents = (0, smithy_client_1.map)({
10406
11825
  $metadata: deserializeMetadata(output),
10407
11826
  });
10408
11827
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10409
11828
  const doc = (0, smithy_client_1.take)(data, {
10410
- Permissions: smithy_client_1._json,
11829
+ Arn: smithy_client_1.expectString,
11830
+ RefreshArn: smithy_client_1.expectString,
10411
11831
  RequestId: smithy_client_1.expectString,
10412
- TemplateArn: smithy_client_1.expectString,
10413
- TemplateId: smithy_client_1.expectString,
11832
+ TopicId: smithy_client_1.expectString,
10414
11833
  });
10415
11834
  Object.assign(contents, doc);
10416
11835
  (0, smithy_client_1.map)(contents, {
@@ -10418,14 +11837,17 @@ const de_UpdateTemplatePermissionsCommand = async (output, context) => {
10418
11837
  });
10419
11838
  return contents;
10420
11839
  };
10421
- exports.de_UpdateTemplatePermissionsCommand = de_UpdateTemplatePermissionsCommand;
10422
- const de_UpdateTemplatePermissionsCommandError = async (output, context) => {
11840
+ exports.de_UpdateTopicCommand = de_UpdateTopicCommand;
11841
+ const de_UpdateTopicCommandError = async (output, context) => {
10423
11842
  const parsedOutput = {
10424
11843
  ...output,
10425
11844
  body: await parseErrorBody(output.body, context),
10426
11845
  };
10427
11846
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10428
11847
  switch (errorCode) {
11848
+ case "AccessDeniedException":
11849
+ case "com.amazonaws.quicksight#AccessDeniedException":
11850
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
10429
11851
  case "ConflictException":
10430
11852
  case "com.amazonaws.quicksight#ConflictException":
10431
11853
  throw await de_ConflictExceptionRes(parsedOutput, context);
@@ -10438,15 +11860,15 @@ const de_UpdateTemplatePermissionsCommandError = async (output, context) => {
10438
11860
  case "LimitExceededException":
10439
11861
  case "com.amazonaws.quicksight#LimitExceededException":
10440
11862
  throw await de_LimitExceededExceptionRes(parsedOutput, context);
11863
+ case "ResourceExistsException":
11864
+ case "com.amazonaws.quicksight#ResourceExistsException":
11865
+ throw await de_ResourceExistsExceptionRes(parsedOutput, context);
10441
11866
  case "ResourceNotFoundException":
10442
11867
  case "com.amazonaws.quicksight#ResourceNotFoundException":
10443
11868
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10444
11869
  case "ThrottlingException":
10445
11870
  case "com.amazonaws.quicksight#ThrottlingException":
10446
11871
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
10447
- case "UnsupportedUserEditionException":
10448
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
10449
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
10450
11872
  default:
10451
11873
  const parsedBody = parsedOutput.body;
10452
11874
  return throwDefaultError({
@@ -10456,20 +11878,19 @@ const de_UpdateTemplatePermissionsCommandError = async (output, context) => {
10456
11878
  });
10457
11879
  }
10458
11880
  };
10459
- const de_UpdateThemeCommand = async (output, context) => {
11881
+ const de_UpdateTopicPermissionsCommand = async (output, context) => {
10460
11882
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10461
- return de_UpdateThemeCommandError(output, context);
11883
+ return de_UpdateTopicPermissionsCommandError(output, context);
10462
11884
  }
10463
11885
  const contents = (0, smithy_client_1.map)({
10464
11886
  $metadata: deserializeMetadata(output),
10465
11887
  });
10466
11888
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10467
11889
  const doc = (0, smithy_client_1.take)(data, {
10468
- Arn: smithy_client_1.expectString,
10469
- CreationStatus: smithy_client_1.expectString,
11890
+ Permissions: smithy_client_1._json,
10470
11891
  RequestId: smithy_client_1.expectString,
10471
- ThemeId: smithy_client_1.expectString,
10472
- VersionArn: smithy_client_1.expectString,
11892
+ TopicArn: smithy_client_1.expectString,
11893
+ TopicId: smithy_client_1.expectString,
10473
11894
  });
10474
11895
  Object.assign(contents, doc);
10475
11896
  (0, smithy_client_1.map)(contents, {
@@ -10477,8 +11898,8 @@ const de_UpdateThemeCommand = async (output, context) => {
10477
11898
  });
10478
11899
  return contents;
10479
11900
  };
10480
- exports.de_UpdateThemeCommand = de_UpdateThemeCommand;
10481
- const de_UpdateThemeCommandError = async (output, context) => {
11901
+ exports.de_UpdateTopicPermissionsCommand = de_UpdateTopicPermissionsCommand;
11902
+ const de_UpdateTopicPermissionsCommandError = async (output, context) => {
10482
11903
  const parsedOutput = {
10483
11904
  ...output,
10484
11905
  body: await parseErrorBody(output.body, context),
@@ -10488,6 +11909,9 @@ const de_UpdateThemeCommandError = async (output, context) => {
10488
11909
  case "AccessDeniedException":
10489
11910
  case "com.amazonaws.quicksight#AccessDeniedException":
10490
11911
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
11912
+ case "ConflictException":
11913
+ case "com.amazonaws.quicksight#ConflictException":
11914
+ throw await de_ConflictExceptionRes(parsedOutput, context);
10491
11915
  case "InternalFailureException":
10492
11916
  case "com.amazonaws.quicksight#InternalFailureException":
10493
11917
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
@@ -10497,9 +11921,6 @@ const de_UpdateThemeCommandError = async (output, context) => {
10497
11921
  case "LimitExceededException":
10498
11922
  case "com.amazonaws.quicksight#LimitExceededException":
10499
11923
  throw await de_LimitExceededExceptionRes(parsedOutput, context);
10500
- case "ResourceExistsException":
10501
- case "com.amazonaws.quicksight#ResourceExistsException":
10502
- throw await de_ResourceExistsExceptionRes(parsedOutput, context);
10503
11924
  case "ResourceNotFoundException":
10504
11925
  case "com.amazonaws.quicksight#ResourceNotFoundException":
10505
11926
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -10518,17 +11939,19 @@ const de_UpdateThemeCommandError = async (output, context) => {
10518
11939
  });
10519
11940
  }
10520
11941
  };
10521
- const de_UpdateThemeAliasCommand = async (output, context) => {
11942
+ const de_UpdateTopicRefreshScheduleCommand = async (output, context) => {
10522
11943
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10523
- return de_UpdateThemeAliasCommandError(output, context);
11944
+ return de_UpdateTopicRefreshScheduleCommandError(output, context);
10524
11945
  }
10525
11946
  const contents = (0, smithy_client_1.map)({
10526
11947
  $metadata: deserializeMetadata(output),
10527
11948
  });
10528
11949
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10529
11950
  const doc = (0, smithy_client_1.take)(data, {
11951
+ DatasetArn: smithy_client_1.expectString,
10530
11952
  RequestId: smithy_client_1.expectString,
10531
- ThemeAlias: smithy_client_1._json,
11953
+ TopicArn: smithy_client_1.expectString,
11954
+ TopicId: smithy_client_1.expectString,
10532
11955
  });
10533
11956
  Object.assign(contents, doc);
10534
11957
  (0, smithy_client_1.map)(contents, {
@@ -10536,14 +11959,17 @@ const de_UpdateThemeAliasCommand = async (output, context) => {
10536
11959
  });
10537
11960
  return contents;
10538
11961
  };
10539
- exports.de_UpdateThemeAliasCommand = de_UpdateThemeAliasCommand;
10540
- const de_UpdateThemeAliasCommandError = async (output, context) => {
11962
+ exports.de_UpdateTopicRefreshScheduleCommand = de_UpdateTopicRefreshScheduleCommand;
11963
+ const de_UpdateTopicRefreshScheduleCommandError = async (output, context) => {
10541
11964
  const parsedOutput = {
10542
11965
  ...output,
10543
11966
  body: await parseErrorBody(output.body, context),
10544
11967
  };
10545
11968
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10546
11969
  switch (errorCode) {
11970
+ case "AccessDeniedException":
11971
+ case "com.amazonaws.quicksight#AccessDeniedException":
11972
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
10547
11973
  case "ConflictException":
10548
11974
  case "com.amazonaws.quicksight#ConflictException":
10549
11975
  throw await de_ConflictExceptionRes(parsedOutput, context);
@@ -10553,6 +11979,9 @@ const de_UpdateThemeAliasCommandError = async (output, context) => {
10553
11979
  case "InvalidParameterValueException":
10554
11980
  case "com.amazonaws.quicksight#InvalidParameterValueException":
10555
11981
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
11982
+ case "LimitExceededException":
11983
+ case "com.amazonaws.quicksight#LimitExceededException":
11984
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
10556
11985
  case "ResourceExistsException":
10557
11986
  case "com.amazonaws.quicksight#ResourceExistsException":
10558
11987
  throw await de_ResourceExistsExceptionRes(parsedOutput, context);
@@ -10562,9 +11991,6 @@ const de_UpdateThemeAliasCommandError = async (output, context) => {
10562
11991
  case "ThrottlingException":
10563
11992
  case "com.amazonaws.quicksight#ThrottlingException":
10564
11993
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
10565
- case "UnsupportedUserEditionException":
10566
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
10567
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
10568
11994
  default:
10569
11995
  const parsedBody = parsedOutput.body;
10570
11996
  return throwDefaultError({
@@ -10574,19 +12000,17 @@ const de_UpdateThemeAliasCommandError = async (output, context) => {
10574
12000
  });
10575
12001
  }
10576
12002
  };
10577
- const de_UpdateThemePermissionsCommand = async (output, context) => {
12003
+ const de_UpdateUserCommand = async (output, context) => {
10578
12004
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10579
- return de_UpdateThemePermissionsCommandError(output, context);
12005
+ return de_UpdateUserCommandError(output, context);
10580
12006
  }
10581
12007
  const contents = (0, smithy_client_1.map)({
10582
12008
  $metadata: deserializeMetadata(output),
10583
12009
  });
10584
12010
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10585
12011
  const doc = (0, smithy_client_1.take)(data, {
10586
- Permissions: smithy_client_1._json,
10587
12012
  RequestId: smithy_client_1.expectString,
10588
- ThemeArn: smithy_client_1.expectString,
10589
- ThemeId: smithy_client_1.expectString,
12013
+ User: smithy_client_1._json,
10590
12014
  });
10591
12015
  Object.assign(contents, doc);
10592
12016
  (0, smithy_client_1.map)(contents, {
@@ -10594,8 +12018,8 @@ const de_UpdateThemePermissionsCommand = async (output, context) => {
10594
12018
  });
10595
12019
  return contents;
10596
12020
  };
10597
- exports.de_UpdateThemePermissionsCommand = de_UpdateThemePermissionsCommand;
10598
- const de_UpdateThemePermissionsCommandError = async (output, context) => {
12021
+ exports.de_UpdateUserCommand = de_UpdateUserCommand;
12022
+ const de_UpdateUserCommandError = async (output, context) => {
10599
12023
  const parsedOutput = {
10600
12024
  ...output,
10601
12025
  body: await parseErrorBody(output.body, context),
@@ -10611,18 +12035,18 @@ const de_UpdateThemePermissionsCommandError = async (output, context) => {
10611
12035
  case "InvalidParameterValueException":
10612
12036
  case "com.amazonaws.quicksight#InvalidParameterValueException":
10613
12037
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
10614
- case "LimitExceededException":
10615
- case "com.amazonaws.quicksight#LimitExceededException":
10616
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
12038
+ case "PreconditionNotMetException":
12039
+ case "com.amazonaws.quicksight#PreconditionNotMetException":
12040
+ throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
10617
12041
  case "ResourceNotFoundException":
10618
12042
  case "com.amazonaws.quicksight#ResourceNotFoundException":
10619
12043
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
12044
+ case "ResourceUnavailableException":
12045
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
12046
+ throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
10620
12047
  case "ThrottlingException":
10621
12048
  case "com.amazonaws.quicksight#ThrottlingException":
10622
12049
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
10623
- case "UnsupportedUserEditionException":
10624
- case "com.amazonaws.quicksight#UnsupportedUserEditionException":
10625
- throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
10626
12050
  default:
10627
12051
  const parsedBody = parsedOutput.body;
10628
12052
  return throwDefaultError({
@@ -10632,17 +12056,20 @@ const de_UpdateThemePermissionsCommandError = async (output, context) => {
10632
12056
  });
10633
12057
  }
10634
12058
  };
10635
- const de_UpdateUserCommand = async (output, context) => {
12059
+ const de_UpdateVPCConnectionCommand = async (output, context) => {
10636
12060
  if (output.statusCode !== 200 && output.statusCode >= 300) {
10637
- return de_UpdateUserCommandError(output, context);
12061
+ return de_UpdateVPCConnectionCommandError(output, context);
10638
12062
  }
10639
12063
  const contents = (0, smithy_client_1.map)({
10640
12064
  $metadata: deserializeMetadata(output),
10641
12065
  });
10642
12066
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
10643
12067
  const doc = (0, smithy_client_1.take)(data, {
12068
+ Arn: smithy_client_1.expectString,
12069
+ AvailabilityStatus: smithy_client_1.expectString,
10644
12070
  RequestId: smithy_client_1.expectString,
10645
- User: smithy_client_1._json,
12071
+ UpdateStatus: smithy_client_1.expectString,
12072
+ VPCConnectionId: smithy_client_1.expectString,
10646
12073
  });
10647
12074
  Object.assign(contents, doc);
10648
12075
  (0, smithy_client_1.map)(contents, {
@@ -10650,8 +12077,8 @@ const de_UpdateUserCommand = async (output, context) => {
10650
12077
  });
10651
12078
  return contents;
10652
12079
  };
10653
- exports.de_UpdateUserCommand = de_UpdateUserCommand;
10654
- const de_UpdateUserCommandError = async (output, context) => {
12080
+ exports.de_UpdateVPCConnectionCommand = de_UpdateVPCConnectionCommand;
12081
+ const de_UpdateVPCConnectionCommandError = async (output, context) => {
10655
12082
  const parsedOutput = {
10656
12083
  ...output,
10657
12084
  body: await parseErrorBody(output.body, context),
@@ -10661,24 +12088,27 @@ const de_UpdateUserCommandError = async (output, context) => {
10661
12088
  case "AccessDeniedException":
10662
12089
  case "com.amazonaws.quicksight#AccessDeniedException":
10663
12090
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
12091
+ case "ConflictException":
12092
+ case "com.amazonaws.quicksight#ConflictException":
12093
+ throw await de_ConflictExceptionRes(parsedOutput, context);
10664
12094
  case "InternalFailureException":
10665
12095
  case "com.amazonaws.quicksight#InternalFailureException":
10666
12096
  throw await de_InternalFailureExceptionRes(parsedOutput, context);
10667
12097
  case "InvalidParameterValueException":
10668
12098
  case "com.amazonaws.quicksight#InvalidParameterValueException":
10669
12099
  throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
10670
- case "PreconditionNotMetException":
10671
- case "com.amazonaws.quicksight#PreconditionNotMetException":
10672
- throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
12100
+ case "LimitExceededException":
12101
+ case "com.amazonaws.quicksight#LimitExceededException":
12102
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
10673
12103
  case "ResourceNotFoundException":
10674
12104
  case "com.amazonaws.quicksight#ResourceNotFoundException":
10675
12105
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
10676
- case "ResourceUnavailableException":
10677
- case "com.amazonaws.quicksight#ResourceUnavailableException":
10678
- throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
10679
12106
  case "ThrottlingException":
10680
12107
  case "com.amazonaws.quicksight#ThrottlingException":
10681
12108
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
12109
+ case "UnsupportedUserEditionException":
12110
+ case "com.amazonaws.quicksight#UnsupportedUserEditionException":
12111
+ throw await de_UnsupportedUserEditionExceptionRes(parsedOutput, context);
10682
12112
  default:
10683
12113
  const parsedBody = parsedOutput.body;
10684
12114
  return throwDefaultError({
@@ -10711,7 +12141,7 @@ const de_ConcurrentUpdatingExceptionRes = async (parsedOutput, context) => {
10711
12141
  RequestId: smithy_client_1.expectString,
10712
12142
  });
10713
12143
  Object.assign(contents, doc);
10714
- const exception = new models_1_1.ConcurrentUpdatingException({
12144
+ const exception = new models_2_1.ConcurrentUpdatingException({
10715
12145
  $metadata: deserializeMetadata(parsedOutput),
10716
12146
  ...contents,
10717
12147
  });
@@ -10725,7 +12155,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
10725
12155
  RequestId: smithy_client_1.expectString,
10726
12156
  });
10727
12157
  Object.assign(contents, doc);
10728
- const exception = new models_1_1.ConflictException({
12158
+ const exception = new models_2_1.ConflictException({
10729
12159
  $metadata: deserializeMetadata(parsedOutput),
10730
12160
  ...contents,
10731
12161
  });
@@ -10739,7 +12169,7 @@ const de_DomainNotWhitelistedExceptionRes = async (parsedOutput, context) => {
10739
12169
  RequestId: smithy_client_1.expectString,
10740
12170
  });
10741
12171
  Object.assign(contents, doc);
10742
- const exception = new models_2_1.DomainNotWhitelistedException({
12172
+ const exception = new models_3_1.DomainNotWhitelistedException({
10743
12173
  $metadata: deserializeMetadata(parsedOutput),
10744
12174
  ...contents,
10745
12175
  });
@@ -10781,7 +12211,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
10781
12211
  RequestId: smithy_client_1.expectString,
10782
12212
  });
10783
12213
  Object.assign(contents, doc);
10784
- const exception = new models_2_1.InvalidNextTokenException({
12214
+ const exception = new models_3_1.InvalidNextTokenException({
10785
12215
  $metadata: deserializeMetadata(parsedOutput),
10786
12216
  ...contents,
10787
12217
  });
@@ -10897,7 +12327,7 @@ const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
10897
12327
  ResourceType: smithy_client_1.expectString,
10898
12328
  });
10899
12329
  Object.assign(contents, doc);
10900
- const exception = new models_1_1.ResourceUnavailableException({
12330
+ const exception = new models_2_1.ResourceUnavailableException({
10901
12331
  $metadata: deserializeMetadata(parsedOutput),
10902
12332
  ...contents,
10903
12333
  });
@@ -11341,6 +12771,42 @@ const se_DataColor = (input, context) => {
11341
12771
  DataValue: smithy_client_1.serializeFloat,
11342
12772
  });
11343
12773
  };
12774
+ const se_DatasetParameter = (input, context) => {
12775
+ return (0, smithy_client_1.take)(input, {
12776
+ DateTimeDatasetParameter: (_) => se_DateTimeDatasetParameter(_, context),
12777
+ DecimalDatasetParameter: (_) => se_DecimalDatasetParameter(_, context),
12778
+ IntegerDatasetParameter: smithy_client_1._json,
12779
+ StringDatasetParameter: smithy_client_1._json,
12780
+ });
12781
+ };
12782
+ const se_DatasetParameterList = (input, context) => {
12783
+ return input
12784
+ .filter((e) => e != null)
12785
+ .map((entry) => {
12786
+ return se_DatasetParameter(entry, context);
12787
+ });
12788
+ };
12789
+ const se_DateTimeDatasetParameter = (input, context) => {
12790
+ return (0, smithy_client_1.take)(input, {
12791
+ DefaultValues: (_) => se_DateTimeDatasetParameterDefaultValues(_, context),
12792
+ Id: [],
12793
+ Name: [],
12794
+ TimeGranularity: [],
12795
+ ValueType: [],
12796
+ });
12797
+ };
12798
+ const se_DateTimeDatasetParameterDefaultValues = (input, context) => {
12799
+ return (0, smithy_client_1.take)(input, {
12800
+ StaticValues: (_) => se_DateTimeDatasetParameterValueList(_, context),
12801
+ });
12802
+ };
12803
+ const se_DateTimeDatasetParameterValueList = (input, context) => {
12804
+ return input
12805
+ .filter((e) => e != null)
12806
+ .map((entry) => {
12807
+ return Math.round(entry.getTime() / 1000);
12808
+ });
12809
+ };
11344
12810
  const se_DateTimeDefaultValueList = (input, context) => {
11345
12811
  return input
11346
12812
  .filter((e) => e != null)
@@ -11370,6 +12836,7 @@ const se_DateTimeParameter = (input, context) => {
11370
12836
  const se_DateTimeParameterDeclaration = (input, context) => {
11371
12837
  return (0, smithy_client_1.take)(input, {
11372
12838
  DefaultValues: (_) => se_DateTimeDefaultValues(_, context),
12839
+ MappedDataSetParameters: smithy_client_1._json,
11373
12840
  Name: [],
11374
12841
  TimeGranularity: [],
11375
12842
  ValueWhenUnset: (_) => se_DateTimeValueWhenUnsetConfiguration(_, context),
@@ -11388,6 +12855,26 @@ const se_DateTimeValueWhenUnsetConfiguration = (input, context) => {
11388
12855
  ValueWhenUnsetOption: [],
11389
12856
  });
11390
12857
  };
12858
+ const se_DecimalDatasetParameter = (input, context) => {
12859
+ return (0, smithy_client_1.take)(input, {
12860
+ DefaultValues: (_) => se_DecimalDatasetParameterDefaultValues(_, context),
12861
+ Id: [],
12862
+ Name: [],
12863
+ ValueType: [],
12864
+ });
12865
+ };
12866
+ const se_DecimalDatasetParameterDefaultValues = (input, context) => {
12867
+ return (0, smithy_client_1.take)(input, {
12868
+ StaticValues: (_) => se_DecimalDatasetParameterValueList(_, context),
12869
+ });
12870
+ };
12871
+ const se_DecimalDatasetParameterValueList = (input, context) => {
12872
+ return input
12873
+ .filter((e) => e != null)
12874
+ .map((entry) => {
12875
+ return (0, smithy_client_1.serializeFloat)(entry);
12876
+ });
12877
+ };
11391
12878
  const se_DecimalDefaultValueList = (input, context) => {
11392
12879
  return input
11393
12880
  .filter((e) => e != null)
@@ -11410,6 +12897,7 @@ const se_DecimalParameter = (input, context) => {
11410
12897
  const se_DecimalParameterDeclaration = (input, context) => {
11411
12898
  return (0, smithy_client_1.take)(input, {
11412
12899
  DefaultValues: (_) => se_DecimalDefaultValues(_, context),
12900
+ MappedDataSetParameters: smithy_client_1._json,
11413
12901
  Name: [],
11414
12902
  ParameterValueType: [],
11415
12903
  ValueWhenUnset: (_) => se_DecimalValueWhenUnsetConfiguration(_, context),
@@ -11432,6 +12920,7 @@ const se_DestinationParameterValueConfiguration = (input, context) => {
11432
12920
  return (0, smithy_client_1.take)(input, {
11433
12921
  CustomValuesConfiguration: (_) => se_CustomValuesConfiguration(_, context),
11434
12922
  SelectAllValueOptions: [],
12923
+ SourceColumn: smithy_client_1._json,
11435
12924
  SourceField: [],
11436
12925
  SourceParameterName: [],
11437
12926
  });
@@ -12082,6 +13571,22 @@ const se_LineSeriesAxisDisplayOptions = (input, context) => {
12082
13571
  MissingDataConfigurations: smithy_client_1._json,
12083
13572
  });
12084
13573
  };
13574
+ const se_LogicalTable = (input, context) => {
13575
+ return (0, smithy_client_1.take)(input, {
13576
+ Alias: [],
13577
+ DataTransforms: (_) => se_TransformOperationList(_, context),
13578
+ Source: smithy_client_1._json,
13579
+ });
13580
+ };
13581
+ const se_LogicalTableMap = (input, context) => {
13582
+ return Object.entries(input).reduce((acc, [key, value]) => {
13583
+ if (value === null) {
13584
+ return acc;
13585
+ }
13586
+ acc[key] = se_LogicalTable(value, context);
13587
+ return acc;
13588
+ }, {});
13589
+ };
12085
13590
  const se_MaximumMinimumComputation = (input, context) => {
12086
13591
  return (0, smithy_client_1.take)(input, {
12087
13592
  ComputationId: [],
@@ -12115,6 +13620,14 @@ const se_MetricComparisonComputation = (input, context) => {
12115
13620
  Time: smithy_client_1._json,
12116
13621
  });
12117
13622
  };
13623
+ const se_NewDefaultValues = (input, context) => {
13624
+ return (0, smithy_client_1.take)(input, {
13625
+ DateTimeStaticValues: (_) => se_DateTimeDatasetParameterValueList(_, context),
13626
+ DecimalStaticValues: (_) => se_DecimalDatasetParameterValueList(_, context),
13627
+ IntegerStaticValues: smithy_client_1._json,
13628
+ StringStaticValues: smithy_client_1._json,
13629
+ });
13630
+ };
12118
13631
  const se_NumericalAggregationFunction = (input, context) => {
12119
13632
  return (0, smithy_client_1.take)(input, {
12120
13633
  PercentileAggregation: (_) => se_PercentileAggregation(_, context),
@@ -12172,6 +13685,13 @@ const se_NumericRangeFilterValue = (input, context) => {
12172
13685
  StaticValue: smithy_client_1.serializeFloat,
12173
13686
  });
12174
13687
  };
13688
+ const se_OverrideDatasetParameterOperation = (input, context) => {
13689
+ return (0, smithy_client_1.take)(input, {
13690
+ NewDefaultValues: (_) => se_NewDefaultValues(_, context),
13691
+ NewParameterName: [],
13692
+ ParameterName: [],
13693
+ });
13694
+ };
12175
13695
  const se_ParameterControl = (input, context) => {
12176
13696
  return (0, smithy_client_1.take)(input, {
12177
13697
  DateTimePicker: smithy_client_1._json,
@@ -12534,6 +14054,7 @@ const se_SankeyDiagramVisual = (input, context) => {
12534
14054
  const se_ScatterPlotCategoricallyAggregatedFieldWells = (input, context) => {
12535
14055
  return (0, smithy_client_1.take)(input, {
12536
14056
  Category: smithy_client_1._json,
14057
+ Label: smithy_client_1._json,
12537
14058
  Size: (_) => se_MeasureFieldList(_, context),
12538
14059
  XAxis: (_) => se_MeasureFieldList(_, context),
12539
14060
  YAxis: (_) => se_MeasureFieldList(_, context),
@@ -12560,6 +14081,8 @@ const se_ScatterPlotFieldWells = (input, context) => {
12560
14081
  };
12561
14082
  const se_ScatterPlotUnaggregatedFieldWells = (input, context) => {
12562
14083
  return (0, smithy_client_1.take)(input, {
14084
+ Category: smithy_client_1._json,
14085
+ Label: smithy_client_1._json,
12563
14086
  Size: (_) => se_MeasureFieldList(_, context),
12564
14087
  XAxis: smithy_client_1._json,
12565
14088
  YAxis: smithy_client_1._json,
@@ -12829,6 +14352,16 @@ const se_TopBottomRankedComputation = (input, context) => {
12829
14352
  Value: (_) => se_MeasureField(_, context),
12830
14353
  });
12831
14354
  };
14355
+ const se_TopicRefreshSchedule = (input, context) => {
14356
+ return (0, smithy_client_1.take)(input, {
14357
+ BasedOnSpiceSchedule: [],
14358
+ IsEnabled: [],
14359
+ RepeatAt: [],
14360
+ StartingAt: (_) => Math.round(_.getTime() / 1000),
14361
+ Timezone: [],
14362
+ TopicScheduleType: [],
14363
+ });
14364
+ };
12832
14365
  const se_TotalAggregationComputation = (input, context) => {
12833
14366
  return (0, smithy_client_1.take)(input, {
12834
14367
  ComputationId: [],
@@ -12836,6 +14369,28 @@ const se_TotalAggregationComputation = (input, context) => {
12836
14369
  Value: (_) => se_MeasureField(_, context),
12837
14370
  });
12838
14371
  };
14372
+ const se_TransformOperation = (input, context) => {
14373
+ return models_2_1.TransformOperation.visit(input, {
14374
+ CastColumnTypeOperation: (value) => ({ CastColumnTypeOperation: (0, smithy_client_1._json)(value) }),
14375
+ CreateColumnsOperation: (value) => ({ CreateColumnsOperation: (0, smithy_client_1._json)(value) }),
14376
+ FilterOperation: (value) => ({ FilterOperation: (0, smithy_client_1._json)(value) }),
14377
+ OverrideDatasetParameterOperation: (value) => ({
14378
+ OverrideDatasetParameterOperation: se_OverrideDatasetParameterOperation(value, context),
14379
+ }),
14380
+ ProjectOperation: (value) => ({ ProjectOperation: (0, smithy_client_1._json)(value) }),
14381
+ RenameColumnOperation: (value) => ({ RenameColumnOperation: (0, smithy_client_1._json)(value) }),
14382
+ TagColumnOperation: (value) => ({ TagColumnOperation: (0, smithy_client_1._json)(value) }),
14383
+ UntagColumnOperation: (value) => ({ UntagColumnOperation: (0, smithy_client_1._json)(value) }),
14384
+ _: (name, value) => ({ name: value }),
14385
+ });
14386
+ };
14387
+ const se_TransformOperationList = (input, context) => {
14388
+ return input
14389
+ .filter((e) => e != null)
14390
+ .map((entry) => {
14391
+ return se_TransformOperation(entry, context);
14392
+ });
14393
+ };
12839
14394
  const se_TreeMapAggregatedFieldWells = (input, context) => {
12840
14395
  return (0, smithy_client_1.take)(input, {
12841
14396
  Colors: (_) => se_TreeMapMeasureFieldList(_, context),
@@ -13541,10 +15096,11 @@ const de_DataSet = (output, context) => {
13541
15096
  CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
13542
15097
  DataSetId: smithy_client_1.expectString,
13543
15098
  DataSetUsageConfiguration: smithy_client_1._json,
15099
+ DatasetParameters: (_) => de_DatasetParameterList(_, context),
13544
15100
  FieldFolders: smithy_client_1._json,
13545
15101
  ImportMode: smithy_client_1.expectString,
13546
15102
  LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
13547
- LogicalTableMap: smithy_client_1._json,
15103
+ LogicalTableMap: (_) => de_LogicalTableMap(_, context),
13548
15104
  Name: smithy_client_1.expectString,
13549
15105
  OutputColumns: smithy_client_1._json,
13550
15106
  PhysicalTableMap: smithy_client_1._json,
@@ -13552,6 +15108,22 @@ const de_DataSet = (output, context) => {
13552
15108
  RowLevelPermissionTagConfiguration: smithy_client_1._json,
13553
15109
  });
13554
15110
  };
15111
+ const de_DatasetParameter = (output, context) => {
15112
+ return (0, smithy_client_1.take)(output, {
15113
+ DateTimeDatasetParameter: (_) => de_DateTimeDatasetParameter(_, context),
15114
+ DecimalDatasetParameter: (_) => de_DecimalDatasetParameter(_, context),
15115
+ IntegerDatasetParameter: smithy_client_1._json,
15116
+ StringDatasetParameter: smithy_client_1._json,
15117
+ });
15118
+ };
15119
+ const de_DatasetParameterList = (output, context) => {
15120
+ const retVal = (output || [])
15121
+ .filter((e) => e != null)
15122
+ .map((entry) => {
15123
+ return de_DatasetParameter(entry, context);
15124
+ });
15125
+ return retVal;
15126
+ };
13555
15127
  const de_DataSetSummary = (output, context) => {
13556
15128
  return (0, smithy_client_1.take)(output, {
13557
15129
  Arn: smithy_client_1.expectString,
@@ -13616,6 +15188,28 @@ const de_DataSourceSummaryList = (output, context) => {
13616
15188
  });
13617
15189
  return retVal;
13618
15190
  };
15191
+ const de_DateTimeDatasetParameter = (output, context) => {
15192
+ return (0, smithy_client_1.take)(output, {
15193
+ DefaultValues: (_) => de_DateTimeDatasetParameterDefaultValues(_, context),
15194
+ Id: smithy_client_1.expectString,
15195
+ Name: smithy_client_1.expectString,
15196
+ TimeGranularity: smithy_client_1.expectString,
15197
+ ValueType: smithy_client_1.expectString,
15198
+ });
15199
+ };
15200
+ const de_DateTimeDatasetParameterDefaultValues = (output, context) => {
15201
+ return (0, smithy_client_1.take)(output, {
15202
+ StaticValues: (_) => de_DateTimeDatasetParameterValueList(_, context),
15203
+ });
15204
+ };
15205
+ const de_DateTimeDatasetParameterValueList = (output, context) => {
15206
+ const retVal = (output || [])
15207
+ .filter((e) => e != null)
15208
+ .map((entry) => {
15209
+ return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(entry)));
15210
+ });
15211
+ return retVal;
15212
+ };
13619
15213
  const de_DateTimeDefaultValueList = (output, context) => {
13620
15214
  const retVal = (output || [])
13621
15215
  .filter((e) => e != null)
@@ -13640,6 +15234,7 @@ const de_DateTimeHierarchy = (output, context) => {
13640
15234
  const de_DateTimeParameterDeclaration = (output, context) => {
13641
15235
  return (0, smithy_client_1.take)(output, {
13642
15236
  DefaultValues: (_) => de_DateTimeDefaultValues(_, context),
15237
+ MappedDataSetParameters: smithy_client_1._json,
13643
15238
  Name: smithy_client_1.expectString,
13644
15239
  TimeGranularity: smithy_client_1.expectString,
13645
15240
  ValueWhenUnset: (_) => de_DateTimeValueWhenUnsetConfiguration(_, context),
@@ -13651,6 +15246,27 @@ const de_DateTimeValueWhenUnsetConfiguration = (output, context) => {
13651
15246
  ValueWhenUnsetOption: smithy_client_1.expectString,
13652
15247
  });
13653
15248
  };
15249
+ const de_DecimalDatasetParameter = (output, context) => {
15250
+ return (0, smithy_client_1.take)(output, {
15251
+ DefaultValues: (_) => de_DecimalDatasetParameterDefaultValues(_, context),
15252
+ Id: smithy_client_1.expectString,
15253
+ Name: smithy_client_1.expectString,
15254
+ ValueType: smithy_client_1.expectString,
15255
+ });
15256
+ };
15257
+ const de_DecimalDatasetParameterDefaultValues = (output, context) => {
15258
+ return (0, smithy_client_1.take)(output, {
15259
+ StaticValues: (_) => de_DecimalDatasetParameterValueList(_, context),
15260
+ });
15261
+ };
15262
+ const de_DecimalDatasetParameterValueList = (output, context) => {
15263
+ const retVal = (output || [])
15264
+ .filter((e) => e != null)
15265
+ .map((entry) => {
15266
+ return (0, smithy_client_1.limitedParseDouble)(entry);
15267
+ });
15268
+ return retVal;
15269
+ };
13654
15270
  const de_DecimalDefaultValueList = (output, context) => {
13655
15271
  const retVal = (output || [])
13656
15272
  .filter((e) => e != null)
@@ -13668,6 +15284,7 @@ const de_DecimalDefaultValues = (output, context) => {
13668
15284
  const de_DecimalParameterDeclaration = (output, context) => {
13669
15285
  return (0, smithy_client_1.take)(output, {
13670
15286
  DefaultValues: (_) => de_DecimalDefaultValues(_, context),
15287
+ MappedDataSetParameters: smithy_client_1._json,
13671
15288
  Name: smithy_client_1.expectString,
13672
15289
  ParameterValueType: smithy_client_1.expectString,
13673
15290
  ValueWhenUnset: (_) => de_DecimalValueWhenUnsetConfiguration(_, context),
@@ -13683,6 +15300,7 @@ const de_DestinationParameterValueConfiguration = (output, context) => {
13683
15300
  return (0, smithy_client_1.take)(output, {
13684
15301
  CustomValuesConfiguration: (_) => de_CustomValuesConfiguration(_, context),
13685
15302
  SelectAllValueOptions: smithy_client_1.expectString,
15303
+ SourceColumn: smithy_client_1._json,
13686
15304
  SourceField: smithy_client_1.expectString,
13687
15305
  SourceParameterName: smithy_client_1.expectString,
13688
15306
  });
@@ -14400,6 +16018,22 @@ const de_LineSeriesAxisDisplayOptions = (output, context) => {
14400
16018
  MissingDataConfigurations: smithy_client_1._json,
14401
16019
  });
14402
16020
  };
16021
+ const de_LogicalTable = (output, context) => {
16022
+ return (0, smithy_client_1.take)(output, {
16023
+ Alias: smithy_client_1.expectString,
16024
+ DataTransforms: (_) => de_TransformOperationList(_, context),
16025
+ Source: smithy_client_1._json,
16026
+ });
16027
+ };
16028
+ const de_LogicalTableMap = (output, context) => {
16029
+ return Object.entries(output).reduce((acc, [key, value]) => {
16030
+ if (value === null) {
16031
+ return acc;
16032
+ }
16033
+ acc[key] = de_LogicalTable(value, context);
16034
+ return acc;
16035
+ }, {});
16036
+ };
14403
16037
  const de_MaximumMinimumComputation = (output, context) => {
14404
16038
  return (0, smithy_client_1.take)(output, {
14405
16039
  ComputationId: smithy_client_1.expectString,
@@ -14434,6 +16068,14 @@ const de_MetricComparisonComputation = (output, context) => {
14434
16068
  Time: smithy_client_1._json,
14435
16069
  });
14436
16070
  };
16071
+ const de_NewDefaultValues = (output, context) => {
16072
+ return (0, smithy_client_1.take)(output, {
16073
+ DateTimeStaticValues: (_) => de_DateTimeDatasetParameterValueList(_, context),
16074
+ DecimalStaticValues: (_) => de_DecimalDatasetParameterValueList(_, context),
16075
+ IntegerStaticValues: smithy_client_1._json,
16076
+ StringStaticValues: smithy_client_1._json,
16077
+ });
16078
+ };
14437
16079
  const de_NumericalAggregationFunction = (output, context) => {
14438
16080
  return (0, smithy_client_1.take)(output, {
14439
16081
  PercentileAggregation: (_) => de_PercentileAggregation(_, context),
@@ -14491,6 +16133,13 @@ const de_NumericRangeFilterValue = (output, context) => {
14491
16133
  StaticValue: smithy_client_1.limitedParseDouble,
14492
16134
  });
14493
16135
  };
16136
+ const de_OverrideDatasetParameterOperation = (output, context) => {
16137
+ return (0, smithy_client_1.take)(output, {
16138
+ NewDefaultValues: (_) => de_NewDefaultValues(_, context),
16139
+ NewParameterName: smithy_client_1.expectString,
16140
+ ParameterName: smithy_client_1.expectString,
16141
+ });
16142
+ };
14494
16143
  const de_ParameterControl = (output, context) => {
14495
16144
  return (0, smithy_client_1.take)(output, {
14496
16145
  DateTimePicker: smithy_client_1._json,
@@ -14861,6 +16510,7 @@ const de_SankeyDiagramVisual = (output, context) => {
14861
16510
  const de_ScatterPlotCategoricallyAggregatedFieldWells = (output, context) => {
14862
16511
  return (0, smithy_client_1.take)(output, {
14863
16512
  Category: smithy_client_1._json,
16513
+ Label: smithy_client_1._json,
14864
16514
  Size: (_) => de_MeasureFieldList(_, context),
14865
16515
  XAxis: (_) => de_MeasureFieldList(_, context),
14866
16516
  YAxis: (_) => de_MeasureFieldList(_, context),
@@ -14887,6 +16537,8 @@ const de_ScatterPlotFieldWells = (output, context) => {
14887
16537
  };
14888
16538
  const de_ScatterPlotUnaggregatedFieldWells = (output, context) => {
14889
16539
  return (0, smithy_client_1.take)(output, {
16540
+ Category: smithy_client_1._json,
16541
+ Label: smithy_client_1._json,
14890
16542
  Size: (_) => de_MeasureFieldList(_, context),
14891
16543
  XAxis: smithy_client_1._json,
14892
16544
  YAxis: smithy_client_1._json,
@@ -15262,6 +16914,32 @@ const de_TopBottomRankedComputation = (output, context) => {
15262
16914
  Value: (_) => de_MeasureField(_, context),
15263
16915
  });
15264
16916
  };
16917
+ const de_TopicRefreshSchedule = (output, context) => {
16918
+ return (0, smithy_client_1.take)(output, {
16919
+ BasedOnSpiceSchedule: smithy_client_1.expectBoolean,
16920
+ IsEnabled: smithy_client_1.expectBoolean,
16921
+ RepeatAt: smithy_client_1.expectString,
16922
+ StartingAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
16923
+ Timezone: smithy_client_1.expectString,
16924
+ TopicScheduleType: smithy_client_1.expectString,
16925
+ });
16926
+ };
16927
+ const de_TopicRefreshScheduleSummaries = (output, context) => {
16928
+ const retVal = (output || [])
16929
+ .filter((e) => e != null)
16930
+ .map((entry) => {
16931
+ return de_TopicRefreshScheduleSummary(entry, context);
16932
+ });
16933
+ return retVal;
16934
+ };
16935
+ const de_TopicRefreshScheduleSummary = (output, context) => {
16936
+ return (0, smithy_client_1.take)(output, {
16937
+ DatasetArn: smithy_client_1.expectString,
16938
+ DatasetId: smithy_client_1.expectString,
16939
+ DatasetName: smithy_client_1.expectString,
16940
+ RefreshSchedule: (_) => de_TopicRefreshSchedule(_, context),
16941
+ });
16942
+ };
15265
16943
  const de_TotalAggregationComputation = (output, context) => {
15266
16944
  return (0, smithy_client_1.take)(output, {
15267
16945
  ComputationId: smithy_client_1.expectString,
@@ -15269,6 +16947,57 @@ const de_TotalAggregationComputation = (output, context) => {
15269
16947
  Value: (_) => de_MeasureField(_, context),
15270
16948
  });
15271
16949
  };
16950
+ const de_TransformOperation = (output, context) => {
16951
+ if (output.CastColumnTypeOperation != null) {
16952
+ return {
16953
+ CastColumnTypeOperation: (0, smithy_client_1._json)(output.CastColumnTypeOperation),
16954
+ };
16955
+ }
16956
+ if (output.CreateColumnsOperation != null) {
16957
+ return {
16958
+ CreateColumnsOperation: (0, smithy_client_1._json)(output.CreateColumnsOperation),
16959
+ };
16960
+ }
16961
+ if (output.FilterOperation != null) {
16962
+ return {
16963
+ FilterOperation: (0, smithy_client_1._json)(output.FilterOperation),
16964
+ };
16965
+ }
16966
+ if (output.OverrideDatasetParameterOperation != null) {
16967
+ return {
16968
+ OverrideDatasetParameterOperation: de_OverrideDatasetParameterOperation(output.OverrideDatasetParameterOperation, context),
16969
+ };
16970
+ }
16971
+ if (output.ProjectOperation != null) {
16972
+ return {
16973
+ ProjectOperation: (0, smithy_client_1._json)(output.ProjectOperation),
16974
+ };
16975
+ }
16976
+ if (output.RenameColumnOperation != null) {
16977
+ return {
16978
+ RenameColumnOperation: (0, smithy_client_1._json)(output.RenameColumnOperation),
16979
+ };
16980
+ }
16981
+ if (output.TagColumnOperation != null) {
16982
+ return {
16983
+ TagColumnOperation: (0, smithy_client_1._json)(output.TagColumnOperation),
16984
+ };
16985
+ }
16986
+ if (output.UntagColumnOperation != null) {
16987
+ return {
16988
+ UntagColumnOperation: (0, smithy_client_1._json)(output.UntagColumnOperation),
16989
+ };
16990
+ }
16991
+ return { $unknown: Object.entries(output)[0] };
16992
+ };
16993
+ const de_TransformOperationList = (output, context) => {
16994
+ const retVal = (output || [])
16995
+ .filter((e) => e != null)
16996
+ .map((entry) => {
16997
+ return de_TransformOperation((0, smithy_client_1.expectUnion)(entry), context);
16998
+ });
16999
+ return retVal;
17000
+ };
15272
17001
  const de_TreeMapAggregatedFieldWells = (output, context) => {
15273
17002
  return (0, smithy_client_1.take)(output, {
15274
17003
  Colors: (_) => de_TreeMapMeasureFieldList(_, context),
@@ -15391,6 +17120,46 @@ const de_VisualList = (output, context) => {
15391
17120
  });
15392
17121
  return retVal;
15393
17122
  };
17123
+ const de_VPCConnection = (output, context) => {
17124
+ return (0, smithy_client_1.take)(output, {
17125
+ Arn: smithy_client_1.expectString,
17126
+ AvailabilityStatus: smithy_client_1.expectString,
17127
+ CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
17128
+ DnsResolvers: smithy_client_1._json,
17129
+ LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
17130
+ Name: smithy_client_1.expectString,
17131
+ NetworkInterfaces: smithy_client_1._json,
17132
+ RoleArn: smithy_client_1.expectString,
17133
+ SecurityGroupIds: smithy_client_1._json,
17134
+ Status: smithy_client_1.expectString,
17135
+ VPCConnectionId: smithy_client_1.expectString,
17136
+ VPCId: smithy_client_1.expectString,
17137
+ });
17138
+ };
17139
+ const de_VPCConnectionSummary = (output, context) => {
17140
+ return (0, smithy_client_1.take)(output, {
17141
+ Arn: smithy_client_1.expectString,
17142
+ AvailabilityStatus: smithy_client_1.expectString,
17143
+ CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
17144
+ DnsResolvers: smithy_client_1._json,
17145
+ LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
17146
+ Name: smithy_client_1.expectString,
17147
+ NetworkInterfaces: smithy_client_1._json,
17148
+ RoleArn: smithy_client_1.expectString,
17149
+ SecurityGroupIds: smithy_client_1._json,
17150
+ Status: smithy_client_1.expectString,
17151
+ VPCConnectionId: smithy_client_1.expectString,
17152
+ VPCId: smithy_client_1.expectString,
17153
+ });
17154
+ };
17155
+ const de_VPCConnectionSummaryList = (output, context) => {
17156
+ const retVal = (output || [])
17157
+ .filter((e) => e != null)
17158
+ .map((entry) => {
17159
+ return de_VPCConnectionSummary(entry, context);
17160
+ });
17161
+ return retVal;
17162
+ };
15394
17163
  const de_WaterfallChartAggregatedFieldWells = (output, context) => {
15395
17164
  return (0, smithy_client_1.take)(output, {
15396
17165
  Breakdowns: smithy_client_1._json,