@aws-sdk/client-redshift 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 (168) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/Redshift.js +478 -485
  3. package/dist-es/RedshiftClient.js +22 -28
  4. package/dist-es/commands/AcceptReservedNodeExchangeCommand.js +21 -28
  5. package/dist-es/commands/AddPartnerCommand.js +21 -28
  6. package/dist-es/commands/AssociateDataShareConsumerCommand.js +21 -28
  7. package/dist-es/commands/AuthorizeClusterSecurityGroupIngressCommand.js +21 -28
  8. package/dist-es/commands/AuthorizeDataShareCommand.js +21 -28
  9. package/dist-es/commands/AuthorizeEndpointAccessCommand.js +21 -28
  10. package/dist-es/commands/AuthorizeSnapshotAccessCommand.js +21 -28
  11. package/dist-es/commands/BatchDeleteClusterSnapshotsCommand.js +21 -28
  12. package/dist-es/commands/BatchModifyClusterSnapshotsCommand.js +21 -28
  13. package/dist-es/commands/CancelResizeCommand.js +21 -28
  14. package/dist-es/commands/CopyClusterSnapshotCommand.js +21 -28
  15. package/dist-es/commands/CreateAuthenticationProfileCommand.js +21 -28
  16. package/dist-es/commands/CreateClusterCommand.js +21 -28
  17. package/dist-es/commands/CreateClusterParameterGroupCommand.js +21 -28
  18. package/dist-es/commands/CreateClusterSecurityGroupCommand.js +21 -28
  19. package/dist-es/commands/CreateClusterSnapshotCommand.js +21 -28
  20. package/dist-es/commands/CreateClusterSubnetGroupCommand.js +21 -28
  21. package/dist-es/commands/CreateEndpointAccessCommand.js +21 -28
  22. package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
  23. package/dist-es/commands/CreateHsmClientCertificateCommand.js +21 -28
  24. package/dist-es/commands/CreateHsmConfigurationCommand.js +21 -28
  25. package/dist-es/commands/CreateScheduledActionCommand.js +21 -28
  26. package/dist-es/commands/CreateSnapshotCopyGrantCommand.js +21 -28
  27. package/dist-es/commands/CreateSnapshotScheduleCommand.js +21 -28
  28. package/dist-es/commands/CreateTagsCommand.js +22 -29
  29. package/dist-es/commands/CreateUsageLimitCommand.js +21 -28
  30. package/dist-es/commands/DeauthorizeDataShareCommand.js +21 -28
  31. package/dist-es/commands/DeleteAuthenticationProfileCommand.js +21 -28
  32. package/dist-es/commands/DeleteClusterCommand.js +21 -28
  33. package/dist-es/commands/DeleteClusterParameterGroupCommand.js +22 -29
  34. package/dist-es/commands/DeleteClusterSecurityGroupCommand.js +22 -29
  35. package/dist-es/commands/DeleteClusterSnapshotCommand.js +21 -28
  36. package/dist-es/commands/DeleteClusterSubnetGroupCommand.js +22 -29
  37. package/dist-es/commands/DeleteEndpointAccessCommand.js +21 -28
  38. package/dist-es/commands/DeleteEventSubscriptionCommand.js +22 -29
  39. package/dist-es/commands/DeleteHsmClientCertificateCommand.js +22 -29
  40. package/dist-es/commands/DeleteHsmConfigurationCommand.js +22 -29
  41. package/dist-es/commands/DeletePartnerCommand.js +21 -28
  42. package/dist-es/commands/DeleteScheduledActionCommand.js +22 -29
  43. package/dist-es/commands/DeleteSnapshotCopyGrantCommand.js +22 -29
  44. package/dist-es/commands/DeleteSnapshotScheduleCommand.js +22 -29
  45. package/dist-es/commands/DeleteTagsCommand.js +22 -29
  46. package/dist-es/commands/DeleteUsageLimitCommand.js +22 -29
  47. package/dist-es/commands/DescribeAccountAttributesCommand.js +21 -28
  48. package/dist-es/commands/DescribeAuthenticationProfilesCommand.js +21 -28
  49. package/dist-es/commands/DescribeClusterDbRevisionsCommand.js +21 -28
  50. package/dist-es/commands/DescribeClusterParameterGroupsCommand.js +21 -28
  51. package/dist-es/commands/DescribeClusterParametersCommand.js +21 -28
  52. package/dist-es/commands/DescribeClusterSecurityGroupsCommand.js +21 -28
  53. package/dist-es/commands/DescribeClusterSnapshotsCommand.js +21 -28
  54. package/dist-es/commands/DescribeClusterSubnetGroupsCommand.js +21 -28
  55. package/dist-es/commands/DescribeClusterTracksCommand.js +21 -28
  56. package/dist-es/commands/DescribeClusterVersionsCommand.js +21 -28
  57. package/dist-es/commands/DescribeClustersCommand.js +21 -28
  58. package/dist-es/commands/DescribeDataSharesCommand.js +21 -28
  59. package/dist-es/commands/DescribeDataSharesForConsumerCommand.js +21 -28
  60. package/dist-es/commands/DescribeDataSharesForProducerCommand.js +21 -28
  61. package/dist-es/commands/DescribeDefaultClusterParametersCommand.js +21 -28
  62. package/dist-es/commands/DescribeEndpointAccessCommand.js +21 -28
  63. package/dist-es/commands/DescribeEndpointAuthorizationCommand.js +21 -28
  64. package/dist-es/commands/DescribeEventCategoriesCommand.js +21 -28
  65. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +21 -28
  66. package/dist-es/commands/DescribeEventsCommand.js +21 -28
  67. package/dist-es/commands/DescribeHsmClientCertificatesCommand.js +21 -28
  68. package/dist-es/commands/DescribeHsmConfigurationsCommand.js +21 -28
  69. package/dist-es/commands/DescribeLoggingStatusCommand.js +21 -28
  70. package/dist-es/commands/DescribeNodeConfigurationOptionsCommand.js +21 -28
  71. package/dist-es/commands/DescribeOrderableClusterOptionsCommand.js +21 -28
  72. package/dist-es/commands/DescribePartnersCommand.js +21 -28
  73. package/dist-es/commands/DescribeReservedNodeExchangeStatusCommand.js +21 -28
  74. package/dist-es/commands/DescribeReservedNodeOfferingsCommand.js +21 -28
  75. package/dist-es/commands/DescribeReservedNodesCommand.js +21 -28
  76. package/dist-es/commands/DescribeResizeCommand.js +21 -28
  77. package/dist-es/commands/DescribeScheduledActionsCommand.js +21 -28
  78. package/dist-es/commands/DescribeSnapshotCopyGrantsCommand.js +21 -28
  79. package/dist-es/commands/DescribeSnapshotSchedulesCommand.js +21 -28
  80. package/dist-es/commands/DescribeStorageCommand.js +22 -29
  81. package/dist-es/commands/DescribeTableRestoreStatusCommand.js +21 -28
  82. package/dist-es/commands/DescribeTagsCommand.js +21 -28
  83. package/dist-es/commands/DescribeUsageLimitsCommand.js +21 -28
  84. package/dist-es/commands/DisableLoggingCommand.js +21 -28
  85. package/dist-es/commands/DisableSnapshotCopyCommand.js +21 -28
  86. package/dist-es/commands/DisassociateDataShareConsumerCommand.js +21 -28
  87. package/dist-es/commands/EnableLoggingCommand.js +21 -28
  88. package/dist-es/commands/EnableSnapshotCopyCommand.js +21 -28
  89. package/dist-es/commands/GetClusterCredentialsCommand.js +21 -28
  90. package/dist-es/commands/GetClusterCredentialsWithIAMCommand.js +21 -28
  91. package/dist-es/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +21 -28
  92. package/dist-es/commands/GetReservedNodeExchangeOfferingsCommand.js +21 -28
  93. package/dist-es/commands/ModifyAquaConfigurationCommand.js +21 -28
  94. package/dist-es/commands/ModifyAuthenticationProfileCommand.js +21 -28
  95. package/dist-es/commands/ModifyClusterCommand.js +21 -28
  96. package/dist-es/commands/ModifyClusterDbRevisionCommand.js +21 -28
  97. package/dist-es/commands/ModifyClusterIamRolesCommand.js +21 -28
  98. package/dist-es/commands/ModifyClusterMaintenanceCommand.js +21 -28
  99. package/dist-es/commands/ModifyClusterParameterGroupCommand.js +21 -28
  100. package/dist-es/commands/ModifyClusterSnapshotCommand.js +21 -28
  101. package/dist-es/commands/ModifyClusterSnapshotScheduleCommand.js +22 -29
  102. package/dist-es/commands/ModifyClusterSubnetGroupCommand.js +21 -28
  103. package/dist-es/commands/ModifyEndpointAccessCommand.js +21 -28
  104. package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
  105. package/dist-es/commands/ModifyScheduledActionCommand.js +21 -28
  106. package/dist-es/commands/ModifySnapshotCopyRetentionPeriodCommand.js +21 -28
  107. package/dist-es/commands/ModifySnapshotScheduleCommand.js +21 -28
  108. package/dist-es/commands/ModifyUsageLimitCommand.js +21 -28
  109. package/dist-es/commands/PauseClusterCommand.js +21 -28
  110. package/dist-es/commands/PurchaseReservedNodeOfferingCommand.js +21 -28
  111. package/dist-es/commands/RebootClusterCommand.js +21 -28
  112. package/dist-es/commands/RejectDataShareCommand.js +21 -28
  113. package/dist-es/commands/ResetClusterParameterGroupCommand.js +21 -28
  114. package/dist-es/commands/ResizeClusterCommand.js +21 -28
  115. package/dist-es/commands/RestoreFromClusterSnapshotCommand.js +21 -28
  116. package/dist-es/commands/RestoreTableFromClusterSnapshotCommand.js +21 -28
  117. package/dist-es/commands/ResumeClusterCommand.js +21 -28
  118. package/dist-es/commands/RevokeClusterSecurityGroupIngressCommand.js +21 -28
  119. package/dist-es/commands/RevokeEndpointAccessCommand.js +21 -28
  120. package/dist-es/commands/RevokeSnapshotAccessCommand.js +21 -28
  121. package/dist-es/commands/RotateEncryptionKeyCommand.js +21 -28
  122. package/dist-es/commands/UpdatePartnerStatusCommand.js +21 -28
  123. package/dist-es/endpoints.js +8 -8
  124. package/dist-es/models/RedshiftServiceException.js +5 -10
  125. package/dist-es/models/models_0.js +1808 -1459
  126. package/dist-es/models/models_1.js +503 -308
  127. package/dist-es/pagination/DescribeClusterDbRevisionsPaginator.js +25 -68
  128. package/dist-es/pagination/DescribeClusterParameterGroupsPaginator.js +25 -68
  129. package/dist-es/pagination/DescribeClusterParametersPaginator.js +25 -68
  130. package/dist-es/pagination/DescribeClusterSecurityGroupsPaginator.js +25 -68
  131. package/dist-es/pagination/DescribeClusterSnapshotsPaginator.js +25 -68
  132. package/dist-es/pagination/DescribeClusterSubnetGroupsPaginator.js +25 -68
  133. package/dist-es/pagination/DescribeClusterTracksPaginator.js +25 -68
  134. package/dist-es/pagination/DescribeClusterVersionsPaginator.js +25 -68
  135. package/dist-es/pagination/DescribeClustersPaginator.js +25 -68
  136. package/dist-es/pagination/DescribeDataSharesForConsumerPaginator.js +25 -68
  137. package/dist-es/pagination/DescribeDataSharesForProducerPaginator.js +25 -68
  138. package/dist-es/pagination/DescribeDataSharesPaginator.js +25 -68
  139. package/dist-es/pagination/DescribeDefaultClusterParametersPaginator.js +25 -68
  140. package/dist-es/pagination/DescribeEndpointAccessPaginator.js +25 -68
  141. package/dist-es/pagination/DescribeEndpointAuthorizationPaginator.js +25 -68
  142. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
  143. package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
  144. package/dist-es/pagination/DescribeHsmClientCertificatesPaginator.js +25 -68
  145. package/dist-es/pagination/DescribeHsmConfigurationsPaginator.js +25 -68
  146. package/dist-es/pagination/DescribeNodeConfigurationOptionsPaginator.js +25 -68
  147. package/dist-es/pagination/DescribeOrderableClusterOptionsPaginator.js +25 -68
  148. package/dist-es/pagination/DescribeReservedNodeExchangeStatusPaginator.js +25 -68
  149. package/dist-es/pagination/DescribeReservedNodeOfferingsPaginator.js +25 -68
  150. package/dist-es/pagination/DescribeReservedNodesPaginator.js +25 -68
  151. package/dist-es/pagination/DescribeScheduledActionsPaginator.js +25 -68
  152. package/dist-es/pagination/DescribeSnapshotCopyGrantsPaginator.js +25 -68
  153. package/dist-es/pagination/DescribeSnapshotSchedulesPaginator.js +25 -68
  154. package/dist-es/pagination/DescribeTableRestoreStatusPaginator.js +25 -68
  155. package/dist-es/pagination/DescribeTagsPaginator.js +25 -68
  156. package/dist-es/pagination/DescribeUsageLimitsPaginator.js +25 -68
  157. package/dist-es/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +25 -68
  158. package/dist-es/pagination/GetReservedNodeExchangeOfferingsPaginator.js +25 -68
  159. package/dist-es/protocols/Aws_query.js +8821 -11426
  160. package/dist-es/runtimeConfig.browser.js +26 -12
  161. package/dist-es/runtimeConfig.js +30 -12
  162. package/dist-es/runtimeConfig.native.js +8 -5
  163. package/dist-es/runtimeConfig.shared.js +8 -11
  164. package/dist-es/waiters/waitForClusterAvailable.js +52 -93
  165. package/dist-es/waiters/waitForClusterDeleted.js +49 -90
  166. package/dist-es/waiters/waitForClusterRestored.js +50 -91
  167. package/dist-es/waiters/waitForSnapshotAvailable.js +64 -115
  168. package/package.json +34 -34
@@ -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 { DescribeUsageLimitsMessageFilterSensitiveLog, UsageLimitListFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_queryDescribeUsageLimitsCommand, serializeAws_queryDescribeUsageLimitsCommand, } from "../protocols/Aws_query";
6
- var DescribeUsageLimitsCommand = (function (_super) {
7
- __extends(DescribeUsageLimitsCommand, _super);
8
- function DescribeUsageLimitsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeUsageLimitsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeUsageLimitsCommand.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 = "RedshiftClient";
18
- var commandName = "DescribeUsageLimitsCommand";
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 = "RedshiftClient";
15
+ const commandName = "DescribeUsageLimitsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeUsageLimitsMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UsageLimitListFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeUsageLimitsCommand.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_queryDescribeUsageLimitsCommand(input, context);
33
- };
34
- DescribeUsageLimitsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeUsageLimitsCommand(output, context);
36
- };
37
- return DescribeUsageLimitsCommand;
38
- }($Command));
39
- export { DescribeUsageLimitsCommand };
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 { DisableLoggingMessageFilterSensitiveLog, LoggingStatusFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_queryDisableLoggingCommand, serializeAws_queryDisableLoggingCommand, } from "../protocols/Aws_query";
6
- var DisableLoggingCommand = (function (_super) {
7
- __extends(DisableLoggingCommand, _super);
8
- function DisableLoggingCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisableLoggingCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisableLoggingCommand.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 = "RedshiftClient";
18
- var commandName = "DisableLoggingCommand";
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 = "RedshiftClient";
15
+ const commandName = "DisableLoggingCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisableLoggingMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: LoggingStatusFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisableLoggingCommand.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_queryDisableLoggingCommand(input, context);
33
- };
34
- DisableLoggingCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDisableLoggingCommand(output, context);
36
- };
37
- return DisableLoggingCommand;
38
- }($Command));
39
- export { DisableLoggingCommand };
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 { DisableSnapshotCopyMessageFilterSensitiveLog, DisableSnapshotCopyResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_queryDisableSnapshotCopyCommand, serializeAws_queryDisableSnapshotCopyCommand, } from "../protocols/Aws_query";
6
- var DisableSnapshotCopyCommand = (function (_super) {
7
- __extends(DisableSnapshotCopyCommand, _super);
8
- function DisableSnapshotCopyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisableSnapshotCopyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisableSnapshotCopyCommand.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 = "RedshiftClient";
18
- var commandName = "DisableSnapshotCopyCommand";
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 = "RedshiftClient";
15
+ const commandName = "DisableSnapshotCopyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisableSnapshotCopyMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisableSnapshotCopyResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisableSnapshotCopyCommand.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_queryDisableSnapshotCopyCommand(input, context);
33
- };
34
- DisableSnapshotCopyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDisableSnapshotCopyCommand(output, context);
36
- };
37
- return DisableSnapshotCopyCommand;
38
- }($Command));
39
- export { DisableSnapshotCopyCommand };
31
+ }
32
+ }
@@ -1,40 +1,33 @@
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 { DataShareFilterSensitiveLog } from "../models/models_0";
5
4
  import { DisassociateDataShareConsumerMessageFilterSensitiveLog, } from "../models/models_1";
6
5
  import { deserializeAws_queryDisassociateDataShareConsumerCommand, serializeAws_queryDisassociateDataShareConsumerCommand, } from "../protocols/Aws_query";
7
- var DisassociateDataShareConsumerCommand = (function (_super) {
8
- __extends(DisassociateDataShareConsumerCommand, _super);
9
- function DisassociateDataShareConsumerCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DisassociateDataShareConsumerCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DisassociateDataShareConsumerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- var stack = clientStack.concat(this.middlewareStack);
17
- var logger = configuration.logger;
18
- var clientName = "RedshiftClient";
19
- var commandName = "DisassociateDataShareConsumerCommand";
20
- var handlerExecutionContext = {
21
- logger: logger,
22
- clientName: clientName,
23
- commandName: commandName,
13
+ const stack = clientStack.concat(this.middlewareStack);
14
+ const { logger } = configuration;
15
+ const clientName = "RedshiftClient";
16
+ const commandName = "DisassociateDataShareConsumerCommand";
17
+ const handlerExecutionContext = {
18
+ logger,
19
+ clientName,
20
+ commandName,
24
21
  inputFilterSensitiveLog: DisassociateDataShareConsumerMessageFilterSensitiveLog,
25
22
  outputFilterSensitiveLog: DataShareFilterSensitiveLog,
26
23
  };
27
- var requestHandler = configuration.requestHandler;
28
- return stack.resolve(function (request) {
29
- return requestHandler.handle(request.request, options || {});
30
- }, handlerExecutionContext);
31
- };
32
- DisassociateDataShareConsumerCommand.prototype.serialize = function (input, context) {
24
+ const { requestHandler } = configuration;
25
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
26
+ }
27
+ serialize(input, context) {
33
28
  return serializeAws_queryDisassociateDataShareConsumerCommand(input, context);
34
- };
35
- DisassociateDataShareConsumerCommand.prototype.deserialize = function (output, context) {
29
+ }
30
+ deserialize(output, context) {
36
31
  return deserializeAws_queryDisassociateDataShareConsumerCommand(output, context);
37
- };
38
- return DisassociateDataShareConsumerCommand;
39
- }($Command));
40
- export { DisassociateDataShareConsumerCommand };
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 { EnableLoggingMessageFilterSensitiveLog, LoggingStatusFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_queryEnableLoggingCommand, serializeAws_queryEnableLoggingCommand, } from "../protocols/Aws_query";
6
- var EnableLoggingCommand = (function (_super) {
7
- __extends(EnableLoggingCommand, _super);
8
- function EnableLoggingCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class EnableLoggingCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- EnableLoggingCommand.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 = "RedshiftClient";
18
- var commandName = "EnableLoggingCommand";
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 = "RedshiftClient";
15
+ const commandName = "EnableLoggingCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: EnableLoggingMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: LoggingStatusFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- EnableLoggingCommand.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_queryEnableLoggingCommand(input, context);
33
- };
34
- EnableLoggingCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryEnableLoggingCommand(output, context);
36
- };
37
- return EnableLoggingCommand;
38
- }($Command));
39
- export { EnableLoggingCommand };
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 { EnableSnapshotCopyMessageFilterSensitiveLog, EnableSnapshotCopyResultFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_queryEnableSnapshotCopyCommand, serializeAws_queryEnableSnapshotCopyCommand, } from "../protocols/Aws_query";
6
- var EnableSnapshotCopyCommand = (function (_super) {
7
- __extends(EnableSnapshotCopyCommand, _super);
8
- function EnableSnapshotCopyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class EnableSnapshotCopyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- EnableSnapshotCopyCommand.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 = "RedshiftClient";
18
- var commandName = "EnableSnapshotCopyCommand";
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 = "RedshiftClient";
15
+ const commandName = "EnableSnapshotCopyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: EnableSnapshotCopyMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: EnableSnapshotCopyResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- EnableSnapshotCopyCommand.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_queryEnableSnapshotCopyCommand(input, context);
33
- };
34
- EnableSnapshotCopyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryEnableSnapshotCopyCommand(output, context);
36
- };
37
- return EnableSnapshotCopyCommand;
38
- }($Command));
39
- export { EnableSnapshotCopyCommand };
31
+ }
32
+ }
@@ -1,40 +1,33 @@
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 { ClusterCredentialsFilterSensitiveLog } from "../models/models_0";
5
4
  import { GetClusterCredentialsMessageFilterSensitiveLog } from "../models/models_1";
6
5
  import { deserializeAws_queryGetClusterCredentialsCommand, serializeAws_queryGetClusterCredentialsCommand, } from "../protocols/Aws_query";
7
- var GetClusterCredentialsCommand = (function (_super) {
8
- __extends(GetClusterCredentialsCommand, _super);
9
- function GetClusterCredentialsCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class GetClusterCredentialsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- GetClusterCredentialsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- var stack = clientStack.concat(this.middlewareStack);
17
- var logger = configuration.logger;
18
- var clientName = "RedshiftClient";
19
- var commandName = "GetClusterCredentialsCommand";
20
- var handlerExecutionContext = {
21
- logger: logger,
22
- clientName: clientName,
23
- commandName: commandName,
13
+ const stack = clientStack.concat(this.middlewareStack);
14
+ const { logger } = configuration;
15
+ const clientName = "RedshiftClient";
16
+ const commandName = "GetClusterCredentialsCommand";
17
+ const handlerExecutionContext = {
18
+ logger,
19
+ clientName,
20
+ commandName,
24
21
  inputFilterSensitiveLog: GetClusterCredentialsMessageFilterSensitiveLog,
25
22
  outputFilterSensitiveLog: ClusterCredentialsFilterSensitiveLog,
26
23
  };
27
- var requestHandler = configuration.requestHandler;
28
- return stack.resolve(function (request) {
29
- return requestHandler.handle(request.request, options || {});
30
- }, handlerExecutionContext);
31
- };
32
- GetClusterCredentialsCommand.prototype.serialize = function (input, context) {
24
+ const { requestHandler } = configuration;
25
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
26
+ }
27
+ serialize(input, context) {
33
28
  return serializeAws_queryGetClusterCredentialsCommand(input, context);
34
- };
35
- GetClusterCredentialsCommand.prototype.deserialize = function (output, context) {
29
+ }
30
+ deserialize(output, context) {
36
31
  return deserializeAws_queryGetClusterCredentialsCommand(output, context);
37
- };
38
- return GetClusterCredentialsCommand;
39
- }($Command));
40
- export { GetClusterCredentialsCommand };
32
+ }
33
+ }
@@ -1,40 +1,33 @@
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 { ClusterExtendedCredentialsFilterSensitiveLog } from "../models/models_0";
5
4
  import { GetClusterCredentialsWithIAMMessageFilterSensitiveLog, } from "../models/models_1";
6
5
  import { deserializeAws_queryGetClusterCredentialsWithIAMCommand, serializeAws_queryGetClusterCredentialsWithIAMCommand, } from "../protocols/Aws_query";
7
- var GetClusterCredentialsWithIAMCommand = (function (_super) {
8
- __extends(GetClusterCredentialsWithIAMCommand, _super);
9
- function GetClusterCredentialsWithIAMCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class GetClusterCredentialsWithIAMCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- GetClusterCredentialsWithIAMCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- var stack = clientStack.concat(this.middlewareStack);
17
- var logger = configuration.logger;
18
- var clientName = "RedshiftClient";
19
- var commandName = "GetClusterCredentialsWithIAMCommand";
20
- var handlerExecutionContext = {
21
- logger: logger,
22
- clientName: clientName,
23
- commandName: commandName,
13
+ const stack = clientStack.concat(this.middlewareStack);
14
+ const { logger } = configuration;
15
+ const clientName = "RedshiftClient";
16
+ const commandName = "GetClusterCredentialsWithIAMCommand";
17
+ const handlerExecutionContext = {
18
+ logger,
19
+ clientName,
20
+ commandName,
24
21
  inputFilterSensitiveLog: GetClusterCredentialsWithIAMMessageFilterSensitiveLog,
25
22
  outputFilterSensitiveLog: ClusterExtendedCredentialsFilterSensitiveLog,
26
23
  };
27
- var requestHandler = configuration.requestHandler;
28
- return stack.resolve(function (request) {
29
- return requestHandler.handle(request.request, options || {});
30
- }, handlerExecutionContext);
31
- };
32
- GetClusterCredentialsWithIAMCommand.prototype.serialize = function (input, context) {
24
+ const { requestHandler } = configuration;
25
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
26
+ }
27
+ serialize(input, context) {
33
28
  return serializeAws_queryGetClusterCredentialsWithIAMCommand(input, context);
34
- };
35
- GetClusterCredentialsWithIAMCommand.prototype.deserialize = function (output, context) {
29
+ }
30
+ deserialize(output, context) {
36
31
  return deserializeAws_queryGetClusterCredentialsWithIAMCommand(output, context);
37
- };
38
- return GetClusterCredentialsWithIAMCommand;
39
- }($Command));
40
- export { GetClusterCredentialsWithIAMCommand };
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 { GetReservedNodeExchangeConfigurationOptionsInputMessageFilterSensitiveLog, GetReservedNodeExchangeConfigurationOptionsOutputMessageFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand, serializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand, } from "../protocols/Aws_query";
6
- var GetReservedNodeExchangeConfigurationOptionsCommand = (function (_super) {
7
- __extends(GetReservedNodeExchangeConfigurationOptionsCommand, _super);
8
- function GetReservedNodeExchangeConfigurationOptionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetReservedNodeExchangeConfigurationOptionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetReservedNodeExchangeConfigurationOptionsCommand.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 = "RedshiftClient";
18
- var commandName = "GetReservedNodeExchangeConfigurationOptionsCommand";
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 = "RedshiftClient";
15
+ const commandName = "GetReservedNodeExchangeConfigurationOptionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetReservedNodeExchangeConfigurationOptionsInputMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetReservedNodeExchangeConfigurationOptionsOutputMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetReservedNodeExchangeConfigurationOptionsCommand.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_queryGetReservedNodeExchangeConfigurationOptionsCommand(input, context);
33
- };
34
- GetReservedNodeExchangeConfigurationOptionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand(output, context);
36
- };
37
- return GetReservedNodeExchangeConfigurationOptionsCommand;
38
- }($Command));
39
- export { GetReservedNodeExchangeConfigurationOptionsCommand };
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 { GetReservedNodeExchangeOfferingsInputMessageFilterSensitiveLog, GetReservedNodeExchangeOfferingsOutputMessageFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_queryGetReservedNodeExchangeOfferingsCommand, serializeAws_queryGetReservedNodeExchangeOfferingsCommand, } from "../protocols/Aws_query";
6
- var GetReservedNodeExchangeOfferingsCommand = (function (_super) {
7
- __extends(GetReservedNodeExchangeOfferingsCommand, _super);
8
- function GetReservedNodeExchangeOfferingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetReservedNodeExchangeOfferingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetReservedNodeExchangeOfferingsCommand.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 = "RedshiftClient";
18
- var commandName = "GetReservedNodeExchangeOfferingsCommand";
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 = "RedshiftClient";
15
+ const commandName = "GetReservedNodeExchangeOfferingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetReservedNodeExchangeOfferingsInputMessageFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetReservedNodeExchangeOfferingsOutputMessageFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetReservedNodeExchangeOfferingsCommand.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_queryGetReservedNodeExchangeOfferingsCommand(input, context);
33
- };
34
- GetReservedNodeExchangeOfferingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryGetReservedNodeExchangeOfferingsCommand(output, context);
36
- };
37
- return GetReservedNodeExchangeOfferingsCommand;
38
- }($Command));
39
- export { GetReservedNodeExchangeOfferingsCommand };
31
+ }
32
+ }