From 66679c8c2b50dec3e5c3af8b35e15100b869c0d8 Mon Sep 17 00:00:00 2001
From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
Date: Mon, 6 Jan 2020 11:06:51 -0800
Subject: [PATCH] feat: add client-quicksight (#643)
---
clients/client-quicksight/.gitignore | 14 +
clients/client-quicksight/.npmignore | 4 +
clients/client-quicksight/LICENSE | 201 +
clients/client-quicksight/QuickSight.ts | 2827 +++
clients/client-quicksight/QuickSightClient.ts | 458 +
clients/client-quicksight/README.md | 6 +
.../commands/CancelIngestionCommand.ts | 84 +
.../commands/CreateDashboardCommand.ts | 84 +
.../commands/CreateDataSetCommand.ts | 81 +
.../commands/CreateDataSourceCommand.ts | 84 +
.../commands/CreateGroupCommand.ts | 81 +
.../commands/CreateGroupMembershipCommand.ts | 90 +
.../CreateIAMPolicyAssignmentCommand.ts | 93 +
.../commands/CreateIngestionCommand.ts | 84 +
.../commands/CreateTemplateAliasCommand.ts | 90 +
.../commands/CreateTemplateCommand.ts | 81 +
.../commands/DeleteDashboardCommand.ts | 84 +
.../commands/DeleteDataSetCommand.ts | 81 +
.../commands/DeleteDataSourceCommand.ts | 84 +
.../commands/DeleteGroupCommand.ts | 81 +
.../commands/DeleteGroupMembershipCommand.ts | 90 +
.../DeleteIAMPolicyAssignmentCommand.ts | 93 +
.../commands/DeleteTemplateAliasCommand.ts | 90 +
.../commands/DeleteTemplateCommand.ts | 81 +
.../DeleteUserByPrincipalIdCommand.ts | 93 +
.../commands/DeleteUserCommand.ts | 81 +
.../commands/DescribeDashboardCommand.ts | 84 +
.../DescribeDashboardPermissionsCommand.ts | 93 +
.../commands/DescribeDataSetCommand.ts | 84 +
.../DescribeDataSetPermissionsCommand.ts | 93 +
.../commands/DescribeDataSourceCommand.ts | 84 +
.../DescribeDataSourcePermissionsCommand.ts | 93 +
.../commands/DescribeGroupCommand.ts | 81 +
.../DescribeIAMPolicyAssignmentCommand.ts | 93 +
.../commands/DescribeIngestionCommand.ts | 84 +
.../commands/DescribeTemplateAliasCommand.ts | 90 +
.../commands/DescribeTemplateCommand.ts | 84 +
.../DescribeTemplatePermissionsCommand.ts | 93 +
.../commands/DescribeUserCommand.ts | 81 +
.../commands/GetDashboardEmbedUrlCommand.ts | 90 +
.../commands/ListDashboardVersionsCommand.ts | 90 +
.../commands/ListDashboardsCommand.ts | 81 +
.../commands/ListDataSetsCommand.ts | 81 +
.../commands/ListDataSourcesCommand.ts | 84 +
.../commands/ListGroupMembershipsCommand.ts | 90 +
.../commands/ListGroupsCommand.ts | 81 +
.../ListIAMPolicyAssignmentsCommand.ts | 93 +
.../ListIAMPolicyAssignmentsForUserCommand.ts | 93 +
.../commands/ListIngestionsCommand.ts | 81 +
.../commands/ListTagsForResourceCommand.ts | 90 +
.../commands/ListTemplateAliasesCommand.ts | 90 +
.../commands/ListTemplateVersionsCommand.ts | 90 +
.../commands/ListTemplatesCommand.ts | 81 +
.../commands/ListUserGroupsCommand.ts | 81 +
.../commands/ListUsersCommand.ts | 81 +
.../commands/RegisterUserCommand.ts | 81 +
.../commands/TagResourceCommand.ts | 81 +
.../commands/UntagResourceCommand.ts | 81 +
.../commands/UpdateDashboardCommand.ts | 84 +
.../UpdateDashboardPermissionsCommand.ts | 93 +
.../UpdateDashboardPublishedVersionCommand.ts | 93 +
.../commands/UpdateDataSetCommand.ts | 81 +
.../UpdateDataSetPermissionsCommand.ts | 93 +
.../commands/UpdateDataSourceCommand.ts | 84 +
.../UpdateDataSourcePermissionsCommand.ts | 93 +
.../commands/UpdateGroupCommand.ts | 81 +
.../UpdateIAMPolicyAssignmentCommand.ts | 93 +
.../commands/UpdateTemplateAliasCommand.ts | 90 +
.../commands/UpdateTemplateCommand.ts | 81 +
.../UpdateTemplatePermissionsCommand.ts | 93 +
.../commands/UpdateUserCommand.ts | 81 +
clients/client-quicksight/endpoints.ts | 78 +
clients/client-quicksight/index.ts | 67 +
clients/client-quicksight/models/index.ts | 8818 ++++++++++
clients/client-quicksight/package.json | 75 +
.../protocols/Aws_restJson1_1.ts | 14261 ++++++++++++++++
.../runtimeConfig.browser.ts | 30 +
.../client-quicksight/runtimeConfig.shared.ts | 7 +
clients/client-quicksight/runtimeConfig.ts | 31 +
clients/client-quicksight/tsconfig.es.json | 19 +
clients/client-quicksight/tsconfig.json | 27 +
81 files changed, 32530 insertions(+)
create mode 100644 clients/client-quicksight/.gitignore
create mode 100644 clients/client-quicksight/.npmignore
create mode 100644 clients/client-quicksight/LICENSE
create mode 100644 clients/client-quicksight/QuickSight.ts
create mode 100644 clients/client-quicksight/QuickSightClient.ts
create mode 100644 clients/client-quicksight/README.md
create mode 100644 clients/client-quicksight/commands/CancelIngestionCommand.ts
create mode 100644 clients/client-quicksight/commands/CreateDashboardCommand.ts
create mode 100644 clients/client-quicksight/commands/CreateDataSetCommand.ts
create mode 100644 clients/client-quicksight/commands/CreateDataSourceCommand.ts
create mode 100644 clients/client-quicksight/commands/CreateGroupCommand.ts
create mode 100644 clients/client-quicksight/commands/CreateGroupMembershipCommand.ts
create mode 100644 clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts
create mode 100644 clients/client-quicksight/commands/CreateIngestionCommand.ts
create mode 100644 clients/client-quicksight/commands/CreateTemplateAliasCommand.ts
create mode 100644 clients/client-quicksight/commands/CreateTemplateCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteDashboardCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteDataSetCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteDataSourceCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteGroupCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteTemplateCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts
create mode 100644 clients/client-quicksight/commands/DeleteUserCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeDashboardCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeDataSetCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeDataSourceCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeGroupCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeIngestionCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeTemplateCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts
create mode 100644 clients/client-quicksight/commands/DescribeUserCommand.ts
create mode 100644 clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts
create mode 100644 clients/client-quicksight/commands/ListDashboardVersionsCommand.ts
create mode 100644 clients/client-quicksight/commands/ListDashboardsCommand.ts
create mode 100644 clients/client-quicksight/commands/ListDataSetsCommand.ts
create mode 100644 clients/client-quicksight/commands/ListDataSourcesCommand.ts
create mode 100644 clients/client-quicksight/commands/ListGroupMembershipsCommand.ts
create mode 100644 clients/client-quicksight/commands/ListGroupsCommand.ts
create mode 100644 clients/client-quicksight/commands/ListIAMPolicyAssignmentsCommand.ts
create mode 100644 clients/client-quicksight/commands/ListIAMPolicyAssignmentsForUserCommand.ts
create mode 100644 clients/client-quicksight/commands/ListIngestionsCommand.ts
create mode 100644 clients/client-quicksight/commands/ListTagsForResourceCommand.ts
create mode 100644 clients/client-quicksight/commands/ListTemplateAliasesCommand.ts
create mode 100644 clients/client-quicksight/commands/ListTemplateVersionsCommand.ts
create mode 100644 clients/client-quicksight/commands/ListTemplatesCommand.ts
create mode 100644 clients/client-quicksight/commands/ListUserGroupsCommand.ts
create mode 100644 clients/client-quicksight/commands/ListUsersCommand.ts
create mode 100644 clients/client-quicksight/commands/RegisterUserCommand.ts
create mode 100644 clients/client-quicksight/commands/TagResourceCommand.ts
create mode 100644 clients/client-quicksight/commands/UntagResourceCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateDashboardCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateDashboardPermissionsCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateDashboardPublishedVersionCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateDataSetCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateDataSetPermissionsCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateDataSourceCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateDataSourcePermissionsCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateGroupCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateIAMPolicyAssignmentCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateTemplateAliasCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateTemplateCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateTemplatePermissionsCommand.ts
create mode 100644 clients/client-quicksight/commands/UpdateUserCommand.ts
create mode 100644 clients/client-quicksight/endpoints.ts
create mode 100644 clients/client-quicksight/index.ts
create mode 100644 clients/client-quicksight/models/index.ts
create mode 100644 clients/client-quicksight/package.json
create mode 100644 clients/client-quicksight/protocols/Aws_restJson1_1.ts
create mode 100644 clients/client-quicksight/runtimeConfig.browser.ts
create mode 100644 clients/client-quicksight/runtimeConfig.shared.ts
create mode 100644 clients/client-quicksight/runtimeConfig.ts
create mode 100644 clients/client-quicksight/tsconfig.es.json
create mode 100644 clients/client-quicksight/tsconfig.json
diff --git a/clients/client-quicksight/.gitignore b/clients/client-quicksight/.gitignore
new file mode 100644
index 000000000000..b41c05b597c4
--- /dev/null
+++ b/clients/client-quicksight/.gitignore
@@ -0,0 +1,14 @@
+/node_modules/
+/build/
+/coverage/
+/docs/
+/types/
+/dist/
+*.tsbuildinfo
+*.tgz
+*.log
+package-lock.json
+
+*.d.ts
+*.js
+*.js.map
diff --git a/clients/client-quicksight/.npmignore b/clients/client-quicksight/.npmignore
new file mode 100644
index 000000000000..b7ff81137c4a
--- /dev/null
+++ b/clients/client-quicksight/.npmignore
@@ -0,0 +1,4 @@
+/coverage/
+/docs/
+tsconfig.test.json
+*.tsbuildinfo
diff --git a/clients/client-quicksight/LICENSE b/clients/client-quicksight/LICENSE
new file mode 100644
index 000000000000..b7d2463d8cc0
--- /dev/null
+++ b/clients/client-quicksight/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/clients/client-quicksight/QuickSight.ts b/clients/client-quicksight/QuickSight.ts
new file mode 100644
index 000000000000..3306993e94ee
--- /dev/null
+++ b/clients/client-quicksight/QuickSight.ts
@@ -0,0 +1,2827 @@
+import { QuickSightClient } from "./QuickSightClient";
+import {
+ CancelIngestionCommand,
+ CancelIngestionCommandInput,
+ CancelIngestionCommandOutput
+} from "./commands/CancelIngestionCommand";
+import {
+ CreateDashboardCommand,
+ CreateDashboardCommandInput,
+ CreateDashboardCommandOutput
+} from "./commands/CreateDashboardCommand";
+import {
+ CreateDataSetCommand,
+ CreateDataSetCommandInput,
+ CreateDataSetCommandOutput
+} from "./commands/CreateDataSetCommand";
+import {
+ CreateDataSourceCommand,
+ CreateDataSourceCommandInput,
+ CreateDataSourceCommandOutput
+} from "./commands/CreateDataSourceCommand";
+import {
+ CreateGroupCommand,
+ CreateGroupCommandInput,
+ CreateGroupCommandOutput
+} from "./commands/CreateGroupCommand";
+import {
+ CreateGroupMembershipCommand,
+ CreateGroupMembershipCommandInput,
+ CreateGroupMembershipCommandOutput
+} from "./commands/CreateGroupMembershipCommand";
+import {
+ CreateIAMPolicyAssignmentCommand,
+ CreateIAMPolicyAssignmentCommandInput,
+ CreateIAMPolicyAssignmentCommandOutput
+} from "./commands/CreateIAMPolicyAssignmentCommand";
+import {
+ CreateIngestionCommand,
+ CreateIngestionCommandInput,
+ CreateIngestionCommandOutput
+} from "./commands/CreateIngestionCommand";
+import {
+ CreateTemplateAliasCommand,
+ CreateTemplateAliasCommandInput,
+ CreateTemplateAliasCommandOutput
+} from "./commands/CreateTemplateAliasCommand";
+import {
+ CreateTemplateCommand,
+ CreateTemplateCommandInput,
+ CreateTemplateCommandOutput
+} from "./commands/CreateTemplateCommand";
+import {
+ DeleteDashboardCommand,
+ DeleteDashboardCommandInput,
+ DeleteDashboardCommandOutput
+} from "./commands/DeleteDashboardCommand";
+import {
+ DeleteDataSetCommand,
+ DeleteDataSetCommandInput,
+ DeleteDataSetCommandOutput
+} from "./commands/DeleteDataSetCommand";
+import {
+ DeleteDataSourceCommand,
+ DeleteDataSourceCommandInput,
+ DeleteDataSourceCommandOutput
+} from "./commands/DeleteDataSourceCommand";
+import {
+ DeleteGroupCommand,
+ DeleteGroupCommandInput,
+ DeleteGroupCommandOutput
+} from "./commands/DeleteGroupCommand";
+import {
+ DeleteGroupMembershipCommand,
+ DeleteGroupMembershipCommandInput,
+ DeleteGroupMembershipCommandOutput
+} from "./commands/DeleteGroupMembershipCommand";
+import {
+ DeleteIAMPolicyAssignmentCommand,
+ DeleteIAMPolicyAssignmentCommandInput,
+ DeleteIAMPolicyAssignmentCommandOutput
+} from "./commands/DeleteIAMPolicyAssignmentCommand";
+import {
+ DeleteTemplateAliasCommand,
+ DeleteTemplateAliasCommandInput,
+ DeleteTemplateAliasCommandOutput
+} from "./commands/DeleteTemplateAliasCommand";
+import {
+ DeleteTemplateCommand,
+ DeleteTemplateCommandInput,
+ DeleteTemplateCommandOutput
+} from "./commands/DeleteTemplateCommand";
+import {
+ DeleteUserByPrincipalIdCommand,
+ DeleteUserByPrincipalIdCommandInput,
+ DeleteUserByPrincipalIdCommandOutput
+} from "./commands/DeleteUserByPrincipalIdCommand";
+import {
+ DeleteUserCommand,
+ DeleteUserCommandInput,
+ DeleteUserCommandOutput
+} from "./commands/DeleteUserCommand";
+import {
+ DescribeDashboardCommand,
+ DescribeDashboardCommandInput,
+ DescribeDashboardCommandOutput
+} from "./commands/DescribeDashboardCommand";
+import {
+ DescribeDashboardPermissionsCommand,
+ DescribeDashboardPermissionsCommandInput,
+ DescribeDashboardPermissionsCommandOutput
+} from "./commands/DescribeDashboardPermissionsCommand";
+import {
+ DescribeDataSetCommand,
+ DescribeDataSetCommandInput,
+ DescribeDataSetCommandOutput
+} from "./commands/DescribeDataSetCommand";
+import {
+ DescribeDataSetPermissionsCommand,
+ DescribeDataSetPermissionsCommandInput,
+ DescribeDataSetPermissionsCommandOutput
+} from "./commands/DescribeDataSetPermissionsCommand";
+import {
+ DescribeDataSourceCommand,
+ DescribeDataSourceCommandInput,
+ DescribeDataSourceCommandOutput
+} from "./commands/DescribeDataSourceCommand";
+import {
+ DescribeDataSourcePermissionsCommand,
+ DescribeDataSourcePermissionsCommandInput,
+ DescribeDataSourcePermissionsCommandOutput
+} from "./commands/DescribeDataSourcePermissionsCommand";
+import {
+ DescribeGroupCommand,
+ DescribeGroupCommandInput,
+ DescribeGroupCommandOutput
+} from "./commands/DescribeGroupCommand";
+import {
+ DescribeIAMPolicyAssignmentCommand,
+ DescribeIAMPolicyAssignmentCommandInput,
+ DescribeIAMPolicyAssignmentCommandOutput
+} from "./commands/DescribeIAMPolicyAssignmentCommand";
+import {
+ DescribeIngestionCommand,
+ DescribeIngestionCommandInput,
+ DescribeIngestionCommandOutput
+} from "./commands/DescribeIngestionCommand";
+import {
+ DescribeTemplateAliasCommand,
+ DescribeTemplateAliasCommandInput,
+ DescribeTemplateAliasCommandOutput
+} from "./commands/DescribeTemplateAliasCommand";
+import {
+ DescribeTemplateCommand,
+ DescribeTemplateCommandInput,
+ DescribeTemplateCommandOutput
+} from "./commands/DescribeTemplateCommand";
+import {
+ DescribeTemplatePermissionsCommand,
+ DescribeTemplatePermissionsCommandInput,
+ DescribeTemplatePermissionsCommandOutput
+} from "./commands/DescribeTemplatePermissionsCommand";
+import {
+ DescribeUserCommand,
+ DescribeUserCommandInput,
+ DescribeUserCommandOutput
+} from "./commands/DescribeUserCommand";
+import {
+ GetDashboardEmbedUrlCommand,
+ GetDashboardEmbedUrlCommandInput,
+ GetDashboardEmbedUrlCommandOutput
+} from "./commands/GetDashboardEmbedUrlCommand";
+import {
+ ListDashboardVersionsCommand,
+ ListDashboardVersionsCommandInput,
+ ListDashboardVersionsCommandOutput
+} from "./commands/ListDashboardVersionsCommand";
+import {
+ ListDashboardsCommand,
+ ListDashboardsCommandInput,
+ ListDashboardsCommandOutput
+} from "./commands/ListDashboardsCommand";
+import {
+ ListDataSetsCommand,
+ ListDataSetsCommandInput,
+ ListDataSetsCommandOutput
+} from "./commands/ListDataSetsCommand";
+import {
+ ListDataSourcesCommand,
+ ListDataSourcesCommandInput,
+ ListDataSourcesCommandOutput
+} from "./commands/ListDataSourcesCommand";
+import {
+ ListGroupMembershipsCommand,
+ ListGroupMembershipsCommandInput,
+ ListGroupMembershipsCommandOutput
+} from "./commands/ListGroupMembershipsCommand";
+import {
+ ListGroupsCommand,
+ ListGroupsCommandInput,
+ ListGroupsCommandOutput
+} from "./commands/ListGroupsCommand";
+import {
+ ListIAMPolicyAssignmentsCommand,
+ ListIAMPolicyAssignmentsCommandInput,
+ ListIAMPolicyAssignmentsCommandOutput
+} from "./commands/ListIAMPolicyAssignmentsCommand";
+import {
+ ListIAMPolicyAssignmentsForUserCommand,
+ ListIAMPolicyAssignmentsForUserCommandInput,
+ ListIAMPolicyAssignmentsForUserCommandOutput
+} from "./commands/ListIAMPolicyAssignmentsForUserCommand";
+import {
+ ListIngestionsCommand,
+ ListIngestionsCommandInput,
+ ListIngestionsCommandOutput
+} from "./commands/ListIngestionsCommand";
+import {
+ ListTagsForResourceCommand,
+ ListTagsForResourceCommandInput,
+ ListTagsForResourceCommandOutput
+} from "./commands/ListTagsForResourceCommand";
+import {
+ ListTemplateAliasesCommand,
+ ListTemplateAliasesCommandInput,
+ ListTemplateAliasesCommandOutput
+} from "./commands/ListTemplateAliasesCommand";
+import {
+ ListTemplateVersionsCommand,
+ ListTemplateVersionsCommandInput,
+ ListTemplateVersionsCommandOutput
+} from "./commands/ListTemplateVersionsCommand";
+import {
+ ListTemplatesCommand,
+ ListTemplatesCommandInput,
+ ListTemplatesCommandOutput
+} from "./commands/ListTemplatesCommand";
+import {
+ ListUserGroupsCommand,
+ ListUserGroupsCommandInput,
+ ListUserGroupsCommandOutput
+} from "./commands/ListUserGroupsCommand";
+import {
+ ListUsersCommand,
+ ListUsersCommandInput,
+ ListUsersCommandOutput
+} from "./commands/ListUsersCommand";
+import {
+ RegisterUserCommand,
+ RegisterUserCommandInput,
+ RegisterUserCommandOutput
+} from "./commands/RegisterUserCommand";
+import {
+ TagResourceCommand,
+ TagResourceCommandInput,
+ TagResourceCommandOutput
+} from "./commands/TagResourceCommand";
+import {
+ UntagResourceCommand,
+ UntagResourceCommandInput,
+ UntagResourceCommandOutput
+} from "./commands/UntagResourceCommand";
+import {
+ UpdateDashboardCommand,
+ UpdateDashboardCommandInput,
+ UpdateDashboardCommandOutput
+} from "./commands/UpdateDashboardCommand";
+import {
+ UpdateDashboardPermissionsCommand,
+ UpdateDashboardPermissionsCommandInput,
+ UpdateDashboardPermissionsCommandOutput
+} from "./commands/UpdateDashboardPermissionsCommand";
+import {
+ UpdateDashboardPublishedVersionCommand,
+ UpdateDashboardPublishedVersionCommandInput,
+ UpdateDashboardPublishedVersionCommandOutput
+} from "./commands/UpdateDashboardPublishedVersionCommand";
+import {
+ UpdateDataSetCommand,
+ UpdateDataSetCommandInput,
+ UpdateDataSetCommandOutput
+} from "./commands/UpdateDataSetCommand";
+import {
+ UpdateDataSetPermissionsCommand,
+ UpdateDataSetPermissionsCommandInput,
+ UpdateDataSetPermissionsCommandOutput
+} from "./commands/UpdateDataSetPermissionsCommand";
+import {
+ UpdateDataSourceCommand,
+ UpdateDataSourceCommandInput,
+ UpdateDataSourceCommandOutput
+} from "./commands/UpdateDataSourceCommand";
+import {
+ UpdateDataSourcePermissionsCommand,
+ UpdateDataSourcePermissionsCommandInput,
+ UpdateDataSourcePermissionsCommandOutput
+} from "./commands/UpdateDataSourcePermissionsCommand";
+import {
+ UpdateGroupCommand,
+ UpdateGroupCommandInput,
+ UpdateGroupCommandOutput
+} from "./commands/UpdateGroupCommand";
+import {
+ UpdateIAMPolicyAssignmentCommand,
+ UpdateIAMPolicyAssignmentCommandInput,
+ UpdateIAMPolicyAssignmentCommandOutput
+} from "./commands/UpdateIAMPolicyAssignmentCommand";
+import {
+ UpdateTemplateAliasCommand,
+ UpdateTemplateAliasCommandInput,
+ UpdateTemplateAliasCommandOutput
+} from "./commands/UpdateTemplateAliasCommand";
+import {
+ UpdateTemplateCommand,
+ UpdateTemplateCommandInput,
+ UpdateTemplateCommandOutput
+} from "./commands/UpdateTemplateCommand";
+import {
+ UpdateTemplatePermissionsCommand,
+ UpdateTemplatePermissionsCommandInput,
+ UpdateTemplatePermissionsCommandOutput
+} from "./commands/UpdateTemplatePermissionsCommand";
+import {
+ UpdateUserCommand,
+ UpdateUserCommandInput,
+ UpdateUserCommandOutput
+} from "./commands/UpdateUserCommand";
+import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
+
+/**
+ *
+ * Amazon QuickSight API Reference
+ *
Amazon QuickSight is a fully managed, serverless business intelligence service for the AWS
+ * Cloud that makes it easy to extend data and insights to every user in your organization.
+ * This API reference contains documentation for a programming interface that you can use
+ * to manage Amazon QuickSight.
+ *
+ */
+export class QuickSight extends QuickSightClient {
+ /**
+ *
+ * Deletes the data source permanently. This action breaks
+ * all the datasets that reference the deleted data source.
+ *
+ *
+ */
+ public deleteDataSource(
+ args: DeleteDataSourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteDataSource(
+ args: DeleteDataSourceCommandInput,
+ cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
+ ): void;
+ public deleteDataSource(
+ args: DeleteDataSourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
+ ): void;
+ public deleteDataSource(
+ args: DeleteDataSourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteDataSourceCommandOutput) => void),
+ cb?: (err: any, data?: DeleteDataSourceCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteDataSourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists all the versions of the templates in the Quicksight account.
+ *
+ */
+ public listTemplateVersions(
+ args: ListTemplateVersionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listTemplateVersions(
+ args: ListTemplateVersionsCommandInput,
+ cb: (err: any, data?: ListTemplateVersionsCommandOutput) => void
+ ): void;
+ public listTemplateVersions(
+ args: ListTemplateVersionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListTemplateVersionsCommandOutput) => void
+ ): void;
+ public listTemplateVersions(
+ args: ListTemplateVersionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListTemplateVersionsCommandOutput) => void),
+ cb?: (err: any, data?: ListTemplateVersionsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListTemplateVersionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).
+ *
+ */
+ public describeGroup(
+ args: DescribeGroupCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeGroup(
+ args: DescribeGroupCommandInput,
+ cb: (err: any, data?: DescribeGroupCommandOutput) => void
+ ): void;
+ public describeGroup(
+ args: DescribeGroupCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeGroupCommandOutput) => void
+ ): void;
+ public describeGroup(
+ args: DescribeGroupCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeGroupCommandOutput) => void),
+ cb?: (err: any, data?: DescribeGroupCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeGroupCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Removes a user from a group so that the user is no longer a member of the group.
+ *
+ */
+ public deleteGroupMembership(
+ args: DeleteGroupMembershipCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteGroupMembership(
+ args: DeleteGroupMembershipCommandInput,
+ cb: (err: any, data?: DeleteGroupMembershipCommandOutput) => void
+ ): void;
+ public deleteGroupMembership(
+ args: DeleteGroupMembershipCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteGroupMembershipCommandOutput) => void
+ ): void;
+ public deleteGroupMembership(
+ args: DeleteGroupMembershipCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteGroupMembershipCommandOutput) => void),
+ cb?: (err: any, data?: DeleteGroupMembershipCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteGroupMembershipCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
+ *
+ */
+ public listUserGroups(
+ args: ListUserGroupsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listUserGroups(
+ args: ListUserGroupsCommandInput,
+ cb: (err: any, data?: ListUserGroupsCommandOutput) => void
+ ): void;
+ public listUserGroups(
+ args: ListUserGroupsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListUserGroupsCommandOutput) => void
+ ): void;
+ public listUserGroups(
+ args: ListUserGroupsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListUserGroupsCommandOutput) => void),
+ cb?: (err: any, data?: ListUserGroupsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListUserGroupsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists all the versions of the dashboards in the Quicksight subscription.
+ *
+ */
+ public listDashboardVersions(
+ args: ListDashboardVersionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listDashboardVersions(
+ args: ListDashboardVersionsCommandInput,
+ cb: (err: any, data?: ListDashboardVersionsCommandOutput) => void
+ ): void;
+ public listDashboardVersions(
+ args: ListDashboardVersionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListDashboardVersionsCommandOutput) => void
+ ): void;
+ public listDashboardVersions(
+ args: ListDashboardVersionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListDashboardVersionsCommandOutput) => void),
+ cb?: (err: any, data?: ListDashboardVersionsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListDashboardVersionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Generates a server-side embeddable URL and authorization code. Before this can work
+ * properly, first you need to configure the dashboards and user permissions. For more
+ * information, see the Amazon QuickSight User Guide section on Embedding
+ * Amazon QuickSight Dashboards or see the Amazon QuickSight API Reference section on
+ * Embedding
+ * Amazon QuickSight Dashboards
+ * .
+ * Currently, you can use GetDashboardEmbedURL
only from the server, not from
+ * the user’s browser.
+ *
+ */
+ public getDashboardEmbedUrl(
+ args: GetDashboardEmbedUrlCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getDashboardEmbedUrl(
+ args: GetDashboardEmbedUrlCommandInput,
+ cb: (err: any, data?: GetDashboardEmbedUrlCommandOutput) => void
+ ): void;
+ public getDashboardEmbedUrl(
+ args: GetDashboardEmbedUrlCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetDashboardEmbedUrlCommandOutput) => void
+ ): void;
+ public getDashboardEmbedUrl(
+ args: GetDashboardEmbedUrlCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetDashboardEmbedUrlCommandOutput) => void),
+ cb?: (err: any, data?: GetDashboardEmbedUrlCommandOutput) => void
+ ): Promise | void {
+ const command = new GetDashboardEmbedUrlCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes the template aliases of a template.
+ *
+ */
+ public describeTemplateAlias(
+ args: DescribeTemplateAliasCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeTemplateAlias(
+ args: DescribeTemplateAliasCommandInput,
+ cb: (err: any, data?: DescribeTemplateAliasCommandOutput) => void
+ ): void;
+ public describeTemplateAlias(
+ args: DescribeTemplateAliasCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeTemplateAliasCommandOutput) => void
+ ): void;
+ public describeTemplateAlias(
+ args: DescribeTemplateAliasCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeTemplateAliasCommandOutput) => void),
+ cb?: (err: any, data?: DescribeTemplateAliasCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeTemplateAliasCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes a dataset.
+ *
+ *
+ */
+ public describeDataSet(
+ args: DescribeDataSetCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeDataSet(
+ args: DescribeDataSetCommandInput,
+ cb: (err: any, data?: DescribeDataSetCommandOutput) => void
+ ): void;
+ public describeDataSet(
+ args: DescribeDataSetCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeDataSetCommandOutput) => void
+ ): void;
+ public describeDataSet(
+ args: DescribeDataSetCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeDataSetCommandOutput) => void),
+ cb?: (err: any, data?: DescribeDataSetCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeDataSetCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Returns information about a user, given the user name.
+ *
+ */
+ public describeUser(
+ args: DescribeUserCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeUser(
+ args: DescribeUserCommandInput,
+ cb: (err: any, data?: DescribeUserCommandOutput) => void
+ ): void;
+ public describeUser(
+ args: DescribeUserCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeUserCommandOutput) => void
+ ): void;
+ public describeUser(
+ args: DescribeUserCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeUserCommandOutput) => void),
+ cb?: (err: any, data?: DescribeUserCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeUserCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Adds an Amazon QuickSight user to an Amazon QuickSight group.
+ *
+ */
+ public createGroupMembership(
+ args: CreateGroupMembershipCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createGroupMembership(
+ args: CreateGroupMembershipCommandInput,
+ cb: (err: any, data?: CreateGroupMembershipCommandOutput) => void
+ ): void;
+ public createGroupMembership(
+ args: CreateGroupMembershipCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateGroupMembershipCommandOutput) => void
+ ): void;
+ public createGroupMembership(
+ args: CreateGroupMembershipCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateGroupMembershipCommandOutput) => void),
+ cb?: (err: any, data?: CreateGroupMembershipCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateGroupMembershipCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates the permissions on a template.
+ *
+ */
+ public updateTemplatePermissions(
+ args: UpdateTemplatePermissionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateTemplatePermissions(
+ args: UpdateTemplatePermissionsCommandInput,
+ cb: (err: any, data?: UpdateTemplatePermissionsCommandOutput) => void
+ ): void;
+ public updateTemplatePermissions(
+ args: UpdateTemplatePermissionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateTemplatePermissionsCommandOutput) => void
+ ): void;
+ public updateTemplatePermissions(
+ args: UpdateTemplatePermissionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateTemplatePermissionsCommandOutput) => void),
+ cb?: (err: any, data?: UpdateTemplatePermissionsCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateTemplatePermissionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Returns a list of all of the Amazon QuickSight users belonging to this account.
+ *
+ */
+ public listUsers(
+ args: ListUsersCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listUsers(
+ args: ListUsersCommandInput,
+ cb: (err: any, data?: ListUsersCommandOutput) => void
+ ): void;
+ public listUsers(
+ args: ListUsersCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListUsersCommandOutput) => void
+ ): void;
+ public listUsers(
+ args: ListUsersCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListUsersCommandOutput) => void),
+ cb?: (err: any, data?: ListUsersCommandOutput) => void
+ ): Promise | void {
+ const command = new ListUsersCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes a template's metadata.
+ *
+ */
+ public describeTemplate(
+ args: DescribeTemplateCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeTemplate(
+ args: DescribeTemplateCommandInput,
+ cb: (err: any, data?: DescribeTemplateCommandOutput) => void
+ ): void;
+ public describeTemplate(
+ args: DescribeTemplateCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeTemplateCommandOutput) => void
+ ): void;
+ public describeTemplate(
+ args: DescribeTemplateCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeTemplateCommandOutput) => void),
+ cb?: (err: any, data?: DescribeTemplateCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeTemplateCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Creates and starts a new SPICE ingestion on a dataset
+ *
+ * Any ingestions operating on tagged datasets inherit the same tags automatically for use in
+ * access control. For an example, see How do I create an IAM policy to control access to Amazon EC2 resources using
+ * tags? in the AWS Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.
+ *
+ */
+ public createIngestion(
+ args: CreateIngestionCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createIngestion(
+ args: CreateIngestionCommandInput,
+ cb: (err: any, data?: CreateIngestionCommandOutput) => void
+ ): void;
+ public createIngestion(
+ args: CreateIngestionCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateIngestionCommandOutput) => void
+ ): void;
+ public createIngestion(
+ args: CreateIngestionCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateIngestionCommandOutput) => void),
+ cb?: (err: any, data?: CreateIngestionCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateIngestionCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists all user groups in Amazon QuickSight.
+ *
+ */
+ public listGroups(
+ args: ListGroupsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listGroups(
+ args: ListGroupsCommandInput,
+ cb: (err: any, data?: ListGroupsCommandOutput) => void
+ ): void;
+ public listGroups(
+ args: ListGroupsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListGroupsCommandOutput) => void
+ ): void;
+ public listGroups(
+ args: ListGroupsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListGroupsCommandOutput) => void),
+ cb?: (err: any, data?: ListGroupsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListGroupsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates a template from an existing QuickSight analysis.
+ *
+ */
+ public updateTemplate(
+ args: UpdateTemplateCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateTemplate(
+ args: UpdateTemplateCommandInput,
+ cb: (err: any, data?: UpdateTemplateCommandOutput) => void
+ ): void;
+ public updateTemplate(
+ args: UpdateTemplateCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateTemplateCommandOutput) => void
+ ): void;
+ public updateTemplate(
+ args: UpdateTemplateCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateTemplateCommandOutput) => void),
+ cb?: (err: any, data?: UpdateTemplateCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateTemplateCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes a data source.
+ *
+ */
+ public describeDataSource(
+ args: DescribeDataSourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeDataSource(
+ args: DescribeDataSourceCommandInput,
+ cb: (err: any, data?: DescribeDataSourceCommandOutput) => void
+ ): void;
+ public describeDataSource(
+ args: DescribeDataSourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeDataSourceCommandOutput) => void
+ ): void;
+ public describeDataSource(
+ args: DescribeDataSourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeDataSourceCommandOutput) => void),
+ cb?: (err: any, data?: DescribeDataSourceCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeDataSourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Update template alias of given template.
+ *
+ */
+ public deleteTemplateAlias(
+ args: DeleteTemplateAliasCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteTemplateAlias(
+ args: DeleteTemplateAliasCommandInput,
+ cb: (err: any, data?: DeleteTemplateAliasCommandOutput) => void
+ ): void;
+ public deleteTemplateAlias(
+ args: DeleteTemplateAliasCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteTemplateAliasCommandOutput) => void
+ ): void;
+ public deleteTemplateAlias(
+ args: DeleteTemplateAliasCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteTemplateAliasCommandOutput) => void),
+ cb?: (err: any, data?: DeleteTemplateAliasCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteTemplateAliasCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Deletes the Amazon QuickSight user that is associated with the identity of the AWS
+ * Identity and Access Management (IAM) user or role that's making the call. The IAM user
+ * isn't deleted as a result of this call.
+ *
+ */
+ public deleteUser(
+ args: DeleteUserCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteUser(
+ args: DeleteUserCommandInput,
+ cb: (err: any, data?: DeleteUserCommandOutput) => void
+ ): void;
+ public deleteUser(
+ args: DeleteUserCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteUserCommandOutput) => void
+ ): void;
+ public deleteUser(
+ args: DeleteUserCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteUserCommandOutput) => void),
+ cb?: (err: any, data?: DeleteUserCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteUserCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Deletes a template.
+ *
+ */
+ public deleteTemplate(
+ args: DeleteTemplateCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteTemplate(
+ args: DeleteTemplateCommandInput,
+ cb: (err: any, data?: DeleteTemplateCommandOutput) => void
+ ): void;
+ public deleteTemplate(
+ args: DeleteTemplateCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteTemplateCommandOutput) => void
+ ): void;
+ public deleteTemplate(
+ args: DeleteTemplateCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteTemplateCommandOutput) => void),
+ cb?: (err: any, data?: DeleteTemplateCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteTemplateCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Removes a user group from Amazon QuickSight.
+ *
+ */
+ public deleteGroup(
+ args: DeleteGroupCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteGroup(
+ args: DeleteGroupCommandInput,
+ cb: (err: any, data?: DeleteGroupCommandOutput) => void
+ ): void;
+ public deleteGroup(
+ args: DeleteGroupCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteGroupCommandOutput) => void
+ ): void;
+ public deleteGroup(
+ args: DeleteGroupCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteGroupCommandOutput) => void),
+ cb?: (err: any, data?: DeleteGroupCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteGroupCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates the published version of a dashboard.
+ *
+ */
+ public updateDashboardPublishedVersion(
+ args: UpdateDashboardPublishedVersionCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateDashboardPublishedVersion(
+ args: UpdateDashboardPublishedVersionCommandInput,
+ cb: (err: any, data?: UpdateDashboardPublishedVersionCommandOutput) => void
+ ): void;
+ public updateDashboardPublishedVersion(
+ args: UpdateDashboardPublishedVersionCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateDashboardPublishedVersionCommandOutput) => void
+ ): void;
+ public updateDashboardPublishedVersion(
+ args: UpdateDashboardPublishedVersionCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: UpdateDashboardPublishedVersionCommandOutput
+ ) => void),
+ cb?: (err: any, data?: UpdateDashboardPublishedVersionCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateDashboardPublishedVersionCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists member users in a group.
+ *
+ */
+ public listGroupMemberships(
+ args: ListGroupMembershipsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listGroupMemberships(
+ args: ListGroupMembershipsCommandInput,
+ cb: (err: any, data?: ListGroupMembershipsCommandOutput) => void
+ ): void;
+ public listGroupMemberships(
+ args: ListGroupMembershipsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListGroupMembershipsCommandOutput) => void
+ ): void;
+ public listGroupMemberships(
+ args: ListGroupMembershipsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListGroupMembershipsCommandOutput) => void),
+ cb?: (err: any, data?: ListGroupMembershipsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListGroupMembershipsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists all of the datasets belonging to this account in an AWS region.
+ * The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/*
.
+ *
+ *
+ */
+ public listDataSets(
+ args: ListDataSetsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listDataSets(
+ args: ListDataSetsCommandInput,
+ cb: (err: any, data?: ListDataSetsCommandOutput) => void
+ ): void;
+ public listDataSets(
+ args: ListDataSetsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListDataSetsCommandOutput) => void
+ ): void;
+ public listDataSets(
+ args: ListDataSetsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListDataSetsCommandOutput) => void),
+ cb?: (err: any, data?: ListDataSetsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListDataSetsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Creates a template from an existing QuickSight analysis or template. The resulting template
+ * can be used to create a dashboard.
+ * A template is an entity in QuickSight which encapsulates the metadata required to create an
+ * analysis that can be used to create dashboard. It adds a layer of abstraction by use
+ * placeholders to replace the dataset associated with the analysis. You can use templates to
+ * create dashboards by replacing dataset placeholders with datasets which follow the same
+ * schema that was used to create the source analysis and template.
+ *
+ */
+ public createTemplate(
+ args: CreateTemplateCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createTemplate(
+ args: CreateTemplateCommandInput,
+ cb: (err: any, data?: CreateTemplateCommandOutput) => void
+ ): void;
+ public createTemplate(
+ args: CreateTemplateCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateTemplateCommandOutput) => void
+ ): void;
+ public createTemplate(
+ args: CreateTemplateCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateTemplateCommandOutput) => void),
+ cb?: (err: any, data?: CreateTemplateCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateTemplateCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Creates a dashboard from a template. To first create a template, see the CreateTemplate API.
+ * A dashboard is an entity in QuickSight which identifies
+ * Quicksight reports, created from analyses. QuickSight dashboards are sharable. With the
+ * right permissions, you can create scheduled email reports from them. The
+ * CreateDashboard
, DescribeDashboard
and
+ * ListDashboardsByUser
APIs act on the dashboard entity. If you have the correct
+ * permissions, you can create a dashboard from a template that exists in a different AWS
+ * account.
+ *
+ */
+ public createDashboard(
+ args: CreateDashboardCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createDashboard(
+ args: CreateDashboardCommandInput,
+ cb: (err: any, data?: CreateDashboardCommandOutput) => void
+ ): void;
+ public createDashboard(
+ args: CreateDashboardCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateDashboardCommandOutput) => void
+ ): void;
+ public createDashboard(
+ args: CreateDashboardCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateDashboardCommandOutput) => void),
+ cb?: (err: any, data?: CreateDashboardCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateDashboardCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates the permissions to a data source.
+ *
+ *
+ */
+ public updateDataSourcePermissions(
+ args: UpdateDataSourcePermissionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateDataSourcePermissions(
+ args: UpdateDataSourcePermissionsCommandInput,
+ cb: (err: any, data?: UpdateDataSourcePermissionsCommandOutput) => void
+ ): void;
+ public updateDataSourcePermissions(
+ args: UpdateDataSourcePermissionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateDataSourcePermissionsCommandOutput) => void
+ ): void;
+ public updateDataSourcePermissions(
+ args: UpdateDataSourcePermissionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateDataSourcePermissionsCommandOutput) => void),
+ cb?: (err: any, data?: UpdateDataSourcePermissionsCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateDataSourcePermissionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists all the templates in the QuickSight account.
+ *
+ */
+ public listTemplates(
+ args: ListTemplatesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listTemplates(
+ args: ListTemplatesCommandInput,
+ cb: (err: any, data?: ListTemplatesCommandOutput) => void
+ ): void;
+ public listTemplates(
+ args: ListTemplatesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListTemplatesCommandOutput) => void
+ ): void;
+ public listTemplates(
+ args: ListTemplatesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListTemplatesCommandOutput) => void),
+ cb?: (err: any, data?: ListTemplatesCommandOutput) => void
+ ): Promise | void {
+ const command = new ListTemplatesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates read and write permissions on a dashboard.
+ *
+ */
+ public updateDashboardPermissions(
+ args: UpdateDashboardPermissionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateDashboardPermissions(
+ args: UpdateDashboardPermissionsCommandInput,
+ cb: (err: any, data?: UpdateDashboardPermissionsCommandOutput) => void
+ ): void;
+ public updateDashboardPermissions(
+ args: UpdateDashboardPermissionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateDashboardPermissionsCommandOutput) => void
+ ): void;
+ public updateDashboardPermissions(
+ args: UpdateDashboardPermissionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateDashboardPermissionsCommandOutput) => void),
+ cb?: (err: any, data?: UpdateDashboardPermissionsCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateDashboardPermissionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Deletes a dashboard.
+ *
+ */
+ public deleteDashboard(
+ args: DeleteDashboardCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteDashboard(
+ args: DeleteDashboardCommandInput,
+ cb: (err: any, data?: DeleteDashboardCommandOutput) => void
+ ): void;
+ public deleteDashboard(
+ args: DeleteDashboardCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteDashboardCommandOutput) => void
+ ): void;
+ public deleteDashboard(
+ args: DeleteDashboardCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteDashboardCommandOutput) => void),
+ cb?: (err: any, data?: DeleteDashboardCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteDashboardCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes a SPICE ingestion.
+ *
+ *
+ */
+ public describeIngestion(
+ args: DescribeIngestionCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeIngestion(
+ args: DescribeIngestionCommandInput,
+ cb: (err: any, data?: DescribeIngestionCommandOutput) => void
+ ): void;
+ public describeIngestion(
+ args: DescribeIngestionCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeIngestionCommandOutput) => void
+ ): void;
+ public describeIngestion(
+ args: DescribeIngestionCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeIngestionCommandOutput) => void),
+ cb?: (err: any, data?: DescribeIngestionCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeIngestionCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates an Amazon QuickSight user.
+ *
+ */
+ public updateUser(
+ args: UpdateUserCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateUser(
+ args: UpdateUserCommandInput,
+ cb: (err: any, data?: UpdateUserCommandOutput) => void
+ ): void;
+ public updateUser(
+ args: UpdateUserCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateUserCommandOutput) => void
+ ): void;
+ public updateUser(
+ args: UpdateUserCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateUserCommandOutput) => void),
+ cb?: (err: any, data?: UpdateUserCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateUserCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes read and write permissions on a template.
+ *
+ */
+ public describeTemplatePermissions(
+ args: DescribeTemplatePermissionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeTemplatePermissions(
+ args: DescribeTemplatePermissionsCommandInput,
+ cb: (err: any, data?: DescribeTemplatePermissionsCommandOutput) => void
+ ): void;
+ public describeTemplatePermissions(
+ args: DescribeTemplatePermissionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeTemplatePermissionsCommandOutput) => void
+ ): void;
+ public describeTemplatePermissions(
+ args: DescribeTemplatePermissionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeTemplatePermissionsCommandOutput) => void),
+ cb?: (err: any, data?: DescribeTemplatePermissionsCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeTemplatePermissionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Creates an Amazon QuickSight user, whose identity is associated with the AWS Identity
+ * and Access Management (IAM) identity or role specified in the request.
+ *
+ */
+ public registerUser(
+ args: RegisterUserCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public registerUser(
+ args: RegisterUserCommandInput,
+ cb: (err: any, data?: RegisterUserCommandOutput) => void
+ ): void;
+ public registerUser(
+ args: RegisterUserCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: RegisterUserCommandOutput) => void
+ ): void;
+ public registerUser(
+ args: RegisterUserCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: RegisterUserCommandOutput) => void),
+ cb?: (err: any, data?: RegisterUserCommandOutput) => void
+ ): Promise | void {
+ const command = new RegisterUserCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Removes a tag or tags from a resource.
+ *
+ */
+ public untagResource(
+ args: UntagResourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public untagResource(
+ args: UntagResourceCommandInput,
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
+ ): void;
+ public untagResource(
+ args: UntagResourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
+ ): void;
+ public untagResource(
+ args: UntagResourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UntagResourceCommandOutput) => void),
+ cb?: (err: any, data?: UntagResourceCommandOutput) => void
+ ): Promise | void {
+ const command = new UntagResourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Deletes a user identified by its principal ID.
+ *
+ */
+ public deleteUserByPrincipalId(
+ args: DeleteUserByPrincipalIdCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteUserByPrincipalId(
+ args: DeleteUserByPrincipalIdCommandInput,
+ cb: (err: any, data?: DeleteUserByPrincipalIdCommandOutput) => void
+ ): void;
+ public deleteUserByPrincipalId(
+ args: DeleteUserByPrincipalIdCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteUserByPrincipalIdCommandOutput) => void
+ ): void;
+ public deleteUserByPrincipalId(
+ args: DeleteUserByPrincipalIdCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteUserByPrincipalIdCommandOutput) => void),
+ cb?: (err: any, data?: DeleteUserByPrincipalIdCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteUserByPrincipalIdCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Assigns one or more tags (key-value pairs) to the specified QuickSight resource.
+ * Tags can help you organize and categorize your resources. You can also use them to
+ * scope user permissions, by granting a user permission to access or change only resources
+ * with certain tag values. You can use the TagResource
operation with a
+ * resource that already has tags. If you specify a new tag key for the resource, this tag
+ * is appended to the list of tags associated with the resource. If you specify a tag key
+ * that is already associated with the resource, the new tag value that you specify
+ * replaces the previous value for that tag.
+ * You can associate as many as 50 tags with a resource. QuickSight supports tagging on data
+ * set, data source, dashboard, and template.
+ * Tagging for QuickSight works in a similar way to tagging for other AWS services, except for
+ * the following:
+ *
+ * -
+ *
You can't use tags to track AWS costs for QuickSight. This restriction is because QuickSight
+ * costs are based on users and SPICE capacity, which aren't taggable
+ * resources.
+ *
+ * -
+ *
QuickSight doesn't currently support the Tag Editor for AWS Resource Groups.
+ *
+ *
+ *
+ */
+ public tagResource(
+ args: TagResourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public tagResource(
+ args: TagResourceCommandInput,
+ cb: (err: any, data?: TagResourceCommandOutput) => void
+ ): void;
+ public tagResource(
+ args: TagResourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: TagResourceCommandOutput) => void
+ ): void;
+ public tagResource(
+ args: TagResourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: TagResourceCommandOutput) => void),
+ cb?: (err: any, data?: TagResourceCommandOutput) => void
+ ): Promise | void {
+ const command = new TagResourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Changes a group description.
+ *
+ */
+ public updateGroup(
+ args: UpdateGroupCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateGroup(
+ args: UpdateGroupCommandInput,
+ cb: (err: any, data?: UpdateGroupCommandOutput) => void
+ ): void;
+ public updateGroup(
+ args: UpdateGroupCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateGroupCommandOutput) => void
+ ): void;
+ public updateGroup(
+ args: UpdateGroupCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateGroupCommandOutput) => void),
+ cb?: (err: any, data?: UpdateGroupCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateGroupCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes the resource permissions for a data source.
+ *
+ *
+ */
+ public describeDataSourcePermissions(
+ args: DescribeDataSourcePermissionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeDataSourcePermissions(
+ args: DescribeDataSourcePermissionsCommandInput,
+ cb: (err: any, data?: DescribeDataSourcePermissionsCommandOutput) => void
+ ): void;
+ public describeDataSourcePermissions(
+ args: DescribeDataSourcePermissionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeDataSourcePermissionsCommandOutput) => void
+ ): void;
+ public describeDataSourcePermissions(
+ args: DescribeDataSourcePermissionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeDataSourcePermissionsCommandOutput) => void),
+ cb?: (err: any, data?: DescribeDataSourcePermissionsCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeDataSourcePermissionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Creates a data source.
+ *
+ *
+ */
+ public createDataSource(
+ args: CreateDataSourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createDataSource(
+ args: CreateDataSourceCommandInput,
+ cb: (err: any, data?: CreateDataSourceCommandOutput) => void
+ ): void;
+ public createDataSource(
+ args: CreateDataSourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateDataSourceCommandOutput) => void
+ ): void;
+ public createDataSource(
+ args: CreateDataSourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateDataSourceCommandOutput) => void),
+ cb?: (err: any, data?: CreateDataSourceCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateDataSourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Creates a dataset.
+ *
+ *
+ */
+ public createDataSet(
+ args: CreateDataSetCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createDataSet(
+ args: CreateDataSetCommandInput,
+ cb: (err: any, data?: CreateDataSetCommandOutput) => void
+ ): void;
+ public createDataSet(
+ args: CreateDataSetCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateDataSetCommandOutput) => void
+ ): void;
+ public createDataSet(
+ args: CreateDataSetCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateDataSetCommandOutput) => void),
+ cb?: (err: any, data?: CreateDataSetCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateDataSetCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists the history of SPICE ingestions for a dataset.
+ *
+ *
+ */
+ public listIngestions(
+ args: ListIngestionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listIngestions(
+ args: ListIngestionsCommandInput,
+ cb: (err: any, data?: ListIngestionsCommandOutput) => void
+ ): void;
+ public listIngestions(
+ args: ListIngestionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListIngestionsCommandOutput) => void
+ ): void;
+ public listIngestions(
+ args: ListIngestionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListIngestionsCommandOutput) => void),
+ cb?: (err: any, data?: ListIngestionsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListIngestionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates the permissions on a dataset.
+ * The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id
.
+ *
+ *
+ */
+ public updateDataSetPermissions(
+ args: UpdateDataSetPermissionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateDataSetPermissions(
+ args: UpdateDataSetPermissionsCommandInput,
+ cb: (err: any, data?: UpdateDataSetPermissionsCommandOutput) => void
+ ): void;
+ public updateDataSetPermissions(
+ args: UpdateDataSetPermissionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateDataSetPermissionsCommandOutput) => void
+ ): void;
+ public updateDataSetPermissions(
+ args: UpdateDataSetPermissionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateDataSetPermissionsCommandOutput) => void),
+ cb?: (err: any, data?: UpdateDataSetPermissionsCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateDataSetPermissionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes read and write permissions on a dashboard.
+ *
+ */
+ public describeDashboardPermissions(
+ args: DescribeDashboardPermissionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeDashboardPermissions(
+ args: DescribeDashboardPermissionsCommandInput,
+ cb: (err: any, data?: DescribeDashboardPermissionsCommandOutput) => void
+ ): void;
+ public describeDashboardPermissions(
+ args: DescribeDashboardPermissionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeDashboardPermissionsCommandOutput) => void
+ ): void;
+ public describeDashboardPermissions(
+ args: DescribeDashboardPermissionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeDashboardPermissionsCommandOutput) => void),
+ cb?: (err: any, data?: DescribeDashboardPermissionsCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeDashboardPermissionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Cancels an ongoing ingestion of data into SPICE.
+ *
+ *
+ */
+ public cancelIngestion(
+ args: CancelIngestionCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public cancelIngestion(
+ args: CancelIngestionCommandInput,
+ cb: (err: any, data?: CancelIngestionCommandOutput) => void
+ ): void;
+ public cancelIngestion(
+ args: CancelIngestionCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CancelIngestionCommandOutput) => void
+ ): void;
+ public cancelIngestion(
+ args: CancelIngestionCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CancelIngestionCommandOutput) => void),
+ cb?: (err: any, data?: CancelIngestionCommandOutput) => void
+ ): Promise | void {
+ const command = new CancelIngestionCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates an existing assignment. This operation updates only the optional parameter or parameters that are specified in the request.
+ *
+ */
+ public updateIAMPolicyAssignment(
+ args: UpdateIAMPolicyAssignmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateIAMPolicyAssignment(
+ args: UpdateIAMPolicyAssignmentCommandInput,
+ cb: (err: any, data?: UpdateIAMPolicyAssignmentCommandOutput) => void
+ ): void;
+ public updateIAMPolicyAssignment(
+ args: UpdateIAMPolicyAssignmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateIAMPolicyAssignmentCommandOutput) => void
+ ): void;
+ public updateIAMPolicyAssignment(
+ args: UpdateIAMPolicyAssignmentCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateIAMPolicyAssignmentCommandOutput) => void),
+ cb?: (err: any, data?: UpdateIAMPolicyAssignmentCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateIAMPolicyAssignmentCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Creates an assignment with one specified IAM policy Amazon Resource Name (ARN) and will assigned to specified groups or users of QuickSight.
+ * Users and groups need to be in the same namespace.
+ *
+ *
+ */
+ public createIAMPolicyAssignment(
+ args: CreateIAMPolicyAssignmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createIAMPolicyAssignment(
+ args: CreateIAMPolicyAssignmentCommandInput,
+ cb: (err: any, data?: CreateIAMPolicyAssignmentCommandOutput) => void
+ ): void;
+ public createIAMPolicyAssignment(
+ args: CreateIAMPolicyAssignmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateIAMPolicyAssignmentCommandOutput) => void
+ ): void;
+ public createIAMPolicyAssignment(
+ args: CreateIAMPolicyAssignmentCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateIAMPolicyAssignmentCommandOutput) => void),
+ cb?: (err: any, data?: CreateIAMPolicyAssignmentCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateIAMPolicyAssignmentCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates a dashboard in the AWS account.
+ *
+ */
+ public updateDashboard(
+ args: UpdateDashboardCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateDashboard(
+ args: UpdateDashboardCommandInput,
+ cb: (err: any, data?: UpdateDashboardCommandOutput) => void
+ ): void;
+ public updateDashboard(
+ args: UpdateDashboardCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateDashboardCommandOutput) => void
+ ): void;
+ public updateDashboard(
+ args: UpdateDashboardCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateDashboardCommandOutput) => void),
+ cb?: (err: any, data?: UpdateDashboardCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateDashboardCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Creates an Amazon QuickSight group.
+ * The permissions resource is
+ * arn:aws:quicksight:us-east-1::group/default/
+ *
.
+ * The response is a group object.
+ *
+ */
+ public createGroup(
+ args: CreateGroupCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createGroup(
+ args: CreateGroupCommandInput,
+ cb: (err: any, data?: CreateGroupCommandOutput) => void
+ ): void;
+ public createGroup(
+ args: CreateGroupCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateGroupCommandOutput) => void
+ ): void;
+ public createGroup(
+ args: CreateGroupCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateGroupCommandOutput) => void),
+ cb?: (err: any, data?: CreateGroupCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateGroupCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates a data source.
+ *
+ *
+ */
+ public updateDataSource(
+ args: UpdateDataSourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateDataSource(
+ args: UpdateDataSourceCommandInput,
+ cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
+ ): void;
+ public updateDataSource(
+ args: UpdateDataSourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
+ ): void;
+ public updateDataSource(
+ args: UpdateDataSourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateDataSourceCommandOutput) => void),
+ cb?: (err: any, data?: UpdateDataSourceCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateDataSourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists all the assignments and the Amazon Resource Names (ARNs) for
+ * the associated IAM policies assigned to the specified user and the
+ * group or groups that the user belongs to.
+ *
+ */
+ public listIAMPolicyAssignmentsForUser(
+ args: ListIAMPolicyAssignmentsForUserCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listIAMPolicyAssignmentsForUser(
+ args: ListIAMPolicyAssignmentsForUserCommandInput,
+ cb: (err: any, data?: ListIAMPolicyAssignmentsForUserCommandOutput) => void
+ ): void;
+ public listIAMPolicyAssignmentsForUser(
+ args: ListIAMPolicyAssignmentsForUserCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListIAMPolicyAssignmentsForUserCommandOutput) => void
+ ): void;
+ public listIAMPolicyAssignmentsForUser(
+ args: ListIAMPolicyAssignmentsForUserCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((
+ err: any,
+ data?: ListIAMPolicyAssignmentsForUserCommandOutput
+ ) => void),
+ cb?: (err: any, data?: ListIAMPolicyAssignmentsForUserCommandOutput) => void
+ ): Promise | void {
+ const command = new ListIAMPolicyAssignmentsForUserCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists dashboards in the AWS account.
+ *
+ */
+ public listDashboards(
+ args: ListDashboardsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listDashboards(
+ args: ListDashboardsCommandInput,
+ cb: (err: any, data?: ListDashboardsCommandOutput) => void
+ ): void;
+ public listDashboards(
+ args: ListDashboardsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListDashboardsCommandOutput) => void
+ ): void;
+ public listDashboards(
+ args: ListDashboardsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListDashboardsCommandOutput) => void),
+ cb?: (err: any, data?: ListDashboardsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListDashboardsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes an existing IAMPolicy Assignment by specified assignment name.
+ *
+ */
+ public describeIAMPolicyAssignment(
+ args: DescribeIAMPolicyAssignmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeIAMPolicyAssignment(
+ args: DescribeIAMPolicyAssignmentCommandInput,
+ cb: (err: any, data?: DescribeIAMPolicyAssignmentCommandOutput) => void
+ ): void;
+ public describeIAMPolicyAssignment(
+ args: DescribeIAMPolicyAssignmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeIAMPolicyAssignmentCommandOutput) => void
+ ): void;
+ public describeIAMPolicyAssignment(
+ args: DescribeIAMPolicyAssignmentCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeIAMPolicyAssignmentCommandOutput) => void),
+ cb?: (err: any, data?: DescribeIAMPolicyAssignmentCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeIAMPolicyAssignmentCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Provides a summary for a dashboard.
+ *
+ */
+ public describeDashboard(
+ args: DescribeDashboardCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeDashboard(
+ args: DescribeDashboardCommandInput,
+ cb: (err: any, data?: DescribeDashboardCommandOutput) => void
+ ): void;
+ public describeDashboard(
+ args: DescribeDashboardCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeDashboardCommandOutput) => void
+ ): void;
+ public describeDashboard(
+ args: DescribeDashboardCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeDashboardCommandOutput) => void),
+ cb?: (err: any, data?: DescribeDashboardCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeDashboardCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists all the aliases of a template.
+ *
+ *
+ */
+ public listTemplateAliases(
+ args: ListTemplateAliasesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listTemplateAliases(
+ args: ListTemplateAliasesCommandInput,
+ cb: (err: any, data?: ListTemplateAliasesCommandOutput) => void
+ ): void;
+ public listTemplateAliases(
+ args: ListTemplateAliasesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListTemplateAliasesCommandOutput) => void
+ ): void;
+ public listTemplateAliases(
+ args: ListTemplateAliasesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListTemplateAliasesCommandOutput) => void),
+ cb?: (err: any, data?: ListTemplateAliasesCommandOutput) => void
+ ): Promise | void {
+ const command = new ListTemplateAliasesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists data sources in current AWS Region that belong to this AWS account.
+ *
+ *
+ */
+ public listDataSources(
+ args: ListDataSourcesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listDataSources(
+ args: ListDataSourcesCommandInput,
+ cb: (err: any, data?: ListDataSourcesCommandOutput) => void
+ ): void;
+ public listDataSources(
+ args: ListDataSourcesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListDataSourcesCommandOutput) => void
+ ): void;
+ public listDataSources(
+ args: ListDataSourcesCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListDataSourcesCommandOutput) => void),
+ cb?: (err: any, data?: ListDataSourcesCommandOutput) => void
+ ): Promise | void {
+ const command = new ListDataSourcesCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates a dataset.
+ *
+ *
+ */
+ public updateDataSet(
+ args: UpdateDataSetCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateDataSet(
+ args: UpdateDataSetCommandInput,
+ cb: (err: any, data?: UpdateDataSetCommandOutput) => void
+ ): void;
+ public updateDataSet(
+ args: UpdateDataSetCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateDataSetCommandOutput) => void
+ ): void;
+ public updateDataSet(
+ args: UpdateDataSetCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateDataSetCommandOutput) => void),
+ cb?: (err: any, data?: UpdateDataSetCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateDataSetCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists the tags assigned to a resource.
+ *
+ */
+ public listTagsForResource(
+ args: ListTagsForResourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listTagsForResource(
+ args: ListTagsForResourceCommandInput,
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
+ ): void;
+ public listTagsForResource(
+ args: ListTagsForResourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
+ ): void;
+ public listTagsForResource(
+ args: ListTagsForResourceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
+ cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
+ ): Promise | void {
+ const command = new ListTagsForResourceCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Deletes a dataset.
+ *
+ *
+ */
+ public deleteDataSet(
+ args: DeleteDataSetCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteDataSet(
+ args: DeleteDataSetCommandInput,
+ cb: (err: any, data?: DeleteDataSetCommandOutput) => void
+ ): void;
+ public deleteDataSet(
+ args: DeleteDataSetCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteDataSetCommandOutput) => void
+ ): void;
+ public deleteDataSet(
+ args: DeleteDataSetCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteDataSetCommandOutput) => void),
+ cb?: (err: any, data?: DeleteDataSetCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteDataSetCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Deletes an existing assignment.
+ *
+ */
+ public deleteIAMPolicyAssignment(
+ args: DeleteIAMPolicyAssignmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteIAMPolicyAssignment(
+ args: DeleteIAMPolicyAssignmentCommandInput,
+ cb: (err: any, data?: DeleteIAMPolicyAssignmentCommandOutput) => void
+ ): void;
+ public deleteIAMPolicyAssignment(
+ args: DeleteIAMPolicyAssignmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteIAMPolicyAssignmentCommandOutput) => void
+ ): void;
+ public deleteIAMPolicyAssignment(
+ args: DeleteIAMPolicyAssignmentCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DeleteIAMPolicyAssignmentCommandOutput) => void),
+ cb?: (err: any, data?: DeleteIAMPolicyAssignmentCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteIAMPolicyAssignmentCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Lists assignments in current QuickSight account.
+ *
+ */
+ public listIAMPolicyAssignments(
+ args: ListIAMPolicyAssignmentsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listIAMPolicyAssignments(
+ args: ListIAMPolicyAssignmentsCommandInput,
+ cb: (err: any, data?: ListIAMPolicyAssignmentsCommandOutput) => void
+ ): void;
+ public listIAMPolicyAssignments(
+ args: ListIAMPolicyAssignmentsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListIAMPolicyAssignmentsCommandOutput) => void
+ ): void;
+ public listIAMPolicyAssignments(
+ args: ListIAMPolicyAssignmentsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: ListIAMPolicyAssignmentsCommandOutput) => void),
+ cb?: (err: any, data?: ListIAMPolicyAssignmentsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListIAMPolicyAssignmentsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Creates a template alias for a template.
+ *
+ */
+ public createTemplateAlias(
+ args: CreateTemplateAliasCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createTemplateAlias(
+ args: CreateTemplateAliasCommandInput,
+ cb: (err: any, data?: CreateTemplateAliasCommandOutput) => void
+ ): void;
+ public createTemplateAlias(
+ args: CreateTemplateAliasCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateTemplateAliasCommandOutput) => void
+ ): void;
+ public createTemplateAlias(
+ args: CreateTemplateAliasCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: CreateTemplateAliasCommandOutput) => void),
+ cb?: (err: any, data?: CreateTemplateAliasCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateTemplateAliasCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates the template alias of a template.
+ *
+ */
+ public updateTemplateAlias(
+ args: UpdateTemplateAliasCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateTemplateAlias(
+ args: UpdateTemplateAliasCommandInput,
+ cb: (err: any, data?: UpdateTemplateAliasCommandOutput) => void
+ ): void;
+ public updateTemplateAlias(
+ args: UpdateTemplateAliasCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateTemplateAliasCommandOutput) => void
+ ): void;
+ public updateTemplateAlias(
+ args: UpdateTemplateAliasCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: UpdateTemplateAliasCommandOutput) => void),
+ cb?: (err: any, data?: UpdateTemplateAliasCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateTemplateAliasCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Describes the permissions on a dataset.
+ * The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id
.
+ *
+ *
+ */
+ public describeDataSetPermissions(
+ args: DescribeDataSetPermissionsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public describeDataSetPermissions(
+ args: DescribeDataSetPermissionsCommandInput,
+ cb: (err: any, data?: DescribeDataSetPermissionsCommandOutput) => void
+ ): void;
+ public describeDataSetPermissions(
+ args: DescribeDataSetPermissionsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeDataSetPermissionsCommandOutput) => void
+ ): void;
+ public describeDataSetPermissions(
+ args: DescribeDataSetPermissionsCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DescribeDataSetPermissionsCommandOutput) => void),
+ cb?: (err: any, data?: DescribeDataSetPermissionsCommandOutput) => void
+ ): Promise | void {
+ const command = new DescribeDataSetPermissionsCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object")
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+}
diff --git a/clients/client-quicksight/QuickSightClient.ts b/clients/client-quicksight/QuickSightClient.ts
new file mode 100644
index 000000000000..9ae8ee143227
--- /dev/null
+++ b/clients/client-quicksight/QuickSightClient.ts
@@ -0,0 +1,458 @@
+import {
+ CancelIngestionRequest,
+ CancelIngestionResponse,
+ CreateDashboardRequest,
+ CreateDashboardResponse,
+ CreateDataSetRequest,
+ CreateDataSetResponse,
+ CreateDataSourceRequest,
+ CreateDataSourceResponse,
+ CreateGroupMembershipRequest,
+ CreateGroupMembershipResponse,
+ CreateGroupRequest,
+ CreateGroupResponse,
+ CreateIAMPolicyAssignmentRequest,
+ CreateIAMPolicyAssignmentResponse,
+ CreateIngestionRequest,
+ CreateIngestionResponse,
+ CreateTemplateAliasRequest,
+ CreateTemplateAliasResponse,
+ CreateTemplateRequest,
+ CreateTemplateResponse,
+ DeleteDashboardRequest,
+ DeleteDashboardResponse,
+ DeleteDataSetRequest,
+ DeleteDataSetResponse,
+ DeleteDataSourceRequest,
+ DeleteDataSourceResponse,
+ DeleteGroupMembershipRequest,
+ DeleteGroupMembershipResponse,
+ DeleteGroupRequest,
+ DeleteGroupResponse,
+ DeleteIAMPolicyAssignmentRequest,
+ DeleteIAMPolicyAssignmentResponse,
+ DeleteTemplateAliasRequest,
+ DeleteTemplateAliasResponse,
+ DeleteTemplateRequest,
+ DeleteTemplateResponse,
+ DeleteUserByPrincipalIdRequest,
+ DeleteUserByPrincipalIdResponse,
+ DeleteUserRequest,
+ DeleteUserResponse,
+ DescribeDashboardPermissionsRequest,
+ DescribeDashboardPermissionsResponse,
+ DescribeDashboardRequest,
+ DescribeDashboardResponse,
+ DescribeDataSetPermissionsRequest,
+ DescribeDataSetPermissionsResponse,
+ DescribeDataSetRequest,
+ DescribeDataSetResponse,
+ DescribeDataSourcePermissionsRequest,
+ DescribeDataSourcePermissionsResponse,
+ DescribeDataSourceRequest,
+ DescribeDataSourceResponse,
+ DescribeGroupRequest,
+ DescribeGroupResponse,
+ DescribeIAMPolicyAssignmentRequest,
+ DescribeIAMPolicyAssignmentResponse,
+ DescribeIngestionRequest,
+ DescribeIngestionResponse,
+ DescribeTemplateAliasRequest,
+ DescribeTemplateAliasResponse,
+ DescribeTemplatePermissionsRequest,
+ DescribeTemplatePermissionsResponse,
+ DescribeTemplateRequest,
+ DescribeTemplateResponse,
+ DescribeUserRequest,
+ DescribeUserResponse,
+ GetDashboardEmbedUrlRequest,
+ GetDashboardEmbedUrlResponse,
+ ListDashboardVersionsRequest,
+ ListDashboardVersionsResponse,
+ ListDashboardsRequest,
+ ListDashboardsResponse,
+ ListDataSetsRequest,
+ ListDataSetsResponse,
+ ListDataSourcesRequest,
+ ListDataSourcesResponse,
+ ListGroupMembershipsRequest,
+ ListGroupMembershipsResponse,
+ ListGroupsRequest,
+ ListGroupsResponse,
+ ListIAMPolicyAssignmentsForUserRequest,
+ ListIAMPolicyAssignmentsForUserResponse,
+ ListIAMPolicyAssignmentsRequest,
+ ListIAMPolicyAssignmentsResponse,
+ ListIngestionsRequest,
+ ListIngestionsResponse,
+ ListTagsForResourceRequest,
+ ListTagsForResourceResponse,
+ ListTemplateAliasesRequest,
+ ListTemplateAliasesResponse,
+ ListTemplateVersionsRequest,
+ ListTemplateVersionsResponse,
+ ListTemplatesRequest,
+ ListTemplatesResponse,
+ ListUserGroupsRequest,
+ ListUserGroupsResponse,
+ ListUsersRequest,
+ ListUsersResponse,
+ RegisterUserRequest,
+ RegisterUserResponse,
+ TagResourceRequest,
+ TagResourceResponse,
+ UntagResourceRequest,
+ UntagResourceResponse,
+ UpdateDashboardPermissionsRequest,
+ UpdateDashboardPermissionsResponse,
+ UpdateDashboardPublishedVersionRequest,
+ UpdateDashboardPublishedVersionResponse,
+ UpdateDashboardRequest,
+ UpdateDashboardResponse,
+ UpdateDataSetPermissionsRequest,
+ UpdateDataSetPermissionsResponse,
+ UpdateDataSetRequest,
+ UpdateDataSetResponse,
+ UpdateDataSourcePermissionsRequest,
+ UpdateDataSourcePermissionsResponse,
+ UpdateDataSourceRequest,
+ UpdateDataSourceResponse,
+ UpdateGroupRequest,
+ UpdateGroupResponse,
+ UpdateIAMPolicyAssignmentRequest,
+ UpdateIAMPolicyAssignmentResponse,
+ UpdateTemplateAliasRequest,
+ UpdateTemplateAliasResponse,
+ UpdateTemplatePermissionsRequest,
+ UpdateTemplatePermissionsResponse,
+ UpdateTemplateRequest,
+ UpdateTemplateResponse,
+ UpdateUserRequest,
+ UpdateUserResponse
+} from "./models/index";
+import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig";
+import {
+ EndpointsInputConfig,
+ EndpointsResolvedConfig,
+ RegionInputConfig,
+ RegionResolvedConfig,
+ resolveEndpointsConfig,
+ resolveRegionConfig
+} from "@aws-sdk/config-resolver";
+import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
+import {
+ HostHeaderInputConfig,
+ HostHeaderResolvedConfig,
+ getHostHeaderPlugin,
+ resolveHostHeaderConfig
+} from "@aws-sdk/middleware-host-header";
+import {
+ RetryInputConfig,
+ RetryResolvedConfig,
+ getRetryPlugin,
+ resolveRetryConfig
+} from "@aws-sdk/middleware-retry";
+import {
+ AwsAuthInputConfig,
+ AwsAuthResolvedConfig,
+ getAwsAuthPlugin,
+ resolveAwsAuthConfig
+} from "@aws-sdk/middleware-signing";
+import {
+ UserAgentInputConfig,
+ UserAgentResolvedConfig,
+ getUserAgentPlugin,
+ resolveUserAgentConfig
+} from "@aws-sdk/middleware-user-agent";
+import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
+import {
+ Client as __Client,
+ SmithyConfiguration as __SmithyConfiguration,
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration
+} from "@aws-sdk/smithy-client";
+import {
+ RegionInfoProvider,
+ Credentials as __Credentials,
+ Decoder as __Decoder,
+ Encoder as __Encoder,
+ HashConstructor as __HashConstructor,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ Provider as __Provider,
+ StreamCollector as __StreamCollector,
+ UrlParser as __UrlParser
+} from "@aws-sdk/types";
+
+export type ServiceInputTypes =
+ | CancelIngestionRequest
+ | CreateDashboardRequest
+ | CreateDataSetRequest
+ | CreateDataSourceRequest
+ | CreateGroupMembershipRequest
+ | CreateGroupRequest
+ | CreateIAMPolicyAssignmentRequest
+ | CreateIngestionRequest
+ | CreateTemplateAliasRequest
+ | CreateTemplateRequest
+ | DeleteDashboardRequest
+ | DeleteDataSetRequest
+ | DeleteDataSourceRequest
+ | DeleteGroupMembershipRequest
+ | DeleteGroupRequest
+ | DeleteIAMPolicyAssignmentRequest
+ | DeleteTemplateAliasRequest
+ | DeleteTemplateRequest
+ | DeleteUserByPrincipalIdRequest
+ | DeleteUserRequest
+ | DescribeDashboardPermissionsRequest
+ | DescribeDashboardRequest
+ | DescribeDataSetPermissionsRequest
+ | DescribeDataSetRequest
+ | DescribeDataSourcePermissionsRequest
+ | DescribeDataSourceRequest
+ | DescribeGroupRequest
+ | DescribeIAMPolicyAssignmentRequest
+ | DescribeIngestionRequest
+ | DescribeTemplateAliasRequest
+ | DescribeTemplatePermissionsRequest
+ | DescribeTemplateRequest
+ | DescribeUserRequest
+ | GetDashboardEmbedUrlRequest
+ | ListDashboardVersionsRequest
+ | ListDashboardsRequest
+ | ListDataSetsRequest
+ | ListDataSourcesRequest
+ | ListGroupMembershipsRequest
+ | ListGroupsRequest
+ | ListIAMPolicyAssignmentsForUserRequest
+ | ListIAMPolicyAssignmentsRequest
+ | ListIngestionsRequest
+ | ListTagsForResourceRequest
+ | ListTemplateAliasesRequest
+ | ListTemplateVersionsRequest
+ | ListTemplatesRequest
+ | ListUserGroupsRequest
+ | ListUsersRequest
+ | RegisterUserRequest
+ | TagResourceRequest
+ | UntagResourceRequest
+ | UpdateDashboardPermissionsRequest
+ | UpdateDashboardPublishedVersionRequest
+ | UpdateDashboardRequest
+ | UpdateDataSetPermissionsRequest
+ | UpdateDataSetRequest
+ | UpdateDataSourcePermissionsRequest
+ | UpdateDataSourceRequest
+ | UpdateGroupRequest
+ | UpdateIAMPolicyAssignmentRequest
+ | UpdateTemplateAliasRequest
+ | UpdateTemplatePermissionsRequest
+ | UpdateTemplateRequest
+ | UpdateUserRequest;
+
+export type ServiceOutputTypes =
+ | CancelIngestionResponse
+ | CreateDashboardResponse
+ | CreateDataSetResponse
+ | CreateDataSourceResponse
+ | CreateGroupMembershipResponse
+ | CreateGroupResponse
+ | CreateIAMPolicyAssignmentResponse
+ | CreateIngestionResponse
+ | CreateTemplateAliasResponse
+ | CreateTemplateResponse
+ | DeleteDashboardResponse
+ | DeleteDataSetResponse
+ | DeleteDataSourceResponse
+ | DeleteGroupMembershipResponse
+ | DeleteGroupResponse
+ | DeleteIAMPolicyAssignmentResponse
+ | DeleteTemplateAliasResponse
+ | DeleteTemplateResponse
+ | DeleteUserByPrincipalIdResponse
+ | DeleteUserResponse
+ | DescribeDashboardPermissionsResponse
+ | DescribeDashboardResponse
+ | DescribeDataSetPermissionsResponse
+ | DescribeDataSetResponse
+ | DescribeDataSourcePermissionsResponse
+ | DescribeDataSourceResponse
+ | DescribeGroupResponse
+ | DescribeIAMPolicyAssignmentResponse
+ | DescribeIngestionResponse
+ | DescribeTemplateAliasResponse
+ | DescribeTemplatePermissionsResponse
+ | DescribeTemplateResponse
+ | DescribeUserResponse
+ | GetDashboardEmbedUrlResponse
+ | ListDashboardVersionsResponse
+ | ListDashboardsResponse
+ | ListDataSetsResponse
+ | ListDataSourcesResponse
+ | ListGroupMembershipsResponse
+ | ListGroupsResponse
+ | ListIAMPolicyAssignmentsForUserResponse
+ | ListIAMPolicyAssignmentsResponse
+ | ListIngestionsResponse
+ | ListTagsForResourceResponse
+ | ListTemplateAliasesResponse
+ | ListTemplateVersionsResponse
+ | ListTemplatesResponse
+ | ListUserGroupsResponse
+ | ListUsersResponse
+ | RegisterUserResponse
+ | TagResourceResponse
+ | UntagResourceResponse
+ | UpdateDashboardPermissionsResponse
+ | UpdateDashboardPublishedVersionResponse
+ | UpdateDashboardResponse
+ | UpdateDataSetPermissionsResponse
+ | UpdateDataSetResponse
+ | UpdateDataSourcePermissionsResponse
+ | UpdateDataSourceResponse
+ | UpdateGroupResponse
+ | UpdateIAMPolicyAssignmentResponse
+ | UpdateTemplateAliasResponse
+ | UpdateTemplatePermissionsResponse
+ | UpdateTemplateResponse
+ | UpdateUserResponse;
+
+export interface ClientDefaults
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
+ /**
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
+ */
+ requestHandler?: __HttpHandler;
+
+ /**
+ * A constructor for a class implementing the @aws-sdk/types.Hash interface
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
+ */
+ sha256?: __HashConstructor;
+
+ /**
+ * The function that will be used to convert strings into HTTP endpoints.
+ */
+ urlParser?: __UrlParser;
+
+ /**
+ * A function that can calculate the length of a request body.
+ */
+ bodyLengthChecker?: (body: any) => number | undefined;
+
+ /**
+ * A function that converts a stream into an array of bytes.
+ */
+ streamCollector?: __StreamCollector;
+
+ /**
+ * The function that will be used to convert a base64-encoded string to a byte array
+ */
+ base64Decoder?: __Decoder;
+
+ /**
+ * The function that will be used to convert binary data to a base64-encoded string
+ */
+ base64Encoder?: __Encoder;
+
+ /**
+ * The function that will be used to convert a UTF8-encoded string to a byte array
+ */
+ utf8Decoder?: __Decoder;
+
+ /**
+ * The function that will be used to convert binary data to a UTF-8 encoded string
+ */
+ utf8Encoder?: __Encoder;
+
+ /**
+ * The string that will be used to populate default value in 'User-Agent' header
+ */
+ defaultUserAgent?: string;
+
+ /**
+ * The runtime environment
+ */
+ runtime?: string;
+
+ /**
+ * The service name with which to sign requests.
+ */
+ signingName?: string;
+
+ /**
+ * Default credentials provider; Not available in browser runtime
+ */
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
+
+ /**
+ * Provider function that return promise of a region string
+ */
+ regionDefaultProvider?: (input: any) => __Provider;
+
+ /**
+ * Fetch related hostname, signing name or signing region with given region.
+ */
+ regionInfoProvider?: RegionInfoProvider;
+}
+
+export type QuickSightClientConfig = Partial<
+ __SmithyConfiguration<__HttpHandlerOptions>
+> &
+ ClientDefaults &
+ RegionInputConfig &
+ EndpointsInputConfig &
+ AwsAuthInputConfig &
+ RetryInputConfig &
+ UserAgentInputConfig &
+ HostHeaderInputConfig;
+
+export type QuickSightClientResolvedConfig = __SmithyResolvedConfiguration<
+ __HttpHandlerOptions
+> &
+ Required &
+ RegionResolvedConfig &
+ EndpointsResolvedConfig &
+ AwsAuthResolvedConfig &
+ RetryResolvedConfig &
+ UserAgentResolvedConfig &
+ HostHeaderResolvedConfig;
+
+/**
+ *
+ * Amazon QuickSight API Reference
+ * Amazon QuickSight is a fully managed, serverless business intelligence service for the AWS
+ * Cloud that makes it easy to extend data and insights to every user in your organization.
+ * This API reference contains documentation for a programming interface that you can use
+ * to manage Amazon QuickSight.
+ *
+ */
+export class QuickSightClient extends __Client<
+ __HttpHandlerOptions,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+ QuickSightClientResolvedConfig
+> {
+ readonly config: QuickSightClientResolvedConfig;
+
+ constructor(configuration: QuickSightClientConfig) {
+ let _config_0 = {
+ ...__ClientDefaultValues,
+ ...configuration
+ };
+ let _config_1 = resolveRegionConfig(_config_0);
+ let _config_2 = resolveEndpointsConfig(_config_1);
+ let _config_3 = resolveAwsAuthConfig(_config_2);
+ let _config_4 = resolveRetryConfig(_config_3);
+ let _config_5 = resolveUserAgentConfig(_config_4);
+ let _config_6 = resolveHostHeaderConfig(_config_5);
+ super(_config_6);
+ this.config = _config_6;
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
+ this.middlewareStack.use(getRetryPlugin(this.config));
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
+ }
+
+ destroy(): void {}
+}
diff --git a/clients/client-quicksight/README.md b/clients/client-quicksight/README.md
new file mode 100644
index 000000000000..704192763aca
--- /dev/null
+++ b/clients/client-quicksight/README.md
@@ -0,0 +1,6 @@
+@aws-sdk/client-quicksight
+
+[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-quicksight/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-quicksight)
+[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-quicksight.svg)](https://www.npmjs.com/package/@aws-sdk/client-quicksight)
+
+For SDK usage, please step to [SDK reademe](https://github.com/aws/aws-sdk-js-v3).
diff --git a/clients/client-quicksight/commands/CancelIngestionCommand.ts b/clients/client-quicksight/commands/CancelIngestionCommand.ts
new file mode 100644
index 000000000000..4d4ef5051d84
--- /dev/null
+++ b/clients/client-quicksight/commands/CancelIngestionCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ CancelIngestionRequest,
+ CancelIngestionResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CancelIngestionCommand,
+ serializeAws_restJson1_1CancelIngestionCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CancelIngestionCommandInput = CancelIngestionRequest;
+export type CancelIngestionCommandOutput = CancelIngestionResponse;
+
+export class CancelIngestionCommand extends $Command<
+ CancelIngestionCommandInput,
+ CancelIngestionCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CancelIngestionCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CancelIngestionCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CancelIngestionCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CancelIngestionCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/CreateDashboardCommand.ts b/clients/client-quicksight/commands/CreateDashboardCommand.ts
new file mode 100644
index 000000000000..5ff2129e4319
--- /dev/null
+++ b/clients/client-quicksight/commands/CreateDashboardCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ CreateDashboardRequest,
+ CreateDashboardResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateDashboardCommand,
+ serializeAws_restJson1_1CreateDashboardCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateDashboardCommandInput = CreateDashboardRequest;
+export type CreateDashboardCommandOutput = CreateDashboardResponse;
+
+export class CreateDashboardCommand extends $Command<
+ CreateDashboardCommandInput,
+ CreateDashboardCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateDashboardCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateDashboardCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateDashboardCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateDashboardCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/CreateDataSetCommand.ts b/clients/client-quicksight/commands/CreateDataSetCommand.ts
new file mode 100644
index 000000000000..40dd3122c8ad
--- /dev/null
+++ b/clients/client-quicksight/commands/CreateDataSetCommand.ts
@@ -0,0 +1,81 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import { CreateDataSetRequest, CreateDataSetResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateDataSetCommand,
+ serializeAws_restJson1_1CreateDataSetCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateDataSetCommandInput = CreateDataSetRequest;
+export type CreateDataSetCommandOutput = CreateDataSetResponse;
+
+export class CreateDataSetCommand extends $Command<
+ CreateDataSetCommandInput,
+ CreateDataSetCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateDataSetCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateDataSetCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateDataSetCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateDataSetCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/CreateDataSourceCommand.ts b/clients/client-quicksight/commands/CreateDataSourceCommand.ts
new file mode 100644
index 000000000000..0972dd9a87ba
--- /dev/null
+++ b/clients/client-quicksight/commands/CreateDataSourceCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ CreateDataSourceRequest,
+ CreateDataSourceResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateDataSourceCommand,
+ serializeAws_restJson1_1CreateDataSourceCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateDataSourceCommandInput = CreateDataSourceRequest;
+export type CreateDataSourceCommandOutput = CreateDataSourceResponse;
+
+export class CreateDataSourceCommand extends $Command<
+ CreateDataSourceCommandInput,
+ CreateDataSourceCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateDataSourceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateDataSourceCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateDataSourceCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateDataSourceCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/CreateGroupCommand.ts b/clients/client-quicksight/commands/CreateGroupCommand.ts
new file mode 100644
index 000000000000..bf2b8da64e76
--- /dev/null
+++ b/clients/client-quicksight/commands/CreateGroupCommand.ts
@@ -0,0 +1,81 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import { CreateGroupRequest, CreateGroupResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateGroupCommand,
+ serializeAws_restJson1_1CreateGroupCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateGroupCommandInput = CreateGroupRequest;
+export type CreateGroupCommandOutput = CreateGroupResponse;
+
+export class CreateGroupCommand extends $Command<
+ CreateGroupCommandInput,
+ CreateGroupCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateGroupCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateGroupCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateGroupCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateGroupCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts b/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts
new file mode 100644
index 000000000000..0b1d1dbe7d2a
--- /dev/null
+++ b/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts
@@ -0,0 +1,90 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ CreateGroupMembershipRequest,
+ CreateGroupMembershipResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateGroupMembershipCommand,
+ serializeAws_restJson1_1CreateGroupMembershipCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateGroupMembershipCommandInput = CreateGroupMembershipRequest;
+export type CreateGroupMembershipCommandOutput = CreateGroupMembershipResponse;
+
+export class CreateGroupMembershipCommand extends $Command<
+ CreateGroupMembershipCommandInput,
+ CreateGroupMembershipCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateGroupMembershipCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ CreateGroupMembershipCommandInput,
+ CreateGroupMembershipCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateGroupMembershipCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateGroupMembershipCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateGroupMembershipCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts
new file mode 100644
index 000000000000..adeafb83c303
--- /dev/null
+++ b/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts
@@ -0,0 +1,93 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ CreateIAMPolicyAssignmentRequest,
+ CreateIAMPolicyAssignmentResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateIAMPolicyAssignmentCommand,
+ serializeAws_restJson1_1CreateIAMPolicyAssignmentCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateIAMPolicyAssignmentCommandInput = CreateIAMPolicyAssignmentRequest;
+export type CreateIAMPolicyAssignmentCommandOutput = CreateIAMPolicyAssignmentResponse;
+
+export class CreateIAMPolicyAssignmentCommand extends $Command<
+ CreateIAMPolicyAssignmentCommandInput,
+ CreateIAMPolicyAssignmentCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateIAMPolicyAssignmentCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ CreateIAMPolicyAssignmentCommandInput,
+ CreateIAMPolicyAssignmentCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateIAMPolicyAssignmentCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateIAMPolicyAssignmentCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateIAMPolicyAssignmentCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/CreateIngestionCommand.ts b/clients/client-quicksight/commands/CreateIngestionCommand.ts
new file mode 100644
index 000000000000..788369f93a43
--- /dev/null
+++ b/clients/client-quicksight/commands/CreateIngestionCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ CreateIngestionRequest,
+ CreateIngestionResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateIngestionCommand,
+ serializeAws_restJson1_1CreateIngestionCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateIngestionCommandInput = CreateIngestionRequest;
+export type CreateIngestionCommandOutput = CreateIngestionResponse;
+
+export class CreateIngestionCommand extends $Command<
+ CreateIngestionCommandInput,
+ CreateIngestionCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateIngestionCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateIngestionCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateIngestionCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateIngestionCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts b/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts
new file mode 100644
index 000000000000..34613775342b
--- /dev/null
+++ b/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts
@@ -0,0 +1,90 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ CreateTemplateAliasRequest,
+ CreateTemplateAliasResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateTemplateAliasCommand,
+ serializeAws_restJson1_1CreateTemplateAliasCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateTemplateAliasCommandInput = CreateTemplateAliasRequest;
+export type CreateTemplateAliasCommandOutput = CreateTemplateAliasResponse;
+
+export class CreateTemplateAliasCommand extends $Command<
+ CreateTemplateAliasCommandInput,
+ CreateTemplateAliasCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateTemplateAliasCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ CreateTemplateAliasCommandInput,
+ CreateTemplateAliasCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateTemplateAliasCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateTemplateAliasCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateTemplateAliasCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/CreateTemplateCommand.ts b/clients/client-quicksight/commands/CreateTemplateCommand.ts
new file mode 100644
index 000000000000..e9e1ee802a52
--- /dev/null
+++ b/clients/client-quicksight/commands/CreateTemplateCommand.ts
@@ -0,0 +1,81 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import { CreateTemplateRequest, CreateTemplateResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1CreateTemplateCommand,
+ serializeAws_restJson1_1CreateTemplateCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type CreateTemplateCommandInput = CreateTemplateRequest;
+export type CreateTemplateCommandOutput = CreateTemplateResponse;
+
+export class CreateTemplateCommand extends $Command<
+ CreateTemplateCommandInput,
+ CreateTemplateCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateTemplateCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: CreateTemplateCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1CreateTemplateCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1CreateTemplateCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteDashboardCommand.ts b/clients/client-quicksight/commands/DeleteDashboardCommand.ts
new file mode 100644
index 000000000000..45de9d631f05
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteDashboardCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DeleteDashboardRequest,
+ DeleteDashboardResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteDashboardCommand,
+ serializeAws_restJson1_1DeleteDashboardCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteDashboardCommandInput = DeleteDashboardRequest;
+export type DeleteDashboardCommandOutput = DeleteDashboardResponse;
+
+export class DeleteDashboardCommand extends $Command<
+ DeleteDashboardCommandInput,
+ DeleteDashboardCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteDashboardCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteDashboardCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteDashboardCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteDashboardCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteDataSetCommand.ts b/clients/client-quicksight/commands/DeleteDataSetCommand.ts
new file mode 100644
index 000000000000..1e4c2512aead
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteDataSetCommand.ts
@@ -0,0 +1,81 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import { DeleteDataSetRequest, DeleteDataSetResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteDataSetCommand,
+ serializeAws_restJson1_1DeleteDataSetCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteDataSetCommandInput = DeleteDataSetRequest;
+export type DeleteDataSetCommandOutput = DeleteDataSetResponse;
+
+export class DeleteDataSetCommand extends $Command<
+ DeleteDataSetCommandInput,
+ DeleteDataSetCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteDataSetCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteDataSetCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteDataSetCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteDataSetCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteDataSourceCommand.ts b/clients/client-quicksight/commands/DeleteDataSourceCommand.ts
new file mode 100644
index 000000000000..b8d73b20819d
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteDataSourceCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DeleteDataSourceRequest,
+ DeleteDataSourceResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteDataSourceCommand,
+ serializeAws_restJson1_1DeleteDataSourceCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteDataSourceCommandInput = DeleteDataSourceRequest;
+export type DeleteDataSourceCommandOutput = DeleteDataSourceResponse;
+
+export class DeleteDataSourceCommand extends $Command<
+ DeleteDataSourceCommandInput,
+ DeleteDataSourceCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteDataSourceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteDataSourceCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteDataSourceCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteDataSourceCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteGroupCommand.ts b/clients/client-quicksight/commands/DeleteGroupCommand.ts
new file mode 100644
index 000000000000..e4b1b3c5bd65
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteGroupCommand.ts
@@ -0,0 +1,81 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import { DeleteGroupRequest, DeleteGroupResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteGroupCommand,
+ serializeAws_restJson1_1DeleteGroupCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteGroupCommandInput = DeleteGroupRequest;
+export type DeleteGroupCommandOutput = DeleteGroupResponse;
+
+export class DeleteGroupCommand extends $Command<
+ DeleteGroupCommandInput,
+ DeleteGroupCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteGroupCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteGroupCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteGroupCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteGroupCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts b/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts
new file mode 100644
index 000000000000..188ea1df433d
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts
@@ -0,0 +1,90 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DeleteGroupMembershipRequest,
+ DeleteGroupMembershipResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteGroupMembershipCommand,
+ serializeAws_restJson1_1DeleteGroupMembershipCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteGroupMembershipCommandInput = DeleteGroupMembershipRequest;
+export type DeleteGroupMembershipCommandOutput = DeleteGroupMembershipResponse;
+
+export class DeleteGroupMembershipCommand extends $Command<
+ DeleteGroupMembershipCommandInput,
+ DeleteGroupMembershipCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteGroupMembershipCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DeleteGroupMembershipCommandInput,
+ DeleteGroupMembershipCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteGroupMembershipCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteGroupMembershipCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteGroupMembershipCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts
new file mode 100644
index 000000000000..825b53271f05
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts
@@ -0,0 +1,93 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DeleteIAMPolicyAssignmentRequest,
+ DeleteIAMPolicyAssignmentResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteIAMPolicyAssignmentCommand,
+ serializeAws_restJson1_1DeleteIAMPolicyAssignmentCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteIAMPolicyAssignmentCommandInput = DeleteIAMPolicyAssignmentRequest;
+export type DeleteIAMPolicyAssignmentCommandOutput = DeleteIAMPolicyAssignmentResponse;
+
+export class DeleteIAMPolicyAssignmentCommand extends $Command<
+ DeleteIAMPolicyAssignmentCommandInput,
+ DeleteIAMPolicyAssignmentCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteIAMPolicyAssignmentCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DeleteIAMPolicyAssignmentCommandInput,
+ DeleteIAMPolicyAssignmentCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteIAMPolicyAssignmentCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteIAMPolicyAssignmentCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteIAMPolicyAssignmentCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts b/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts
new file mode 100644
index 000000000000..4bd83b99f9fb
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts
@@ -0,0 +1,90 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DeleteTemplateAliasRequest,
+ DeleteTemplateAliasResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteTemplateAliasCommand,
+ serializeAws_restJson1_1DeleteTemplateAliasCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteTemplateAliasCommandInput = DeleteTemplateAliasRequest;
+export type DeleteTemplateAliasCommandOutput = DeleteTemplateAliasResponse;
+
+export class DeleteTemplateAliasCommand extends $Command<
+ DeleteTemplateAliasCommandInput,
+ DeleteTemplateAliasCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteTemplateAliasCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DeleteTemplateAliasCommandInput,
+ DeleteTemplateAliasCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteTemplateAliasCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteTemplateAliasCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteTemplateAliasCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteTemplateCommand.ts b/clients/client-quicksight/commands/DeleteTemplateCommand.ts
new file mode 100644
index 000000000000..8d2941da4f2a
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteTemplateCommand.ts
@@ -0,0 +1,81 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import { DeleteTemplateRequest, DeleteTemplateResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteTemplateCommand,
+ serializeAws_restJson1_1DeleteTemplateCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteTemplateCommandInput = DeleteTemplateRequest;
+export type DeleteTemplateCommandOutput = DeleteTemplateResponse;
+
+export class DeleteTemplateCommand extends $Command<
+ DeleteTemplateCommandInput,
+ DeleteTemplateCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteTemplateCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteTemplateCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteTemplateCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteTemplateCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts b/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts
new file mode 100644
index 000000000000..d32515301398
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts
@@ -0,0 +1,93 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DeleteUserByPrincipalIdRequest,
+ DeleteUserByPrincipalIdResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteUserByPrincipalIdCommand,
+ serializeAws_restJson1_1DeleteUserByPrincipalIdCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteUserByPrincipalIdCommandInput = DeleteUserByPrincipalIdRequest;
+export type DeleteUserByPrincipalIdCommandOutput = DeleteUserByPrincipalIdResponse;
+
+export class DeleteUserByPrincipalIdCommand extends $Command<
+ DeleteUserByPrincipalIdCommandInput,
+ DeleteUserByPrincipalIdCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteUserByPrincipalIdCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DeleteUserByPrincipalIdCommandInput,
+ DeleteUserByPrincipalIdCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteUserByPrincipalIdCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteUserByPrincipalIdCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteUserByPrincipalIdCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DeleteUserCommand.ts b/clients/client-quicksight/commands/DeleteUserCommand.ts
new file mode 100644
index 000000000000..c17469956ffa
--- /dev/null
+++ b/clients/client-quicksight/commands/DeleteUserCommand.ts
@@ -0,0 +1,81 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import { DeleteUserRequest, DeleteUserResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1DeleteUserCommand,
+ serializeAws_restJson1_1DeleteUserCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DeleteUserCommandInput = DeleteUserRequest;
+export type DeleteUserCommandOutput = DeleteUserResponse;
+
+export class DeleteUserCommand extends $Command<
+ DeleteUserCommandInput,
+ DeleteUserCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteUserCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeleteUserCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DeleteUserCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DeleteUserCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeDashboardCommand.ts b/clients/client-quicksight/commands/DescribeDashboardCommand.ts
new file mode 100644
index 000000000000..3701ef2b797b
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeDashboardCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeDashboardRequest,
+ DescribeDashboardResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeDashboardCommand,
+ serializeAws_restJson1_1DescribeDashboardCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeDashboardCommandInput = DescribeDashboardRequest;
+export type DescribeDashboardCommandOutput = DescribeDashboardResponse;
+
+export class DescribeDashboardCommand extends $Command<
+ DescribeDashboardCommandInput,
+ DescribeDashboardCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeDashboardCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeDashboardCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeDashboardCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeDashboardCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts b/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts
new file mode 100644
index 000000000000..03e79f3b5ce1
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeDashboardPermissionsRequest,
+ DescribeDashboardPermissionsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeDashboardPermissionsCommand,
+ serializeAws_restJson1_1DescribeDashboardPermissionsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeDashboardPermissionsCommandInput = DescribeDashboardPermissionsRequest;
+export type DescribeDashboardPermissionsCommandOutput = DescribeDashboardPermissionsResponse;
+
+export class DescribeDashboardPermissionsCommand extends $Command<
+ DescribeDashboardPermissionsCommandInput,
+ DescribeDashboardPermissionsCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeDashboardPermissionsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DescribeDashboardPermissionsCommandInput,
+ DescribeDashboardPermissionsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeDashboardPermissionsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeDashboardPermissionsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeDashboardPermissionsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeDataSetCommand.ts b/clients/client-quicksight/commands/DescribeDataSetCommand.ts
new file mode 100644
index 000000000000..f01abf55a2f6
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeDataSetCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeDataSetRequest,
+ DescribeDataSetResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeDataSetCommand,
+ serializeAws_restJson1_1DescribeDataSetCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeDataSetCommandInput = DescribeDataSetRequest;
+export type DescribeDataSetCommandOutput = DescribeDataSetResponse;
+
+export class DescribeDataSetCommand extends $Command<
+ DescribeDataSetCommandInput,
+ DescribeDataSetCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeDataSetCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeDataSetCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeDataSetCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeDataSetCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts b/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts
new file mode 100644
index 000000000000..1d0760d7e060
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeDataSetPermissionsRequest,
+ DescribeDataSetPermissionsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeDataSetPermissionsCommand,
+ serializeAws_restJson1_1DescribeDataSetPermissionsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeDataSetPermissionsCommandInput = DescribeDataSetPermissionsRequest;
+export type DescribeDataSetPermissionsCommandOutput = DescribeDataSetPermissionsResponse;
+
+export class DescribeDataSetPermissionsCommand extends $Command<
+ DescribeDataSetPermissionsCommandInput,
+ DescribeDataSetPermissionsCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeDataSetPermissionsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DescribeDataSetPermissionsCommandInput,
+ DescribeDataSetPermissionsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeDataSetPermissionsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeDataSetPermissionsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeDataSetPermissionsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeDataSourceCommand.ts b/clients/client-quicksight/commands/DescribeDataSourceCommand.ts
new file mode 100644
index 000000000000..649e76b435f5
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeDataSourceCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeDataSourceRequest,
+ DescribeDataSourceResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeDataSourceCommand,
+ serializeAws_restJson1_1DescribeDataSourceCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeDataSourceCommandInput = DescribeDataSourceRequest;
+export type DescribeDataSourceCommandOutput = DescribeDataSourceResponse;
+
+export class DescribeDataSourceCommand extends $Command<
+ DescribeDataSourceCommandInput,
+ DescribeDataSourceCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeDataSourceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeDataSourceCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeDataSourceCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeDataSourceCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts b/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts
new file mode 100644
index 000000000000..6b55c28a599b
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeDataSourcePermissionsRequest,
+ DescribeDataSourcePermissionsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeDataSourcePermissionsCommand,
+ serializeAws_restJson1_1DescribeDataSourcePermissionsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeDataSourcePermissionsCommandInput = DescribeDataSourcePermissionsRequest;
+export type DescribeDataSourcePermissionsCommandOutput = DescribeDataSourcePermissionsResponse;
+
+export class DescribeDataSourcePermissionsCommand extends $Command<
+ DescribeDataSourcePermissionsCommandInput,
+ DescribeDataSourcePermissionsCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeDataSourcePermissionsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DescribeDataSourcePermissionsCommandInput,
+ DescribeDataSourcePermissionsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeDataSourcePermissionsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeDataSourcePermissionsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeDataSourcePermissionsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeGroupCommand.ts b/clients/client-quicksight/commands/DescribeGroupCommand.ts
new file mode 100644
index 000000000000..c164d8db00e2
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeGroupCommand.ts
@@ -0,0 +1,81 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import { DescribeGroupRequest, DescribeGroupResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeGroupCommand,
+ serializeAws_restJson1_1DescribeGroupCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeGroupCommandInput = DescribeGroupRequest;
+export type DescribeGroupCommandOutput = DescribeGroupResponse;
+
+export class DescribeGroupCommand extends $Command<
+ DescribeGroupCommandInput,
+ DescribeGroupCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeGroupCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeGroupCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeGroupCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeGroupCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts
new file mode 100644
index 000000000000..e9137d2f8cbd
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts
@@ -0,0 +1,93 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeIAMPolicyAssignmentRequest,
+ DescribeIAMPolicyAssignmentResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeIAMPolicyAssignmentCommand,
+ serializeAws_restJson1_1DescribeIAMPolicyAssignmentCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeIAMPolicyAssignmentCommandInput = DescribeIAMPolicyAssignmentRequest;
+export type DescribeIAMPolicyAssignmentCommandOutput = DescribeIAMPolicyAssignmentResponse;
+
+export class DescribeIAMPolicyAssignmentCommand extends $Command<
+ DescribeIAMPolicyAssignmentCommandInput,
+ DescribeIAMPolicyAssignmentCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeIAMPolicyAssignmentCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DescribeIAMPolicyAssignmentCommandInput,
+ DescribeIAMPolicyAssignmentCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeIAMPolicyAssignmentCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeIAMPolicyAssignmentCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeIAMPolicyAssignmentCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeIngestionCommand.ts b/clients/client-quicksight/commands/DescribeIngestionCommand.ts
new file mode 100644
index 000000000000..0799ea695f86
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeIngestionCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeIngestionRequest,
+ DescribeIngestionResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeIngestionCommand,
+ serializeAws_restJson1_1DescribeIngestionCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeIngestionCommandInput = DescribeIngestionRequest;
+export type DescribeIngestionCommandOutput = DescribeIngestionResponse;
+
+export class DescribeIngestionCommand extends $Command<
+ DescribeIngestionCommandInput,
+ DescribeIngestionCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeIngestionCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeIngestionCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeIngestionCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeIngestionCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts b/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts
new file mode 100644
index 000000000000..6956f3ac01a1
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts
@@ -0,0 +1,90 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeTemplateAliasRequest,
+ DescribeTemplateAliasResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeTemplateAliasCommand,
+ serializeAws_restJson1_1DescribeTemplateAliasCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeTemplateAliasCommandInput = DescribeTemplateAliasRequest;
+export type DescribeTemplateAliasCommandOutput = DescribeTemplateAliasResponse;
+
+export class DescribeTemplateAliasCommand extends $Command<
+ DescribeTemplateAliasCommandInput,
+ DescribeTemplateAliasCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeTemplateAliasCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DescribeTemplateAliasCommandInput,
+ DescribeTemplateAliasCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeTemplateAliasCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeTemplateAliasCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeTemplateAliasCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeTemplateCommand.ts b/clients/client-quicksight/commands/DescribeTemplateCommand.ts
new file mode 100644
index 000000000000..38f8295fd161
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeTemplateCommand.ts
@@ -0,0 +1,84 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeTemplateRequest,
+ DescribeTemplateResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeTemplateCommand,
+ serializeAws_restJson1_1DescribeTemplateCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeTemplateCommandInput = DescribeTemplateRequest;
+export type DescribeTemplateCommandOutput = DescribeTemplateResponse;
+
+export class DescribeTemplateCommand extends $Command<
+ DescribeTemplateCommandInput,
+ DescribeTemplateCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeTemplateCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeTemplateCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeTemplateCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeTemplateCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts b/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts
new file mode 100644
index 000000000000..5b8ee97e770c
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts
@@ -0,0 +1,93 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ DescribeTemplatePermissionsRequest,
+ DescribeTemplatePermissionsResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeTemplatePermissionsCommand,
+ serializeAws_restJson1_1DescribeTemplatePermissionsCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeTemplatePermissionsCommandInput = DescribeTemplatePermissionsRequest;
+export type DescribeTemplatePermissionsCommandOutput = DescribeTemplatePermissionsResponse;
+
+export class DescribeTemplatePermissionsCommand extends $Command<
+ DescribeTemplatePermissionsCommandInput,
+ DescribeTemplatePermissionsCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeTemplatePermissionsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DescribeTemplatePermissionsCommandInput,
+ DescribeTemplatePermissionsCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeTemplatePermissionsCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeTemplatePermissionsCommand(
+ input,
+ context
+ );
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeTemplatePermissionsCommand(
+ output,
+ context
+ );
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/DescribeUserCommand.ts b/clients/client-quicksight/commands/DescribeUserCommand.ts
new file mode 100644
index 000000000000..47a5ce142f13
--- /dev/null
+++ b/clients/client-quicksight/commands/DescribeUserCommand.ts
@@ -0,0 +1,81 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import { DescribeUserRequest, DescribeUserResponse } from "../models/index";
+import {
+ deserializeAws_restJson1_1DescribeUserCommand,
+ serializeAws_restJson1_1DescribeUserCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type DescribeUserCommandInput = DescribeUserRequest;
+export type DescribeUserCommandOutput = DescribeUserResponse;
+
+export class DescribeUserCommand extends $Command<
+ DescribeUserCommandInput,
+ DescribeUserCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DescribeUserCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DescribeUserCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1DescribeUserCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1_1DescribeUserCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts b/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts
new file mode 100644
index 000000000000..6b042c39e6b1
--- /dev/null
+++ b/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts
@@ -0,0 +1,90 @@
+import {
+ QuickSightClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+} from "../QuickSightClient";
+import {
+ GetDashboardEmbedUrlRequest,
+ GetDashboardEmbedUrlResponse
+} from "../models/index";
+import {
+ deserializeAws_restJson1_1GetDashboardEmbedUrlCommand,
+ serializeAws_restJson1_1GetDashboardEmbedUrlCommand
+} from "../protocols/Aws_restJson1_1";
+import { getSerdePlugin } from "@aws-sdk/middleware-serde";
+import {
+ HttpRequest as __HttpRequest,
+ HttpResponse as __HttpResponse
+} from "@aws-sdk/protocol-http";
+import { Command as $Command } from "@aws-sdk/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ MiddlewareStack,
+ SerdeContext,
+ HttpHandlerOptions as __HttpHandlerOptions
+} from "@aws-sdk/types";
+
+export type GetDashboardEmbedUrlCommandInput = GetDashboardEmbedUrlRequest;
+export type GetDashboardEmbedUrlCommandOutput = GetDashboardEmbedUrlResponse;
+
+export class GetDashboardEmbedUrlCommand extends $Command<
+ GetDashboardEmbedUrlCommandInput,
+ GetDashboardEmbedUrlCommandOutput,
+ QuickSightClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetDashboardEmbedUrlCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: QuickSightClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ GetDashboardEmbedUrlCommandInput,
+ GetDashboardEmbedUrlCommandOutput
+ > {
+ this.middlewareStack.use(
+ getSerdePlugin(configuration, this.serialize, this.deserialize)
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger: {} as any
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetDashboardEmbedUrlCommandInput,
+ context: SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1_1GetDashboardEmbedUrlCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: SerdeContext
+ ): Promise