@aws-sdk/client-quicksight 3.187.0 → 3.190.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/QuickSight.js +482 -489
  3. package/dist-es/QuickSightClient.js +22 -28
  4. package/dist-es/commands/CancelIngestionCommand.js +21 -28
  5. package/dist-es/commands/CreateAccountCustomizationCommand.js +21 -28
  6. package/dist-es/commands/CreateAccountSubscriptionCommand.js +21 -28
  7. package/dist-es/commands/CreateAnalysisCommand.js +21 -28
  8. package/dist-es/commands/CreateDashboardCommand.js +21 -28
  9. package/dist-es/commands/CreateDataSetCommand.js +21 -28
  10. package/dist-es/commands/CreateDataSourceCommand.js +21 -28
  11. package/dist-es/commands/CreateFolderCommand.js +21 -28
  12. package/dist-es/commands/CreateFolderMembershipCommand.js +21 -28
  13. package/dist-es/commands/CreateGroupCommand.js +21 -28
  14. package/dist-es/commands/CreateGroupMembershipCommand.js +21 -28
  15. package/dist-es/commands/CreateIAMPolicyAssignmentCommand.js +21 -28
  16. package/dist-es/commands/CreateIngestionCommand.js +21 -28
  17. package/dist-es/commands/CreateNamespaceCommand.js +21 -28
  18. package/dist-es/commands/CreateTemplateAliasCommand.js +21 -28
  19. package/dist-es/commands/CreateTemplateCommand.js +21 -28
  20. package/dist-es/commands/CreateThemeAliasCommand.js +21 -28
  21. package/dist-es/commands/CreateThemeCommand.js +21 -28
  22. package/dist-es/commands/DeleteAccountCustomizationCommand.js +21 -28
  23. package/dist-es/commands/DeleteAnalysisCommand.js +21 -28
  24. package/dist-es/commands/DeleteDashboardCommand.js +21 -28
  25. package/dist-es/commands/DeleteDataSetCommand.js +21 -28
  26. package/dist-es/commands/DeleteDataSourceCommand.js +21 -28
  27. package/dist-es/commands/DeleteFolderCommand.js +21 -28
  28. package/dist-es/commands/DeleteFolderMembershipCommand.js +21 -28
  29. package/dist-es/commands/DeleteGroupCommand.js +21 -28
  30. package/dist-es/commands/DeleteGroupMembershipCommand.js +21 -28
  31. package/dist-es/commands/DeleteIAMPolicyAssignmentCommand.js +21 -28
  32. package/dist-es/commands/DeleteNamespaceCommand.js +21 -28
  33. package/dist-es/commands/DeleteTemplateAliasCommand.js +21 -28
  34. package/dist-es/commands/DeleteTemplateCommand.js +21 -28
  35. package/dist-es/commands/DeleteThemeAliasCommand.js +21 -28
  36. package/dist-es/commands/DeleteThemeCommand.js +21 -28
  37. package/dist-es/commands/DeleteUserByPrincipalIdCommand.js +21 -28
  38. package/dist-es/commands/DeleteUserCommand.js +21 -28
  39. package/dist-es/commands/DescribeAccountCustomizationCommand.js +21 -28
  40. package/dist-es/commands/DescribeAccountSettingsCommand.js +21 -28
  41. package/dist-es/commands/DescribeAccountSubscriptionCommand.js +21 -28
  42. package/dist-es/commands/DescribeAnalysisCommand.js +21 -28
  43. package/dist-es/commands/DescribeAnalysisPermissionsCommand.js +21 -28
  44. package/dist-es/commands/DescribeDashboardCommand.js +21 -28
  45. package/dist-es/commands/DescribeDashboardPermissionsCommand.js +21 -28
  46. package/dist-es/commands/DescribeDataSetCommand.js +21 -28
  47. package/dist-es/commands/DescribeDataSetPermissionsCommand.js +21 -28
  48. package/dist-es/commands/DescribeDataSourceCommand.js +21 -28
  49. package/dist-es/commands/DescribeDataSourcePermissionsCommand.js +21 -28
  50. package/dist-es/commands/DescribeFolderCommand.js +21 -28
  51. package/dist-es/commands/DescribeFolderPermissionsCommand.js +21 -28
  52. package/dist-es/commands/DescribeFolderResolvedPermissionsCommand.js +21 -28
  53. package/dist-es/commands/DescribeGroupCommand.js +21 -28
  54. package/dist-es/commands/DescribeGroupMembershipCommand.js +21 -28
  55. package/dist-es/commands/DescribeIAMPolicyAssignmentCommand.js +21 -28
  56. package/dist-es/commands/DescribeIngestionCommand.js +21 -28
  57. package/dist-es/commands/DescribeIpRestrictionCommand.js +21 -28
  58. package/dist-es/commands/DescribeNamespaceCommand.js +21 -28
  59. package/dist-es/commands/DescribeTemplateAliasCommand.js +21 -28
  60. package/dist-es/commands/DescribeTemplateCommand.js +21 -28
  61. package/dist-es/commands/DescribeTemplatePermissionsCommand.js +21 -28
  62. package/dist-es/commands/DescribeThemeAliasCommand.js +21 -28
  63. package/dist-es/commands/DescribeThemeCommand.js +21 -28
  64. package/dist-es/commands/DescribeThemePermissionsCommand.js +21 -28
  65. package/dist-es/commands/DescribeUserCommand.js +21 -28
  66. package/dist-es/commands/GenerateEmbedUrlForAnonymousUserCommand.js +21 -28
  67. package/dist-es/commands/GenerateEmbedUrlForRegisteredUserCommand.js +21 -28
  68. package/dist-es/commands/GetDashboardEmbedUrlCommand.js +21 -28
  69. package/dist-es/commands/GetSessionEmbedUrlCommand.js +21 -28
  70. package/dist-es/commands/ListAnalysesCommand.js +21 -28
  71. package/dist-es/commands/ListDashboardVersionsCommand.js +21 -28
  72. package/dist-es/commands/ListDashboardsCommand.js +21 -28
  73. package/dist-es/commands/ListDataSetsCommand.js +21 -28
  74. package/dist-es/commands/ListDataSourcesCommand.js +21 -28
  75. package/dist-es/commands/ListFolderMembersCommand.js +21 -28
  76. package/dist-es/commands/ListFoldersCommand.js +21 -28
  77. package/dist-es/commands/ListGroupMembershipsCommand.js +21 -28
  78. package/dist-es/commands/ListGroupsCommand.js +21 -28
  79. package/dist-es/commands/ListIAMPolicyAssignmentsCommand.js +21 -28
  80. package/dist-es/commands/ListIAMPolicyAssignmentsForUserCommand.js +21 -28
  81. package/dist-es/commands/ListIngestionsCommand.js +21 -28
  82. package/dist-es/commands/ListNamespacesCommand.js +21 -28
  83. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  84. package/dist-es/commands/ListTemplateAliasesCommand.js +21 -28
  85. package/dist-es/commands/ListTemplateVersionsCommand.js +21 -28
  86. package/dist-es/commands/ListTemplatesCommand.js +21 -28
  87. package/dist-es/commands/ListThemeAliasesCommand.js +21 -28
  88. package/dist-es/commands/ListThemeVersionsCommand.js +21 -28
  89. package/dist-es/commands/ListThemesCommand.js +21 -28
  90. package/dist-es/commands/ListUserGroupsCommand.js +21 -28
  91. package/dist-es/commands/ListUsersCommand.js +21 -28
  92. package/dist-es/commands/RegisterUserCommand.js +21 -28
  93. package/dist-es/commands/RestoreAnalysisCommand.js +21 -28
  94. package/dist-es/commands/SearchAnalysesCommand.js +21 -28
  95. package/dist-es/commands/SearchDashboardsCommand.js +21 -28
  96. package/dist-es/commands/SearchFoldersCommand.js +21 -28
  97. package/dist-es/commands/SearchGroupsCommand.js +21 -28
  98. package/dist-es/commands/TagResourceCommand.js +21 -28
  99. package/dist-es/commands/UntagResourceCommand.js +21 -28
  100. package/dist-es/commands/UpdateAccountCustomizationCommand.js +21 -28
  101. package/dist-es/commands/UpdateAccountSettingsCommand.js +21 -28
  102. package/dist-es/commands/UpdateAnalysisCommand.js +21 -28
  103. package/dist-es/commands/UpdateAnalysisPermissionsCommand.js +21 -28
  104. package/dist-es/commands/UpdateDashboardCommand.js +21 -28
  105. package/dist-es/commands/UpdateDashboardPermissionsCommand.js +21 -28
  106. package/dist-es/commands/UpdateDashboardPublishedVersionCommand.js +21 -28
  107. package/dist-es/commands/UpdateDataSetCommand.js +21 -28
  108. package/dist-es/commands/UpdateDataSetPermissionsCommand.js +21 -28
  109. package/dist-es/commands/UpdateDataSourceCommand.js +21 -28
  110. package/dist-es/commands/UpdateDataSourcePermissionsCommand.js +21 -28
  111. package/dist-es/commands/UpdateFolderCommand.js +21 -28
  112. package/dist-es/commands/UpdateFolderPermissionsCommand.js +21 -28
  113. package/dist-es/commands/UpdateGroupCommand.js +21 -28
  114. package/dist-es/commands/UpdateIAMPolicyAssignmentCommand.js +21 -28
  115. package/dist-es/commands/UpdateIpRestrictionCommand.js +21 -28
  116. package/dist-es/commands/UpdatePublicSharingSettingsCommand.js +21 -28
  117. package/dist-es/commands/UpdateTemplateAliasCommand.js +21 -28
  118. package/dist-es/commands/UpdateTemplateCommand.js +21 -28
  119. package/dist-es/commands/UpdateTemplatePermissionsCommand.js +21 -28
  120. package/dist-es/commands/UpdateThemeAliasCommand.js +21 -28
  121. package/dist-es/commands/UpdateThemeCommand.js +21 -28
  122. package/dist-es/commands/UpdateThemePermissionsCommand.js +21 -28
  123. package/dist-es/commands/UpdateUserCommand.js +21 -28
  124. package/dist-es/endpoints.js +8 -8
  125. package/dist-es/models/QuickSightServiceException.js +5 -10
  126. package/dist-es/models/models_0.js +969 -472
  127. package/dist-es/models/models_1.js +517 -224
  128. package/dist-es/pagination/ListAnalysesPaginator.js +25 -68
  129. package/dist-es/pagination/ListDashboardVersionsPaginator.js +25 -68
  130. package/dist-es/pagination/ListDashboardsPaginator.js +25 -68
  131. package/dist-es/pagination/ListDataSetsPaginator.js +25 -68
  132. package/dist-es/pagination/ListDataSourcesPaginator.js +25 -68
  133. package/dist-es/pagination/ListIngestionsPaginator.js +25 -68
  134. package/dist-es/pagination/ListNamespacesPaginator.js +25 -68
  135. package/dist-es/pagination/ListTemplateAliasesPaginator.js +25 -68
  136. package/dist-es/pagination/ListTemplateVersionsPaginator.js +25 -68
  137. package/dist-es/pagination/ListTemplatesPaginator.js +25 -68
  138. package/dist-es/pagination/ListThemeVersionsPaginator.js +25 -68
  139. package/dist-es/pagination/ListThemesPaginator.js +25 -68
  140. package/dist-es/pagination/SearchAnalysesPaginator.js +25 -68
  141. package/dist-es/pagination/SearchDashboardsPaginator.js +25 -68
  142. package/dist-es/protocols/Aws_restJson1.js +11129 -14750
  143. package/dist-es/runtimeConfig.browser.js +26 -12
  144. package/dist-es/runtimeConfig.js +30 -12
  145. package/dist-es/runtimeConfig.native.js +8 -5
  146. package/dist-es/runtimeConfig.shared.js +8 -11
  147. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateAnalysisPermissionsRequestFilterSensitiveLog, UpdateAnalysisPermissionsResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateAnalysisPermissionsCommand, serializeAws_restJson1UpdateAnalysisPermissionsCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateAnalysisPermissionsCommand = (function (_super) {
7
- __extends(UpdateAnalysisPermissionsCommand, _super);
8
- function UpdateAnalysisPermissionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateAnalysisPermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateAnalysisPermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateAnalysisPermissionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateAnalysisPermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateAnalysisPermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateAnalysisPermissionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateAnalysisPermissionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateAnalysisPermissionsCommand(input, context);
33
- };
34
- UpdateAnalysisPermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateAnalysisPermissionsCommand(output, context);
36
- };
37
- return UpdateAnalysisPermissionsCommand;
38
- }($Command));
39
- export { UpdateAnalysisPermissionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDashboardRequestFilterSensitiveLog, UpdateDashboardResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateDashboardCommand, serializeAws_restJson1UpdateDashboardCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDashboardCommand = (function (_super) {
7
- __extends(UpdateDashboardCommand, _super);
8
- function UpdateDashboardCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDashboardCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDashboardCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateDashboardCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateDashboardCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDashboardRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDashboardResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDashboardCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDashboardCommand(input, context);
33
- };
34
- UpdateDashboardCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDashboardCommand(output, context);
36
- };
37
- return UpdateDashboardCommand;
38
- }($Command));
39
- export { UpdateDashboardCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDashboardPermissionsRequestFilterSensitiveLog, UpdateDashboardPermissionsResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateDashboardPermissionsCommand, serializeAws_restJson1UpdateDashboardPermissionsCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDashboardPermissionsCommand = (function (_super) {
7
- __extends(UpdateDashboardPermissionsCommand, _super);
8
- function UpdateDashboardPermissionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDashboardPermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDashboardPermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateDashboardPermissionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateDashboardPermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDashboardPermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDashboardPermissionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDashboardPermissionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDashboardPermissionsCommand(input, context);
33
- };
34
- UpdateDashboardPermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDashboardPermissionsCommand(output, context);
36
- };
37
- return UpdateDashboardPermissionsCommand;
38
- }($Command));
39
- export { UpdateDashboardPermissionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDashboardPublishedVersionRequestFilterSensitiveLog, UpdateDashboardPublishedVersionResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateDashboardPublishedVersionCommand, serializeAws_restJson1UpdateDashboardPublishedVersionCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDashboardPublishedVersionCommand = (function (_super) {
7
- __extends(UpdateDashboardPublishedVersionCommand, _super);
8
- function UpdateDashboardPublishedVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDashboardPublishedVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDashboardPublishedVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateDashboardPublishedVersionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateDashboardPublishedVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDashboardPublishedVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDashboardPublishedVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDashboardPublishedVersionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDashboardPublishedVersionCommand(input, context);
33
- };
34
- UpdateDashboardPublishedVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDashboardPublishedVersionCommand(output, context);
36
- };
37
- return UpdateDashboardPublishedVersionCommand;
38
- }($Command));
39
- export { UpdateDashboardPublishedVersionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDataSetRequestFilterSensitiveLog, UpdateDataSetResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateDataSetCommand, serializeAws_restJson1UpdateDataSetCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDataSetCommand = (function (_super) {
7
- __extends(UpdateDataSetCommand, _super);
8
- function UpdateDataSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDataSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDataSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateDataSetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateDataSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDataSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDataSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDataSetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDataSetCommand(input, context);
33
- };
34
- UpdateDataSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDataSetCommand(output, context);
36
- };
37
- return UpdateDataSetCommand;
38
- }($Command));
39
- export { UpdateDataSetCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDataSetPermissionsRequestFilterSensitiveLog, UpdateDataSetPermissionsResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateDataSetPermissionsCommand, serializeAws_restJson1UpdateDataSetPermissionsCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDataSetPermissionsCommand = (function (_super) {
7
- __extends(UpdateDataSetPermissionsCommand, _super);
8
- function UpdateDataSetPermissionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDataSetPermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDataSetPermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateDataSetPermissionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateDataSetPermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDataSetPermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDataSetPermissionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDataSetPermissionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDataSetPermissionsCommand(input, context);
33
- };
34
- UpdateDataSetPermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDataSetPermissionsCommand(output, context);
36
- };
37
- return UpdateDataSetPermissionsCommand;
38
- }($Command));
39
- export { UpdateDataSetPermissionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDataSourceRequestFilterSensitiveLog, UpdateDataSourceResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateDataSourceCommand, serializeAws_restJson1UpdateDataSourceCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDataSourceCommand = (function (_super) {
7
- __extends(UpdateDataSourceCommand, _super);
8
- function UpdateDataSourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDataSourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDataSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateDataSourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateDataSourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDataSourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDataSourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDataSourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDataSourceCommand(input, context);
33
- };
34
- UpdateDataSourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDataSourceCommand(output, context);
36
- };
37
- return UpdateDataSourceCommand;
38
- }($Command));
39
- export { UpdateDataSourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDataSourcePermissionsRequestFilterSensitiveLog, UpdateDataSourcePermissionsResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateDataSourcePermissionsCommand, serializeAws_restJson1UpdateDataSourcePermissionsCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDataSourcePermissionsCommand = (function (_super) {
7
- __extends(UpdateDataSourcePermissionsCommand, _super);
8
- function UpdateDataSourcePermissionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDataSourcePermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDataSourcePermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateDataSourcePermissionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateDataSourcePermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDataSourcePermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDataSourcePermissionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDataSourcePermissionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDataSourcePermissionsCommand(input, context);
33
- };
34
- UpdateDataSourcePermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDataSourcePermissionsCommand(output, context);
36
- };
37
- return UpdateDataSourcePermissionsCommand;
38
- }($Command));
39
- export { UpdateDataSourcePermissionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateFolderRequestFilterSensitiveLog, UpdateFolderResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateFolderCommand, serializeAws_restJson1UpdateFolderCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateFolderCommand = (function (_super) {
7
- __extends(UpdateFolderCommand, _super);
8
- function UpdateFolderCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateFolderCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateFolderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateFolderCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateFolderCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateFolderRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateFolderResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateFolderCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateFolderCommand(input, context);
33
- };
34
- UpdateFolderCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateFolderCommand(output, context);
36
- };
37
- return UpdateFolderCommand;
38
- }($Command));
39
- export { UpdateFolderCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateFolderPermissionsRequestFilterSensitiveLog, UpdateFolderPermissionsResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateFolderPermissionsCommand, serializeAws_restJson1UpdateFolderPermissionsCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateFolderPermissionsCommand = (function (_super) {
7
- __extends(UpdateFolderPermissionsCommand, _super);
8
- function UpdateFolderPermissionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateFolderPermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateFolderPermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "QuickSightClient";
18
- var commandName = "UpdateFolderPermissionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "QuickSightClient";
15
+ const commandName = "UpdateFolderPermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateFolderPermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateFolderPermissionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateFolderPermissionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateFolderPermissionsCommand(input, context);
33
- };
34
- UpdateFolderPermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateFolderPermissionsCommand(output, context);
36
- };
37
- return UpdateFolderPermissionsCommand;
38
- }($Command));
39
- export { UpdateFolderPermissionsCommand };
31
+ }
32
+ }