@aws-sdk/client-quicksight 3.121.0 → 3.123.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 (50) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/QuickSight.js +30 -0
  3. package/dist-cjs/commands/CreateAccountSubscriptionCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeAccountSubscriptionCommand.js +36 -0
  5. package/dist-cjs/commands/DescribeThemeAliasCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeThemeCommand.js +2 -1
  7. package/dist-cjs/commands/DescribeThemePermissionsCommand.js +3 -3
  8. package/dist-cjs/commands/index.js +2 -0
  9. package/dist-cjs/models/models_0.js +64 -63
  10. package/dist-cjs/models/models_1.js +46 -3
  11. package/dist-cjs/protocols/Aws_restJson1.js +247 -5
  12. package/dist-es/QuickSight.js +30 -0
  13. package/dist-es/commands/CreateAccountSubscriptionCommand.js +39 -0
  14. package/dist-es/commands/DescribeAccountSubscriptionCommand.js +39 -0
  15. package/dist-es/commands/DescribeThemeAliasCommand.js +1 -1
  16. package/dist-es/commands/DescribeThemeCommand.js +2 -1
  17. package/dist-es/commands/DescribeThemePermissionsCommand.js +1 -1
  18. package/dist-es/commands/index.js +2 -0
  19. package/dist-es/models/models_0.js +45 -42
  20. package/dist-es/models/models_1.js +28 -0
  21. package/dist-es/protocols/Aws_restJson1.js +288 -2
  22. package/dist-types/QuickSight.d.ts +62 -22
  23. package/dist-types/QuickSightClient.d.ts +4 -2
  24. package/dist-types/commands/CreateAccountCustomizationCommand.d.ts +4 -5
  25. package/dist-types/commands/CreateAccountSubscriptionCommand.d.ts +62 -0
  26. package/dist-types/commands/DescribeAccountSubscriptionCommand.d.ts +35 -0
  27. package/dist-types/commands/DescribeThemeAliasCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeThemeCommand.d.ts +2 -1
  29. package/dist-types/commands/DescribeThemePermissionsCommand.d.ts +1 -1
  30. package/dist-types/commands/GenerateEmbedUrlForAnonymousUserCommand.d.ts +2 -4
  31. package/dist-types/commands/GenerateEmbedUrlForRegisteredUserCommand.d.ts +2 -1
  32. package/dist-types/commands/GetDashboardEmbedUrlCommand.d.ts +3 -7
  33. package/dist-types/commands/UpdateAccountCustomizationCommand.d.ts +1 -2
  34. package/dist-types/commands/UpdatePublicSharingSettingsCommand.d.ts +9 -3
  35. package/dist-types/commands/index.d.ts +2 -0
  36. package/dist-types/models/models_0.d.ts +299 -213
  37. package/dist-types/models/models_1.d.ts +212 -18
  38. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  39. package/dist-types/ts3.4/QuickSight.d.ts +10 -0
  40. package/dist-types/ts3.4/QuickSightClient.d.ts +4 -2
  41. package/dist-types/ts3.4/commands/CreateAccountSubscriptionCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DescribeAccountSubscriptionCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DescribeThemeAliasCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DescribeThemeCommand.d.ts +2 -1
  45. package/dist-types/ts3.4/commands/DescribeThemePermissionsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +116 -116
  48. package/dist-types/ts3.4/models/models_1.d.ts +108 -1857
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  50. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DescribeGroupMembershipCommand = exports.serializeAws_restJson1DescribeGroupCommand = exports.serializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.serializeAws_restJson1DescribeFolderPermissionsCommand = exports.serializeAws_restJson1DescribeFolderCommand = exports.serializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.serializeAws_restJson1DescribeDataSourceCommand = exports.serializeAws_restJson1DescribeDataSetPermissionsCommand = exports.serializeAws_restJson1DescribeDataSetCommand = exports.serializeAws_restJson1DescribeDashboardPermissionsCommand = exports.serializeAws_restJson1DescribeDashboardCommand = exports.serializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.serializeAws_restJson1DescribeAnalysisCommand = exports.serializeAws_restJson1DescribeAccountSettingsCommand = exports.serializeAws_restJson1DescribeAccountCustomizationCommand = exports.serializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.serializeAws_restJson1DeleteUserCommand = exports.serializeAws_restJson1DeleteThemeAliasCommand = exports.serializeAws_restJson1DeleteThemeCommand = exports.serializeAws_restJson1DeleteTemplateAliasCommand = exports.serializeAws_restJson1DeleteTemplateCommand = exports.serializeAws_restJson1DeleteNamespaceCommand = exports.serializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DeleteGroupMembershipCommand = exports.serializeAws_restJson1DeleteGroupCommand = exports.serializeAws_restJson1DeleteFolderMembershipCommand = exports.serializeAws_restJson1DeleteFolderCommand = exports.serializeAws_restJson1DeleteDataSourceCommand = exports.serializeAws_restJson1DeleteDataSetCommand = exports.serializeAws_restJson1DeleteDashboardCommand = exports.serializeAws_restJson1DeleteAnalysisCommand = exports.serializeAws_restJson1DeleteAccountCustomizationCommand = exports.serializeAws_restJson1CreateThemeAliasCommand = exports.serializeAws_restJson1CreateThemeCommand = exports.serializeAws_restJson1CreateTemplateAliasCommand = exports.serializeAws_restJson1CreateTemplateCommand = exports.serializeAws_restJson1CreateNamespaceCommand = exports.serializeAws_restJson1CreateIngestionCommand = exports.serializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1CreateGroupMembershipCommand = exports.serializeAws_restJson1CreateGroupCommand = exports.serializeAws_restJson1CreateFolderMembershipCommand = exports.serializeAws_restJson1CreateFolderCommand = exports.serializeAws_restJson1CreateDataSourceCommand = exports.serializeAws_restJson1CreateDataSetCommand = exports.serializeAws_restJson1CreateDashboardCommand = exports.serializeAws_restJson1CreateAnalysisCommand = exports.serializeAws_restJson1CreateAccountCustomizationCommand = exports.serializeAws_restJson1CancelIngestionCommand = void 0;
4
- exports.serializeAws_restJson1UpdateDashboardPermissionsCommand = exports.serializeAws_restJson1UpdateDashboardCommand = exports.serializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.serializeAws_restJson1UpdateAnalysisCommand = exports.serializeAws_restJson1UpdateAccountSettingsCommand = exports.serializeAws_restJson1UpdateAccountCustomizationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SearchGroupsCommand = exports.serializeAws_restJson1SearchFoldersCommand = exports.serializeAws_restJson1SearchDashboardsCommand = exports.serializeAws_restJson1SearchAnalysesCommand = exports.serializeAws_restJson1RestoreAnalysisCommand = exports.serializeAws_restJson1RegisterUserCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserGroupsCommand = exports.serializeAws_restJson1ListThemeVersionsCommand = exports.serializeAws_restJson1ListThemesCommand = exports.serializeAws_restJson1ListThemeAliasesCommand = exports.serializeAws_restJson1ListTemplateVersionsCommand = exports.serializeAws_restJson1ListTemplatesCommand = exports.serializeAws_restJson1ListTemplateAliasesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListNamespacesCommand = exports.serializeAws_restJson1ListIngestionsCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.serializeAws_restJson1ListGroupsCommand = exports.serializeAws_restJson1ListGroupMembershipsCommand = exports.serializeAws_restJson1ListFoldersCommand = exports.serializeAws_restJson1ListFolderMembersCommand = exports.serializeAws_restJson1ListDataSourcesCommand = exports.serializeAws_restJson1ListDataSetsCommand = exports.serializeAws_restJson1ListDashboardVersionsCommand = exports.serializeAws_restJson1ListDashboardsCommand = exports.serializeAws_restJson1ListAnalysesCommand = exports.serializeAws_restJson1GetSessionEmbedUrlCommand = exports.serializeAws_restJson1GetDashboardEmbedUrlCommand = exports.serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeThemePermissionsCommand = exports.serializeAws_restJson1DescribeThemeAliasCommand = exports.serializeAws_restJson1DescribeThemeCommand = exports.serializeAws_restJson1DescribeTemplatePermissionsCommand = exports.serializeAws_restJson1DescribeTemplateAliasCommand = exports.serializeAws_restJson1DescribeTemplateCommand = exports.serializeAws_restJson1DescribeNamespaceCommand = exports.serializeAws_restJson1DescribeIpRestrictionCommand = exports.serializeAws_restJson1DescribeIngestionCommand = void 0;
5
- exports.deserializeAws_restJson1DeleteThemeAliasCommand = exports.deserializeAws_restJson1DeleteThemeCommand = exports.deserializeAws_restJson1DeleteTemplateAliasCommand = exports.deserializeAws_restJson1DeleteTemplateCommand = exports.deserializeAws_restJson1DeleteNamespaceCommand = exports.deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DeleteGroupMembershipCommand = exports.deserializeAws_restJson1DeleteGroupCommand = exports.deserializeAws_restJson1DeleteFolderMembershipCommand = exports.deserializeAws_restJson1DeleteFolderCommand = exports.deserializeAws_restJson1DeleteDataSourceCommand = exports.deserializeAws_restJson1DeleteDataSetCommand = exports.deserializeAws_restJson1DeleteDashboardCommand = exports.deserializeAws_restJson1DeleteAnalysisCommand = exports.deserializeAws_restJson1DeleteAccountCustomizationCommand = exports.deserializeAws_restJson1CreateThemeAliasCommand = exports.deserializeAws_restJson1CreateThemeCommand = exports.deserializeAws_restJson1CreateTemplateAliasCommand = exports.deserializeAws_restJson1CreateTemplateCommand = exports.deserializeAws_restJson1CreateNamespaceCommand = exports.deserializeAws_restJson1CreateIngestionCommand = exports.deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1CreateGroupMembershipCommand = exports.deserializeAws_restJson1CreateGroupCommand = exports.deserializeAws_restJson1CreateFolderMembershipCommand = exports.deserializeAws_restJson1CreateFolderCommand = exports.deserializeAws_restJson1CreateDataSourceCommand = exports.deserializeAws_restJson1CreateDataSetCommand = exports.deserializeAws_restJson1CreateDashboardCommand = exports.deserializeAws_restJson1CreateAnalysisCommand = exports.deserializeAws_restJson1CreateAccountCustomizationCommand = exports.deserializeAws_restJson1CancelIngestionCommand = exports.serializeAws_restJson1UpdateUserCommand = exports.serializeAws_restJson1UpdateThemePermissionsCommand = exports.serializeAws_restJson1UpdateThemeAliasCommand = exports.serializeAws_restJson1UpdateThemeCommand = exports.serializeAws_restJson1UpdateTemplatePermissionsCommand = exports.serializeAws_restJson1UpdateTemplateAliasCommand = exports.serializeAws_restJson1UpdateTemplateCommand = exports.serializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.serializeAws_restJson1UpdateIpRestrictionCommand = exports.serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1UpdateGroupCommand = exports.serializeAws_restJson1UpdateFolderPermissionsCommand = exports.serializeAws_restJson1UpdateFolderCommand = exports.serializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.serializeAws_restJson1UpdateDataSourceCommand = exports.serializeAws_restJson1UpdateDataSetPermissionsCommand = exports.serializeAws_restJson1UpdateDataSetCommand = exports.serializeAws_restJson1UpdateDashboardPublishedVersionCommand = void 0;
6
- exports.deserializeAws_restJson1ListThemeAliasesCommand = exports.deserializeAws_restJson1ListTemplateVersionsCommand = exports.deserializeAws_restJson1ListTemplatesCommand = exports.deserializeAws_restJson1ListTemplateAliasesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListNamespacesCommand = exports.deserializeAws_restJson1ListIngestionsCommand = exports.deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = exports.deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.deserializeAws_restJson1ListGroupsCommand = exports.deserializeAws_restJson1ListGroupMembershipsCommand = exports.deserializeAws_restJson1ListFoldersCommand = exports.deserializeAws_restJson1ListFolderMembersCommand = exports.deserializeAws_restJson1ListDataSourcesCommand = exports.deserializeAws_restJson1ListDataSetsCommand = exports.deserializeAws_restJson1ListDashboardVersionsCommand = exports.deserializeAws_restJson1ListDashboardsCommand = exports.deserializeAws_restJson1ListAnalysesCommand = exports.deserializeAws_restJson1GetSessionEmbedUrlCommand = exports.deserializeAws_restJson1GetDashboardEmbedUrlCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeThemePermissionsCommand = exports.deserializeAws_restJson1DescribeThemeAliasCommand = exports.deserializeAws_restJson1DescribeThemeCommand = exports.deserializeAws_restJson1DescribeTemplatePermissionsCommand = exports.deserializeAws_restJson1DescribeTemplateAliasCommand = exports.deserializeAws_restJson1DescribeTemplateCommand = exports.deserializeAws_restJson1DescribeNamespaceCommand = exports.deserializeAws_restJson1DescribeIpRestrictionCommand = exports.deserializeAws_restJson1DescribeIngestionCommand = exports.deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DescribeGroupMembershipCommand = exports.deserializeAws_restJson1DescribeGroupCommand = exports.deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderCommand = exports.deserializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.deserializeAws_restJson1DescribeDataSourceCommand = exports.deserializeAws_restJson1DescribeDataSetPermissionsCommand = exports.deserializeAws_restJson1DescribeDataSetCommand = exports.deserializeAws_restJson1DescribeDashboardPermissionsCommand = exports.deserializeAws_restJson1DescribeDashboardCommand = exports.deserializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.deserializeAws_restJson1DescribeAnalysisCommand = exports.deserializeAws_restJson1DescribeAccountSettingsCommand = exports.deserializeAws_restJson1DescribeAccountCustomizationCommand = exports.deserializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.deserializeAws_restJson1DeleteUserCommand = void 0;
7
- exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdateThemePermissionsCommand = exports.deserializeAws_restJson1UpdateThemeAliasCommand = exports.deserializeAws_restJson1UpdateThemeCommand = exports.deserializeAws_restJson1UpdateTemplatePermissionsCommand = exports.deserializeAws_restJson1UpdateTemplateAliasCommand = exports.deserializeAws_restJson1UpdateTemplateCommand = exports.deserializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.deserializeAws_restJson1UpdateIpRestrictionCommand = exports.deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1UpdateGroupCommand = exports.deserializeAws_restJson1UpdateFolderPermissionsCommand = exports.deserializeAws_restJson1UpdateFolderCommand = exports.deserializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateDataSetPermissionsCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.deserializeAws_restJson1UpdateDashboardPermissionsCommand = exports.deserializeAws_restJson1UpdateDashboardCommand = exports.deserializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.deserializeAws_restJson1UpdateAnalysisCommand = exports.deserializeAws_restJson1UpdateAccountSettingsCommand = exports.deserializeAws_restJson1UpdateAccountCustomizationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SearchGroupsCommand = exports.deserializeAws_restJson1SearchFoldersCommand = exports.deserializeAws_restJson1SearchDashboardsCommand = exports.deserializeAws_restJson1SearchAnalysesCommand = exports.deserializeAws_restJson1RestoreAnalysisCommand = exports.deserializeAws_restJson1RegisterUserCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserGroupsCommand = exports.deserializeAws_restJson1ListThemeVersionsCommand = exports.deserializeAws_restJson1ListThemesCommand = void 0;
3
+ exports.serializeAws_restJson1DescribeGroupCommand = exports.serializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.serializeAws_restJson1DescribeFolderPermissionsCommand = exports.serializeAws_restJson1DescribeFolderCommand = exports.serializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.serializeAws_restJson1DescribeDataSourceCommand = exports.serializeAws_restJson1DescribeDataSetPermissionsCommand = exports.serializeAws_restJson1DescribeDataSetCommand = exports.serializeAws_restJson1DescribeDashboardPermissionsCommand = exports.serializeAws_restJson1DescribeDashboardCommand = exports.serializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.serializeAws_restJson1DescribeAnalysisCommand = exports.serializeAws_restJson1DescribeAccountSubscriptionCommand = exports.serializeAws_restJson1DescribeAccountSettingsCommand = exports.serializeAws_restJson1DescribeAccountCustomizationCommand = exports.serializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.serializeAws_restJson1DeleteUserCommand = exports.serializeAws_restJson1DeleteThemeAliasCommand = exports.serializeAws_restJson1DeleteThemeCommand = exports.serializeAws_restJson1DeleteTemplateAliasCommand = exports.serializeAws_restJson1DeleteTemplateCommand = exports.serializeAws_restJson1DeleteNamespaceCommand = exports.serializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DeleteGroupMembershipCommand = exports.serializeAws_restJson1DeleteGroupCommand = exports.serializeAws_restJson1DeleteFolderMembershipCommand = exports.serializeAws_restJson1DeleteFolderCommand = exports.serializeAws_restJson1DeleteDataSourceCommand = exports.serializeAws_restJson1DeleteDataSetCommand = exports.serializeAws_restJson1DeleteDashboardCommand = exports.serializeAws_restJson1DeleteAnalysisCommand = exports.serializeAws_restJson1DeleteAccountCustomizationCommand = exports.serializeAws_restJson1CreateThemeAliasCommand = exports.serializeAws_restJson1CreateThemeCommand = exports.serializeAws_restJson1CreateTemplateAliasCommand = exports.serializeAws_restJson1CreateTemplateCommand = exports.serializeAws_restJson1CreateNamespaceCommand = exports.serializeAws_restJson1CreateIngestionCommand = exports.serializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1CreateGroupMembershipCommand = exports.serializeAws_restJson1CreateGroupCommand = exports.serializeAws_restJson1CreateFolderMembershipCommand = exports.serializeAws_restJson1CreateFolderCommand = exports.serializeAws_restJson1CreateDataSourceCommand = exports.serializeAws_restJson1CreateDataSetCommand = exports.serializeAws_restJson1CreateDashboardCommand = exports.serializeAws_restJson1CreateAnalysisCommand = exports.serializeAws_restJson1CreateAccountSubscriptionCommand = exports.serializeAws_restJson1CreateAccountCustomizationCommand = exports.serializeAws_restJson1CancelIngestionCommand = void 0;
4
+ exports.serializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.serializeAws_restJson1UpdateAnalysisCommand = exports.serializeAws_restJson1UpdateAccountSettingsCommand = exports.serializeAws_restJson1UpdateAccountCustomizationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SearchGroupsCommand = exports.serializeAws_restJson1SearchFoldersCommand = exports.serializeAws_restJson1SearchDashboardsCommand = exports.serializeAws_restJson1SearchAnalysesCommand = exports.serializeAws_restJson1RestoreAnalysisCommand = exports.serializeAws_restJson1RegisterUserCommand = exports.serializeAws_restJson1ListUsersCommand = exports.serializeAws_restJson1ListUserGroupsCommand = exports.serializeAws_restJson1ListThemeVersionsCommand = exports.serializeAws_restJson1ListThemesCommand = exports.serializeAws_restJson1ListThemeAliasesCommand = exports.serializeAws_restJson1ListTemplateVersionsCommand = exports.serializeAws_restJson1ListTemplatesCommand = exports.serializeAws_restJson1ListTemplateAliasesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListNamespacesCommand = exports.serializeAws_restJson1ListIngestionsCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = exports.serializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.serializeAws_restJson1ListGroupsCommand = exports.serializeAws_restJson1ListGroupMembershipsCommand = exports.serializeAws_restJson1ListFoldersCommand = exports.serializeAws_restJson1ListFolderMembersCommand = exports.serializeAws_restJson1ListDataSourcesCommand = exports.serializeAws_restJson1ListDataSetsCommand = exports.serializeAws_restJson1ListDashboardVersionsCommand = exports.serializeAws_restJson1ListDashboardsCommand = exports.serializeAws_restJson1ListAnalysesCommand = exports.serializeAws_restJson1GetSessionEmbedUrlCommand = exports.serializeAws_restJson1GetDashboardEmbedUrlCommand = exports.serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.serializeAws_restJson1DescribeUserCommand = exports.serializeAws_restJson1DescribeThemePermissionsCommand = exports.serializeAws_restJson1DescribeThemeAliasCommand = exports.serializeAws_restJson1DescribeThemeCommand = exports.serializeAws_restJson1DescribeTemplatePermissionsCommand = exports.serializeAws_restJson1DescribeTemplateAliasCommand = exports.serializeAws_restJson1DescribeTemplateCommand = exports.serializeAws_restJson1DescribeNamespaceCommand = exports.serializeAws_restJson1DescribeIpRestrictionCommand = exports.serializeAws_restJson1DescribeIngestionCommand = exports.serializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.serializeAws_restJson1DescribeGroupMembershipCommand = void 0;
5
+ exports.deserializeAws_restJson1DeleteTemplateCommand = exports.deserializeAws_restJson1DeleteNamespaceCommand = exports.deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DeleteGroupMembershipCommand = exports.deserializeAws_restJson1DeleteGroupCommand = exports.deserializeAws_restJson1DeleteFolderMembershipCommand = exports.deserializeAws_restJson1DeleteFolderCommand = exports.deserializeAws_restJson1DeleteDataSourceCommand = exports.deserializeAws_restJson1DeleteDataSetCommand = exports.deserializeAws_restJson1DeleteDashboardCommand = exports.deserializeAws_restJson1DeleteAnalysisCommand = exports.deserializeAws_restJson1DeleteAccountCustomizationCommand = exports.deserializeAws_restJson1CreateThemeAliasCommand = exports.deserializeAws_restJson1CreateThemeCommand = exports.deserializeAws_restJson1CreateTemplateAliasCommand = exports.deserializeAws_restJson1CreateTemplateCommand = exports.deserializeAws_restJson1CreateNamespaceCommand = exports.deserializeAws_restJson1CreateIngestionCommand = exports.deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1CreateGroupMembershipCommand = exports.deserializeAws_restJson1CreateGroupCommand = exports.deserializeAws_restJson1CreateFolderMembershipCommand = exports.deserializeAws_restJson1CreateFolderCommand = exports.deserializeAws_restJson1CreateDataSourceCommand = exports.deserializeAws_restJson1CreateDataSetCommand = exports.deserializeAws_restJson1CreateDashboardCommand = exports.deserializeAws_restJson1CreateAnalysisCommand = exports.deserializeAws_restJson1CreateAccountSubscriptionCommand = exports.deserializeAws_restJson1CreateAccountCustomizationCommand = exports.deserializeAws_restJson1CancelIngestionCommand = exports.serializeAws_restJson1UpdateUserCommand = exports.serializeAws_restJson1UpdateThemePermissionsCommand = exports.serializeAws_restJson1UpdateThemeAliasCommand = exports.serializeAws_restJson1UpdateThemeCommand = exports.serializeAws_restJson1UpdateTemplatePermissionsCommand = exports.serializeAws_restJson1UpdateTemplateAliasCommand = exports.serializeAws_restJson1UpdateTemplateCommand = exports.serializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.serializeAws_restJson1UpdateIpRestrictionCommand = exports.serializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.serializeAws_restJson1UpdateGroupCommand = exports.serializeAws_restJson1UpdateFolderPermissionsCommand = exports.serializeAws_restJson1UpdateFolderCommand = exports.serializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.serializeAws_restJson1UpdateDataSourceCommand = exports.serializeAws_restJson1UpdateDataSetPermissionsCommand = exports.serializeAws_restJson1UpdateDataSetCommand = exports.serializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.serializeAws_restJson1UpdateDashboardPermissionsCommand = exports.serializeAws_restJson1UpdateDashboardCommand = void 0;
6
+ exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListNamespacesCommand = exports.deserializeAws_restJson1ListIngestionsCommand = exports.deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = exports.deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = exports.deserializeAws_restJson1ListGroupsCommand = exports.deserializeAws_restJson1ListGroupMembershipsCommand = exports.deserializeAws_restJson1ListFoldersCommand = exports.deserializeAws_restJson1ListFolderMembersCommand = exports.deserializeAws_restJson1ListDataSourcesCommand = exports.deserializeAws_restJson1ListDataSetsCommand = exports.deserializeAws_restJson1ListDashboardVersionsCommand = exports.deserializeAws_restJson1ListDashboardsCommand = exports.deserializeAws_restJson1ListAnalysesCommand = exports.deserializeAws_restJson1GetSessionEmbedUrlCommand = exports.deserializeAws_restJson1GetDashboardEmbedUrlCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = exports.deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = exports.deserializeAws_restJson1DescribeUserCommand = exports.deserializeAws_restJson1DescribeThemePermissionsCommand = exports.deserializeAws_restJson1DescribeThemeAliasCommand = exports.deserializeAws_restJson1DescribeThemeCommand = exports.deserializeAws_restJson1DescribeTemplatePermissionsCommand = exports.deserializeAws_restJson1DescribeTemplateAliasCommand = exports.deserializeAws_restJson1DescribeTemplateCommand = exports.deserializeAws_restJson1DescribeNamespaceCommand = exports.deserializeAws_restJson1DescribeIpRestrictionCommand = exports.deserializeAws_restJson1DescribeIngestionCommand = exports.deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1DescribeGroupMembershipCommand = exports.deserializeAws_restJson1DescribeGroupCommand = exports.deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderPermissionsCommand = exports.deserializeAws_restJson1DescribeFolderCommand = exports.deserializeAws_restJson1DescribeDataSourcePermissionsCommand = exports.deserializeAws_restJson1DescribeDataSourceCommand = exports.deserializeAws_restJson1DescribeDataSetPermissionsCommand = exports.deserializeAws_restJson1DescribeDataSetCommand = exports.deserializeAws_restJson1DescribeDashboardPermissionsCommand = exports.deserializeAws_restJson1DescribeDashboardCommand = exports.deserializeAws_restJson1DescribeAnalysisPermissionsCommand = exports.deserializeAws_restJson1DescribeAnalysisCommand = exports.deserializeAws_restJson1DescribeAccountSubscriptionCommand = exports.deserializeAws_restJson1DescribeAccountSettingsCommand = exports.deserializeAws_restJson1DescribeAccountCustomizationCommand = exports.deserializeAws_restJson1DeleteUserByPrincipalIdCommand = exports.deserializeAws_restJson1DeleteUserCommand = exports.deserializeAws_restJson1DeleteThemeAliasCommand = exports.deserializeAws_restJson1DeleteThemeCommand = exports.deserializeAws_restJson1DeleteTemplateAliasCommand = void 0;
7
+ exports.deserializeAws_restJson1UpdateUserCommand = exports.deserializeAws_restJson1UpdateThemePermissionsCommand = exports.deserializeAws_restJson1UpdateThemeAliasCommand = exports.deserializeAws_restJson1UpdateThemeCommand = exports.deserializeAws_restJson1UpdateTemplatePermissionsCommand = exports.deserializeAws_restJson1UpdateTemplateAliasCommand = exports.deserializeAws_restJson1UpdateTemplateCommand = exports.deserializeAws_restJson1UpdatePublicSharingSettingsCommand = exports.deserializeAws_restJson1UpdateIpRestrictionCommand = exports.deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = exports.deserializeAws_restJson1UpdateGroupCommand = exports.deserializeAws_restJson1UpdateFolderPermissionsCommand = exports.deserializeAws_restJson1UpdateFolderCommand = exports.deserializeAws_restJson1UpdateDataSourcePermissionsCommand = exports.deserializeAws_restJson1UpdateDataSourceCommand = exports.deserializeAws_restJson1UpdateDataSetPermissionsCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = exports.deserializeAws_restJson1UpdateDashboardPermissionsCommand = exports.deserializeAws_restJson1UpdateDashboardCommand = exports.deserializeAws_restJson1UpdateAnalysisPermissionsCommand = exports.deserializeAws_restJson1UpdateAnalysisCommand = exports.deserializeAws_restJson1UpdateAccountSettingsCommand = exports.deserializeAws_restJson1UpdateAccountCustomizationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SearchGroupsCommand = exports.deserializeAws_restJson1SearchFoldersCommand = exports.deserializeAws_restJson1SearchDashboardsCommand = exports.deserializeAws_restJson1SearchAnalysesCommand = exports.deserializeAws_restJson1RestoreAnalysisCommand = exports.deserializeAws_restJson1RegisterUserCommand = exports.deserializeAws_restJson1ListUsersCommand = exports.deserializeAws_restJson1ListUserGroupsCommand = exports.deserializeAws_restJson1ListThemeVersionsCommand = exports.deserializeAws_restJson1ListThemesCommand = exports.deserializeAws_restJson1ListThemeAliasesCommand = exports.deserializeAws_restJson1ListTemplateVersionsCommand = exports.deserializeAws_restJson1ListTemplatesCommand = exports.deserializeAws_restJson1ListTemplateAliasesCommand = void 0;
8
8
  const protocol_http_1 = require("@aws-sdk/protocol-http");
9
9
  const smithy_client_1 = require("@aws-sdk/smithy-client");
10
10
  const models_0_1 = require("../models/models_0");
@@ -97,6 +97,56 @@ const serializeAws_restJson1CreateAccountCustomizationCommand = async (input, co
97
97
  });
98
98
  };
99
99
  exports.serializeAws_restJson1CreateAccountCustomizationCommand = serializeAws_restJson1CreateAccountCustomizationCommand;
100
+ const serializeAws_restJson1CreateAccountSubscriptionCommand = async (input, context) => {
101
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
102
+ const headers = {
103
+ "content-type": "application/json",
104
+ };
105
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/account/{AwsAccountId}";
106
+ if (input.AwsAccountId !== undefined) {
107
+ const labelValue = input.AwsAccountId;
108
+ if (labelValue.length <= 0) {
109
+ throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
110
+ }
111
+ resolvedPath = resolvedPath.replace("{AwsAccountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
112
+ }
113
+ else {
114
+ throw new Error("No value provided for input HTTP label: AwsAccountId.");
115
+ }
116
+ let body;
117
+ body = JSON.stringify({
118
+ ...(input.AccountName !== undefined && input.AccountName !== null && { AccountName: input.AccountName }),
119
+ ...(input.ActiveDirectoryName !== undefined &&
120
+ input.ActiveDirectoryName !== null && { ActiveDirectoryName: input.ActiveDirectoryName }),
121
+ ...(input.AdminGroup !== undefined &&
122
+ input.AdminGroup !== null && { AdminGroup: serializeAws_restJson1GroupsList(input.AdminGroup, context) }),
123
+ ...(input.AuthenticationMethod !== undefined &&
124
+ input.AuthenticationMethod !== null && { AuthenticationMethod: input.AuthenticationMethod }),
125
+ ...(input.AuthorGroup !== undefined &&
126
+ input.AuthorGroup !== null && { AuthorGroup: serializeAws_restJson1GroupsList(input.AuthorGroup, context) }),
127
+ ...(input.ContactNumber !== undefined && input.ContactNumber !== null && { ContactNumber: input.ContactNumber }),
128
+ ...(input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId }),
129
+ ...(input.Edition !== undefined && input.Edition !== null && { Edition: input.Edition }),
130
+ ...(input.EmailAddress !== undefined && input.EmailAddress !== null && { EmailAddress: input.EmailAddress }),
131
+ ...(input.FirstName !== undefined && input.FirstName !== null && { FirstName: input.FirstName }),
132
+ ...(input.LastName !== undefined && input.LastName !== null && { LastName: input.LastName }),
133
+ ...(input.NotificationEmail !== undefined &&
134
+ input.NotificationEmail !== null && { NotificationEmail: input.NotificationEmail }),
135
+ ...(input.ReaderGroup !== undefined &&
136
+ input.ReaderGroup !== null && { ReaderGroup: serializeAws_restJson1GroupsList(input.ReaderGroup, context) }),
137
+ ...(input.Realm !== undefined && input.Realm !== null && { Realm: input.Realm }),
138
+ });
139
+ return new protocol_http_1.HttpRequest({
140
+ protocol,
141
+ hostname,
142
+ port,
143
+ method: "POST",
144
+ headers,
145
+ path: resolvedPath,
146
+ body,
147
+ });
148
+ };
149
+ exports.serializeAws_restJson1CreateAccountSubscriptionCommand = serializeAws_restJson1CreateAccountSubscriptionCommand;
100
150
  const serializeAws_restJson1CreateAnalysisCommand = async (input, context) => {
101
151
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
102
152
  const headers = {
@@ -1694,6 +1744,32 @@ const serializeAws_restJson1DescribeAccountSettingsCommand = async (input, conte
1694
1744
  });
1695
1745
  };
1696
1746
  exports.serializeAws_restJson1DescribeAccountSettingsCommand = serializeAws_restJson1DescribeAccountSettingsCommand;
1747
+ const serializeAws_restJson1DescribeAccountSubscriptionCommand = async (input, context) => {
1748
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1749
+ const headers = {};
1750
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/account/{AwsAccountId}";
1751
+ if (input.AwsAccountId !== undefined) {
1752
+ const labelValue = input.AwsAccountId;
1753
+ if (labelValue.length <= 0) {
1754
+ throw new Error("Empty value provided for input HTTP label: AwsAccountId.");
1755
+ }
1756
+ resolvedPath = resolvedPath.replace("{AwsAccountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1757
+ }
1758
+ else {
1759
+ throw new Error("No value provided for input HTTP label: AwsAccountId.");
1760
+ }
1761
+ let body;
1762
+ return new protocol_http_1.HttpRequest({
1763
+ protocol,
1764
+ hostname,
1765
+ port,
1766
+ method: "GET",
1767
+ headers,
1768
+ path: resolvedPath,
1769
+ body,
1770
+ });
1771
+ };
1772
+ exports.serializeAws_restJson1DescribeAccountSubscriptionCommand = serializeAws_restJson1DescribeAccountSubscriptionCommand;
1697
1773
  const serializeAws_restJson1DescribeAnalysisCommand = async (input, context) => {
1698
1774
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1699
1775
  const headers = {};
@@ -2684,6 +2760,10 @@ const serializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = async (inp
2684
2760
  }
2685
2761
  let body;
2686
2762
  body = JSON.stringify({
2763
+ ...(input.AllowedDomains !== undefined &&
2764
+ input.AllowedDomains !== null && {
2765
+ AllowedDomains: serializeAws_restJson1StringList(input.AllowedDomains, context),
2766
+ }),
2687
2767
  ...(input.AuthorizedResourceArns !== undefined &&
2688
2768
  input.AuthorizedResourceArns !== null && {
2689
2769
  AuthorizedResourceArns: serializeAws_restJson1ArnList(input.AuthorizedResourceArns, context),
@@ -2728,6 +2808,10 @@ const serializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = async (in
2728
2808
  }
2729
2809
  let body;
2730
2810
  body = JSON.stringify({
2811
+ ...(input.AllowedDomains !== undefined &&
2812
+ input.AllowedDomains !== null && {
2813
+ AllowedDomains: serializeAws_restJson1StringList(input.AllowedDomains, context),
2814
+ }),
2731
2815
  ...(input.ExperienceConfiguration !== undefined &&
2732
2816
  input.ExperienceConfiguration !== null && {
2733
2817
  ExperienceConfiguration: serializeAws_restJson1RegisteredUserEmbeddingExperienceConfiguration(input.ExperienceConfiguration, context),
@@ -5336,6 +5420,76 @@ const deserializeAws_restJson1CreateAccountCustomizationCommandError = async (ou
5336
5420
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5337
5421
  }
5338
5422
  };
5423
+ const deserializeAws_restJson1CreateAccountSubscriptionCommand = async (output, context) => {
5424
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5425
+ return deserializeAws_restJson1CreateAccountSubscriptionCommandError(output, context);
5426
+ }
5427
+ const contents = {
5428
+ $metadata: deserializeMetadata(output),
5429
+ RequestId: undefined,
5430
+ SignupResponse: undefined,
5431
+ Status: undefined,
5432
+ };
5433
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5434
+ if (data.RequestId !== undefined && data.RequestId !== null) {
5435
+ contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
5436
+ }
5437
+ if (data.SignupResponse !== undefined && data.SignupResponse !== null) {
5438
+ contents.SignupResponse = deserializeAws_restJson1SignupResponse(data.SignupResponse, context);
5439
+ }
5440
+ if (contents.Status === undefined) {
5441
+ contents.Status = output.statusCode;
5442
+ }
5443
+ return Promise.resolve(contents);
5444
+ };
5445
+ exports.deserializeAws_restJson1CreateAccountSubscriptionCommand = deserializeAws_restJson1CreateAccountSubscriptionCommand;
5446
+ const deserializeAws_restJson1CreateAccountSubscriptionCommandError = async (output, context) => {
5447
+ const parsedOutput = {
5448
+ ...output,
5449
+ body: await parseBody(output.body, context),
5450
+ };
5451
+ let response;
5452
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5453
+ switch (errorCode) {
5454
+ case "AccessDeniedException":
5455
+ case "com.amazonaws.quicksight#AccessDeniedException":
5456
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
5457
+ case "ConflictException":
5458
+ case "com.amazonaws.quicksight#ConflictException":
5459
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
5460
+ case "InternalFailureException":
5461
+ case "com.amazonaws.quicksight#InternalFailureException":
5462
+ throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
5463
+ case "InvalidParameterValueException":
5464
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
5465
+ throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
5466
+ case "PreconditionNotMetException":
5467
+ case "com.amazonaws.quicksight#PreconditionNotMetException":
5468
+ throw await deserializeAws_restJson1PreconditionNotMetExceptionResponse(parsedOutput, context);
5469
+ case "ResourceExistsException":
5470
+ case "com.amazonaws.quicksight#ResourceExistsException":
5471
+ throw await deserializeAws_restJson1ResourceExistsExceptionResponse(parsedOutput, context);
5472
+ case "ResourceNotFoundException":
5473
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
5474
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
5475
+ case "ResourceUnavailableException":
5476
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
5477
+ throw await deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context);
5478
+ case "ThrottlingException":
5479
+ case "com.amazonaws.quicksight#ThrottlingException":
5480
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
5481
+ default:
5482
+ const parsedBody = parsedOutput.body;
5483
+ const $metadata = deserializeMetadata(output);
5484
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
5485
+ response = new QuickSightServiceException_1.QuickSightServiceException({
5486
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
5487
+ $fault: "client",
5488
+ $metadata,
5489
+ });
5490
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
5491
+ }
5492
+ };
5339
5493
  const deserializeAws_restJson1CreateAnalysisCommand = async (output, context) => {
5340
5494
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5341
5495
  return deserializeAws_restJson1CreateAnalysisCommandError(output, context);
@@ -7664,6 +7818,67 @@ const deserializeAws_restJson1DescribeAccountSettingsCommandError = async (outpu
7664
7818
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
7665
7819
  }
7666
7820
  };
7821
+ const deserializeAws_restJson1DescribeAccountSubscriptionCommand = async (output, context) => {
7822
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7823
+ return deserializeAws_restJson1DescribeAccountSubscriptionCommandError(output, context);
7824
+ }
7825
+ const contents = {
7826
+ $metadata: deserializeMetadata(output),
7827
+ AccountInfo: undefined,
7828
+ RequestId: undefined,
7829
+ Status: undefined,
7830
+ };
7831
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7832
+ if (data.AccountInfo !== undefined && data.AccountInfo !== null) {
7833
+ contents.AccountInfo = deserializeAws_restJson1AccountInfo(data.AccountInfo, context);
7834
+ }
7835
+ if (data.RequestId !== undefined && data.RequestId !== null) {
7836
+ contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
7837
+ }
7838
+ if (contents.Status === undefined) {
7839
+ contents.Status = output.statusCode;
7840
+ }
7841
+ return Promise.resolve(contents);
7842
+ };
7843
+ exports.deserializeAws_restJson1DescribeAccountSubscriptionCommand = deserializeAws_restJson1DescribeAccountSubscriptionCommand;
7844
+ const deserializeAws_restJson1DescribeAccountSubscriptionCommandError = async (output, context) => {
7845
+ const parsedOutput = {
7846
+ ...output,
7847
+ body: await parseBody(output.body, context),
7848
+ };
7849
+ let response;
7850
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7851
+ switch (errorCode) {
7852
+ case "AccessDeniedException":
7853
+ case "com.amazonaws.quicksight#AccessDeniedException":
7854
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
7855
+ case "InternalFailureException":
7856
+ case "com.amazonaws.quicksight#InternalFailureException":
7857
+ throw await deserializeAws_restJson1InternalFailureExceptionResponse(parsedOutput, context);
7858
+ case "InvalidParameterValueException":
7859
+ case "com.amazonaws.quicksight#InvalidParameterValueException":
7860
+ throw await deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context);
7861
+ case "ResourceNotFoundException":
7862
+ case "com.amazonaws.quicksight#ResourceNotFoundException":
7863
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
7864
+ case "ResourceUnavailableException":
7865
+ case "com.amazonaws.quicksight#ResourceUnavailableException":
7866
+ throw await deserializeAws_restJson1ResourceUnavailableExceptionResponse(parsedOutput, context);
7867
+ case "ThrottlingException":
7868
+ case "com.amazonaws.quicksight#ThrottlingException":
7869
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
7870
+ default:
7871
+ const parsedBody = parsedOutput.body;
7872
+ const $metadata = deserializeMetadata(output);
7873
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
7874
+ response = new QuickSightServiceException_1.QuickSightServiceException({
7875
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
7876
+ $fault: "client",
7877
+ $metadata,
7878
+ });
7879
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
7880
+ }
7881
+ };
7667
7882
  const deserializeAws_restJson1DescribeAnalysisCommand = async (output, context) => {
7668
7883
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7669
7884
  return deserializeAws_restJson1DescribeAnalysisCommandError(output, context);
@@ -13940,6 +14155,16 @@ const serializeAws_restJson1GroupSearchFilterList = (input, context) => {
13940
14155
  return serializeAws_restJson1GroupSearchFilter(entry, context);
13941
14156
  });
13942
14157
  };
14158
+ const serializeAws_restJson1GroupsList = (input, context) => {
14159
+ return input
14160
+ .filter((e) => e != null)
14161
+ .map((entry) => {
14162
+ if (entry === null) {
14163
+ return null;
14164
+ }
14165
+ return entry;
14166
+ });
14167
+ };
13943
14168
  const serializeAws_restJson1GutterStyle = (input, context) => {
13944
14169
  return {
13945
14170
  ...(input.Show !== undefined && input.Show !== null && { Show: input.Show }),
@@ -14629,6 +14854,15 @@ const deserializeAws_restJson1AccountCustomization = (output, context) => {
14629
14854
  DefaultTheme: (0, smithy_client_1.expectString)(output.DefaultTheme),
14630
14855
  };
14631
14856
  };
14857
+ const deserializeAws_restJson1AccountInfo = (output, context) => {
14858
+ return {
14859
+ AccountName: (0, smithy_client_1.expectString)(output.AccountName),
14860
+ AccountSubscriptionStatus: (0, smithy_client_1.expectString)(output.AccountSubscriptionStatus),
14861
+ AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
14862
+ Edition: (0, smithy_client_1.expectString)(output.Edition),
14863
+ NotificationEmail: (0, smithy_client_1.expectString)(output.NotificationEmail),
14864
+ };
14865
+ };
14632
14866
  const deserializeAws_restJson1AccountSettings = (output, context) => {
14633
14867
  return {
14634
14868
  AccountName: (0, smithy_client_1.expectString)(output.AccountName),
@@ -16030,6 +16264,14 @@ const deserializeAws_restJson1SheetStyle = (output, context) => {
16030
16264
  : undefined,
16031
16265
  };
16032
16266
  };
16267
+ const deserializeAws_restJson1SignupResponse = (output, context) => {
16268
+ return {
16269
+ IAMUser: (0, smithy_client_1.expectBoolean)(output.IAMUser),
16270
+ accountName: (0, smithy_client_1.expectString)(output.accountName),
16271
+ directoryType: (0, smithy_client_1.expectString)(output.directoryType),
16272
+ userLoginName: (0, smithy_client_1.expectString)(output.userLoginName),
16273
+ };
16274
+ };
16033
16275
  const deserializeAws_restJson1SnowflakeParameters = (output, context) => {
16034
16276
  return {
16035
16277
  Database: (0, smithy_client_1.expectString)(output.Database),
@@ -1,6 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { CancelIngestionCommand, } from "./commands/CancelIngestionCommand";
3
3
  import { CreateAccountCustomizationCommand, } from "./commands/CreateAccountCustomizationCommand";
4
+ import { CreateAccountSubscriptionCommand, } from "./commands/CreateAccountSubscriptionCommand";
4
5
  import { CreateAnalysisCommand, } from "./commands/CreateAnalysisCommand";
5
6
  import { CreateDashboardCommand, } from "./commands/CreateDashboardCommand";
6
7
  import { CreateDataSetCommand, } from "./commands/CreateDataSetCommand";
@@ -35,6 +36,7 @@ import { DeleteUserByPrincipalIdCommand, } from "./commands/DeleteUserByPrincipa
35
36
  import { DeleteUserCommand } from "./commands/DeleteUserCommand";
36
37
  import { DescribeAccountCustomizationCommand, } from "./commands/DescribeAccountCustomizationCommand";
37
38
  import { DescribeAccountSettingsCommand, } from "./commands/DescribeAccountSettingsCommand";
39
+ import { DescribeAccountSubscriptionCommand, } from "./commands/DescribeAccountSubscriptionCommand";
38
40
  import { DescribeAnalysisCommand, } from "./commands/DescribeAnalysisCommand";
39
41
  import { DescribeAnalysisPermissionsCommand, } from "./commands/DescribeAnalysisPermissionsCommand";
40
42
  import { DescribeDashboardCommand, } from "./commands/DescribeDashboardCommand";
@@ -151,6 +153,20 @@ var QuickSight = (function (_super) {
151
153
  return this.send(command, optionsOrCb);
152
154
  }
153
155
  };
156
+ QuickSight.prototype.createAccountSubscription = function (args, optionsOrCb, cb) {
157
+ var command = new CreateAccountSubscriptionCommand(args);
158
+ if (typeof optionsOrCb === "function") {
159
+ this.send(command, optionsOrCb);
160
+ }
161
+ else if (typeof cb === "function") {
162
+ if (typeof optionsOrCb !== "object")
163
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
164
+ this.send(command, optionsOrCb || {}, cb);
165
+ }
166
+ else {
167
+ return this.send(command, optionsOrCb);
168
+ }
169
+ };
154
170
  QuickSight.prototype.createAnalysis = function (args, optionsOrCb, cb) {
155
171
  var command = new CreateAnalysisCommand(args);
156
172
  if (typeof optionsOrCb === "function") {
@@ -627,6 +643,20 @@ var QuickSight = (function (_super) {
627
643
  return this.send(command, optionsOrCb);
628
644
  }
629
645
  };
646
+ QuickSight.prototype.describeAccountSubscription = function (args, optionsOrCb, cb) {
647
+ var command = new DescribeAccountSubscriptionCommand(args);
648
+ if (typeof optionsOrCb === "function") {
649
+ this.send(command, optionsOrCb);
650
+ }
651
+ else if (typeof cb === "function") {
652
+ if (typeof optionsOrCb !== "object")
653
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
654
+ this.send(command, optionsOrCb || {}, cb);
655
+ }
656
+ else {
657
+ return this.send(command, optionsOrCb);
658
+ }
659
+ };
630
660
  QuickSight.prototype.describeAnalysis = function (args, optionsOrCb, cb) {
631
661
  var command = new DescribeAnalysisCommand(args);
632
662
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateAccountSubscriptionRequest, CreateAccountSubscriptionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateAccountSubscriptionCommand, serializeAws_restJson1CreateAccountSubscriptionCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateAccountSubscriptionCommand = (function (_super) {
7
+ __extends(CreateAccountSubscriptionCommand, _super);
8
+ function CreateAccountSubscriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateAccountSubscriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "QuickSightClient";
18
+ var commandName = "CreateAccountSubscriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateAccountSubscriptionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateAccountSubscriptionResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateAccountSubscriptionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateAccountSubscriptionCommand(input, context);
33
+ };
34
+ CreateAccountSubscriptionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateAccountSubscriptionCommand(output, context);
36
+ };
37
+ return CreateAccountSubscriptionCommand;
38
+ }($Command));
39
+ export { CreateAccountSubscriptionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeAccountSubscriptionRequest, DescribeAccountSubscriptionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DescribeAccountSubscriptionCommand, serializeAws_restJson1DescribeAccountSubscriptionCommand, } from "../protocols/Aws_restJson1";
6
+ var DescribeAccountSubscriptionCommand = (function (_super) {
7
+ __extends(DescribeAccountSubscriptionCommand, _super);
8
+ function DescribeAccountSubscriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeAccountSubscriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "QuickSightClient";
18
+ var commandName = "DescribeAccountSubscriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeAccountSubscriptionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeAccountSubscriptionResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeAccountSubscriptionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DescribeAccountSubscriptionCommand(input, context);
33
+ };
34
+ DescribeAccountSubscriptionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DescribeAccountSubscriptionCommand(output, context);
36
+ };
37
+ return DescribeAccountSubscriptionCommand;
38
+ }($Command));
39
+ export { DescribeAccountSubscriptionCommand };
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeThemeAliasRequest, DescribeThemeAliasResponse } from "../models/models_0";
4
+ import { DescribeThemeAliasRequest, DescribeThemeAliasResponse } from "../models/models_1";
5
5
  import { deserializeAws_restJson1DescribeThemeAliasCommand, serializeAws_restJson1DescribeThemeAliasCommand, } from "../protocols/Aws_restJson1";
6
6
  var DescribeThemeAliasCommand = (function (_super) {
7
7
  __extends(DescribeThemeAliasCommand, _super);
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeThemeRequest, DescribeThemeResponse } from "../models/models_0";
4
+ import { DescribeThemeRequest } from "../models/models_0";
5
+ import { DescribeThemeResponse } from "../models/models_1";
5
6
  import { deserializeAws_restJson1DescribeThemeCommand, serializeAws_restJson1DescribeThemeCommand, } from "../protocols/Aws_restJson1";
6
7
  var DescribeThemeCommand = (function (_super) {
7
8
  __extends(DescribeThemeCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeThemePermissionsRequest, DescribeThemePermissionsResponse } from "../models/models_0";
4
+ import { DescribeThemePermissionsRequest, DescribeThemePermissionsResponse } from "../models/models_1";
5
5
  import { deserializeAws_restJson1DescribeThemePermissionsCommand, serializeAws_restJson1DescribeThemePermissionsCommand, } from "../protocols/Aws_restJson1";
6
6
  var DescribeThemePermissionsCommand = (function (_super) {
7
7
  __extends(DescribeThemePermissionsCommand, _super);
@@ -1,5 +1,6 @@
1
1
  export * from "./CancelIngestionCommand";
2
2
  export * from "./CreateAccountCustomizationCommand";
3
+ export * from "./CreateAccountSubscriptionCommand";
3
4
  export * from "./CreateAnalysisCommand";
4
5
  export * from "./CreateDashboardCommand";
5
6
  export * from "./CreateDataSetCommand";
@@ -34,6 +35,7 @@ export * from "./DeleteUserByPrincipalIdCommand";
34
35
  export * from "./DeleteUserCommand";
35
36
  export * from "./DescribeAccountCustomizationCommand";
36
37
  export * from "./DescribeAccountSettingsCommand";
38
+ export * from "./DescribeAccountSubscriptionCommand";
37
39
  export * from "./DescribeAnalysisCommand";
38
40
  export * from "./DescribeAnalysisPermissionsCommand";
39
41
  export * from "./DescribeDashboardCommand";