@aws-sdk/client-quicksight 3.181.0 → 3.183.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 +8 -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 +11128 -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,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var QuickSightClient = (function (_super) {
13
- __extends(QuickSightClient, _super);
14
- function QuickSightClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class QuickSightClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- QuickSightClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return QuickSightClient;
38
- }(__Client));
39
- export { QuickSightClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { CancelIngestionRequestFilterSensitiveLog, CancelIngestionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CancelIngestionCommand, serializeAws_restJson1CancelIngestionCommand, } from "../protocols/Aws_restJson1";
6
- var CancelIngestionCommand = (function (_super) {
7
- __extends(CancelIngestionCommand, _super);
8
- function CancelIngestionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelIngestionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelIngestionCommand.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 = "CancelIngestionCommand";
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 = "CancelIngestionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelIngestionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelIngestionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelIngestionCommand.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_restJson1CancelIngestionCommand(input, context);
33
- };
34
- CancelIngestionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CancelIngestionCommand(output, context);
36
- };
37
- return CancelIngestionCommand;
38
- }($Command));
39
- export { CancelIngestionCommand };
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 { CreateAccountCustomizationRequestFilterSensitiveLog, CreateAccountCustomizationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateAccountCustomizationCommand, serializeAws_restJson1CreateAccountCustomizationCommand, } from "../protocols/Aws_restJson1";
6
- var CreateAccountCustomizationCommand = (function (_super) {
7
- __extends(CreateAccountCustomizationCommand, _super);
8
- function CreateAccountCustomizationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateAccountCustomizationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateAccountCustomizationCommand.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 = "CreateAccountCustomizationCommand";
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 = "CreateAccountCustomizationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateAccountCustomizationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateAccountCustomizationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateAccountCustomizationCommand.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_restJson1CreateAccountCustomizationCommand(input, context);
33
- };
34
- CreateAccountCustomizationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateAccountCustomizationCommand(output, context);
36
- };
37
- return CreateAccountCustomizationCommand;
38
- }($Command));
39
- export { CreateAccountCustomizationCommand };
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 { CreateAccountSubscriptionRequestFilterSensitiveLog, CreateAccountSubscriptionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateAccountSubscriptionCommand, serializeAws_restJson1CreateAccountSubscriptionCommand, } from "../protocols/Aws_restJson1";
6
- var CreateAccountSubscriptionCommand = (function (_super) {
7
- __extends(CreateAccountSubscriptionCommand, _super);
8
- function CreateAccountSubscriptionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateAccountSubscriptionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateAccountSubscriptionCommand.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 = "CreateAccountSubscriptionCommand";
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 = "CreateAccountSubscriptionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateAccountSubscriptionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateAccountSubscriptionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateAccountSubscriptionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateAccountSubscriptionCommand(input, context);
33
- };
34
- CreateAccountSubscriptionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateAccountSubscriptionCommand(output, context);
36
- };
37
- return CreateAccountSubscriptionCommand;
38
- }($Command));
39
- export { CreateAccountSubscriptionCommand };
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 { CreateAnalysisRequestFilterSensitiveLog, CreateAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateAnalysisCommand, serializeAws_restJson1CreateAnalysisCommand, } from "../protocols/Aws_restJson1";
6
- var CreateAnalysisCommand = (function (_super) {
7
- __extends(CreateAnalysisCommand, _super);
8
- function CreateAnalysisCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateAnalysisCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateAnalysisCommand.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 = "CreateAnalysisCommand";
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 = "CreateAnalysisCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateAnalysisRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateAnalysisResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateAnalysisCommand.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_restJson1CreateAnalysisCommand(input, context);
33
- };
34
- CreateAnalysisCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateAnalysisCommand(output, context);
36
- };
37
- return CreateAnalysisCommand;
38
- }($Command));
39
- export { CreateAnalysisCommand };
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 { CreateDashboardRequestFilterSensitiveLog, CreateDashboardResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateDashboardCommand, serializeAws_restJson1CreateDashboardCommand, } from "../protocols/Aws_restJson1";
6
- var CreateDashboardCommand = (function (_super) {
7
- __extends(CreateDashboardCommand, _super);
8
- function CreateDashboardCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateDashboardCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDashboardCommand.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 = "CreateDashboardCommand";
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 = "CreateDashboardCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDashboardRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDashboardResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateDashboardCommand.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_restJson1CreateDashboardCommand(input, context);
33
- };
34
- CreateDashboardCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateDashboardCommand(output, context);
36
- };
37
- return CreateDashboardCommand;
38
- }($Command));
39
- export { CreateDashboardCommand };
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 { CreateDataSetRequestFilterSensitiveLog, CreateDataSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateDataSetCommand, serializeAws_restJson1CreateDataSetCommand, } from "../protocols/Aws_restJson1";
6
- var CreateDataSetCommand = (function (_super) {
7
- __extends(CreateDataSetCommand, _super);
8
- function CreateDataSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateDataSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDataSetCommand.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 = "CreateDataSetCommand";
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 = "CreateDataSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDataSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDataSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateDataSetCommand.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_restJson1CreateDataSetCommand(input, context);
33
- };
34
- CreateDataSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateDataSetCommand(output, context);
36
- };
37
- return CreateDataSetCommand;
38
- }($Command));
39
- export { CreateDataSetCommand };
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 { CreateDataSourceRequestFilterSensitiveLog, CreateDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateDataSourceCommand, serializeAws_restJson1CreateDataSourceCommand, } from "../protocols/Aws_restJson1";
6
- var CreateDataSourceCommand = (function (_super) {
7
- __extends(CreateDataSourceCommand, _super);
8
- function CreateDataSourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateDataSourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDataSourceCommand.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 = "CreateDataSourceCommand";
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 = "CreateDataSourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDataSourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDataSourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateDataSourceCommand.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_restJson1CreateDataSourceCommand(input, context);
33
- };
34
- CreateDataSourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateDataSourceCommand(output, context);
36
- };
37
- return CreateDataSourceCommand;
38
- }($Command));
39
- export { CreateDataSourceCommand };
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 { CreateFolderRequestFilterSensitiveLog, CreateFolderResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateFolderCommand, serializeAws_restJson1CreateFolderCommand, } from "../protocols/Aws_restJson1";
6
- var CreateFolderCommand = (function (_super) {
7
- __extends(CreateFolderCommand, _super);
8
- function CreateFolderCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateFolderCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFolderCommand.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 = "CreateFolderCommand";
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 = "CreateFolderCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFolderRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateFolderResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateFolderCommand.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_restJson1CreateFolderCommand(input, context);
33
- };
34
- CreateFolderCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateFolderCommand(output, context);
36
- };
37
- return CreateFolderCommand;
38
- }($Command));
39
- export { CreateFolderCommand };
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 { CreateFolderMembershipRequestFilterSensitiveLog, CreateFolderMembershipResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateFolderMembershipCommand, serializeAws_restJson1CreateFolderMembershipCommand, } from "../protocols/Aws_restJson1";
6
- var CreateFolderMembershipCommand = (function (_super) {
7
- __extends(CreateFolderMembershipCommand, _super);
8
- function CreateFolderMembershipCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateFolderMembershipCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFolderMembershipCommand.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 = "CreateFolderMembershipCommand";
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 = "CreateFolderMembershipCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFolderMembershipRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateFolderMembershipResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateFolderMembershipCommand.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_restJson1CreateFolderMembershipCommand(input, context);
33
- };
34
- CreateFolderMembershipCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateFolderMembershipCommand(output, context);
36
- };
37
- return CreateFolderMembershipCommand;
38
- }($Command));
39
- export { CreateFolderMembershipCommand };
31
+ }
32
+ }