@aws-sdk/client-redshift 3.183.0 → 3.185.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 (169) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/Redshift.js +485 -478
  4. package/dist-es/RedshiftClient.js +28 -22
  5. package/dist-es/commands/AcceptReservedNodeExchangeCommand.js +28 -21
  6. package/dist-es/commands/AddPartnerCommand.js +28 -21
  7. package/dist-es/commands/AssociateDataShareConsumerCommand.js +28 -21
  8. package/dist-es/commands/AuthorizeClusterSecurityGroupIngressCommand.js +28 -21
  9. package/dist-es/commands/AuthorizeDataShareCommand.js +28 -21
  10. package/dist-es/commands/AuthorizeEndpointAccessCommand.js +28 -21
  11. package/dist-es/commands/AuthorizeSnapshotAccessCommand.js +28 -21
  12. package/dist-es/commands/BatchDeleteClusterSnapshotsCommand.js +28 -21
  13. package/dist-es/commands/BatchModifyClusterSnapshotsCommand.js +28 -21
  14. package/dist-es/commands/CancelResizeCommand.js +28 -21
  15. package/dist-es/commands/CopyClusterSnapshotCommand.js +28 -21
  16. package/dist-es/commands/CreateAuthenticationProfileCommand.js +28 -21
  17. package/dist-es/commands/CreateClusterCommand.js +28 -21
  18. package/dist-es/commands/CreateClusterParameterGroupCommand.js +28 -21
  19. package/dist-es/commands/CreateClusterSecurityGroupCommand.js +28 -21
  20. package/dist-es/commands/CreateClusterSnapshotCommand.js +28 -21
  21. package/dist-es/commands/CreateClusterSubnetGroupCommand.js +28 -21
  22. package/dist-es/commands/CreateEndpointAccessCommand.js +28 -21
  23. package/dist-es/commands/CreateEventSubscriptionCommand.js +28 -21
  24. package/dist-es/commands/CreateHsmClientCertificateCommand.js +28 -21
  25. package/dist-es/commands/CreateHsmConfigurationCommand.js +28 -21
  26. package/dist-es/commands/CreateScheduledActionCommand.js +28 -21
  27. package/dist-es/commands/CreateSnapshotCopyGrantCommand.js +28 -21
  28. package/dist-es/commands/CreateSnapshotScheduleCommand.js +28 -21
  29. package/dist-es/commands/CreateTagsCommand.js +29 -22
  30. package/dist-es/commands/CreateUsageLimitCommand.js +28 -21
  31. package/dist-es/commands/DeauthorizeDataShareCommand.js +28 -21
  32. package/dist-es/commands/DeleteAuthenticationProfileCommand.js +28 -21
  33. package/dist-es/commands/DeleteClusterCommand.js +28 -21
  34. package/dist-es/commands/DeleteClusterParameterGroupCommand.js +29 -22
  35. package/dist-es/commands/DeleteClusterSecurityGroupCommand.js +29 -22
  36. package/dist-es/commands/DeleteClusterSnapshotCommand.js +28 -21
  37. package/dist-es/commands/DeleteClusterSubnetGroupCommand.js +29 -22
  38. package/dist-es/commands/DeleteEndpointAccessCommand.js +28 -21
  39. package/dist-es/commands/DeleteEventSubscriptionCommand.js +29 -22
  40. package/dist-es/commands/DeleteHsmClientCertificateCommand.js +29 -22
  41. package/dist-es/commands/DeleteHsmConfigurationCommand.js +29 -22
  42. package/dist-es/commands/DeletePartnerCommand.js +28 -21
  43. package/dist-es/commands/DeleteScheduledActionCommand.js +29 -22
  44. package/dist-es/commands/DeleteSnapshotCopyGrantCommand.js +29 -22
  45. package/dist-es/commands/DeleteSnapshotScheduleCommand.js +29 -22
  46. package/dist-es/commands/DeleteTagsCommand.js +29 -22
  47. package/dist-es/commands/DeleteUsageLimitCommand.js +29 -22
  48. package/dist-es/commands/DescribeAccountAttributesCommand.js +28 -21
  49. package/dist-es/commands/DescribeAuthenticationProfilesCommand.js +28 -21
  50. package/dist-es/commands/DescribeClusterDbRevisionsCommand.js +28 -21
  51. package/dist-es/commands/DescribeClusterParameterGroupsCommand.js +28 -21
  52. package/dist-es/commands/DescribeClusterParametersCommand.js +28 -21
  53. package/dist-es/commands/DescribeClusterSecurityGroupsCommand.js +28 -21
  54. package/dist-es/commands/DescribeClusterSnapshotsCommand.js +28 -21
  55. package/dist-es/commands/DescribeClusterSubnetGroupsCommand.js +28 -21
  56. package/dist-es/commands/DescribeClusterTracksCommand.js +28 -21
  57. package/dist-es/commands/DescribeClusterVersionsCommand.js +28 -21
  58. package/dist-es/commands/DescribeClustersCommand.js +28 -21
  59. package/dist-es/commands/DescribeDataSharesCommand.js +28 -21
  60. package/dist-es/commands/DescribeDataSharesForConsumerCommand.js +28 -21
  61. package/dist-es/commands/DescribeDataSharesForProducerCommand.js +28 -21
  62. package/dist-es/commands/DescribeDefaultClusterParametersCommand.js +28 -21
  63. package/dist-es/commands/DescribeEndpointAccessCommand.js +28 -21
  64. package/dist-es/commands/DescribeEndpointAuthorizationCommand.js +28 -21
  65. package/dist-es/commands/DescribeEventCategoriesCommand.js +28 -21
  66. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +28 -21
  67. package/dist-es/commands/DescribeEventsCommand.js +28 -21
  68. package/dist-es/commands/DescribeHsmClientCertificatesCommand.js +28 -21
  69. package/dist-es/commands/DescribeHsmConfigurationsCommand.js +28 -21
  70. package/dist-es/commands/DescribeLoggingStatusCommand.js +28 -21
  71. package/dist-es/commands/DescribeNodeConfigurationOptionsCommand.js +28 -21
  72. package/dist-es/commands/DescribeOrderableClusterOptionsCommand.js +28 -21
  73. package/dist-es/commands/DescribePartnersCommand.js +28 -21
  74. package/dist-es/commands/DescribeReservedNodeExchangeStatusCommand.js +28 -21
  75. package/dist-es/commands/DescribeReservedNodeOfferingsCommand.js +28 -21
  76. package/dist-es/commands/DescribeReservedNodesCommand.js +28 -21
  77. package/dist-es/commands/DescribeResizeCommand.js +28 -21
  78. package/dist-es/commands/DescribeScheduledActionsCommand.js +28 -21
  79. package/dist-es/commands/DescribeSnapshotCopyGrantsCommand.js +28 -21
  80. package/dist-es/commands/DescribeSnapshotSchedulesCommand.js +28 -21
  81. package/dist-es/commands/DescribeStorageCommand.js +29 -22
  82. package/dist-es/commands/DescribeTableRestoreStatusCommand.js +28 -21
  83. package/dist-es/commands/DescribeTagsCommand.js +28 -21
  84. package/dist-es/commands/DescribeUsageLimitsCommand.js +28 -21
  85. package/dist-es/commands/DisableLoggingCommand.js +28 -21
  86. package/dist-es/commands/DisableSnapshotCopyCommand.js +28 -21
  87. package/dist-es/commands/DisassociateDataShareConsumerCommand.js +28 -21
  88. package/dist-es/commands/EnableLoggingCommand.js +28 -21
  89. package/dist-es/commands/EnableSnapshotCopyCommand.js +28 -21
  90. package/dist-es/commands/GetClusterCredentialsCommand.js +28 -21
  91. package/dist-es/commands/GetClusterCredentialsWithIAMCommand.js +28 -21
  92. package/dist-es/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +28 -21
  93. package/dist-es/commands/GetReservedNodeExchangeOfferingsCommand.js +28 -21
  94. package/dist-es/commands/ModifyAquaConfigurationCommand.js +28 -21
  95. package/dist-es/commands/ModifyAuthenticationProfileCommand.js +28 -21
  96. package/dist-es/commands/ModifyClusterCommand.js +28 -21
  97. package/dist-es/commands/ModifyClusterDbRevisionCommand.js +28 -21
  98. package/dist-es/commands/ModifyClusterIamRolesCommand.js +28 -21
  99. package/dist-es/commands/ModifyClusterMaintenanceCommand.js +28 -21
  100. package/dist-es/commands/ModifyClusterParameterGroupCommand.js +28 -21
  101. package/dist-es/commands/ModifyClusterSnapshotCommand.js +28 -21
  102. package/dist-es/commands/ModifyClusterSnapshotScheduleCommand.js +29 -22
  103. package/dist-es/commands/ModifyClusterSubnetGroupCommand.js +28 -21
  104. package/dist-es/commands/ModifyEndpointAccessCommand.js +28 -21
  105. package/dist-es/commands/ModifyEventSubscriptionCommand.js +28 -21
  106. package/dist-es/commands/ModifyScheduledActionCommand.js +28 -21
  107. package/dist-es/commands/ModifySnapshotCopyRetentionPeriodCommand.js +28 -21
  108. package/dist-es/commands/ModifySnapshotScheduleCommand.js +28 -21
  109. package/dist-es/commands/ModifyUsageLimitCommand.js +28 -21
  110. package/dist-es/commands/PauseClusterCommand.js +28 -21
  111. package/dist-es/commands/PurchaseReservedNodeOfferingCommand.js +28 -21
  112. package/dist-es/commands/RebootClusterCommand.js +28 -21
  113. package/dist-es/commands/RejectDataShareCommand.js +28 -21
  114. package/dist-es/commands/ResetClusterParameterGroupCommand.js +28 -21
  115. package/dist-es/commands/ResizeClusterCommand.js +28 -21
  116. package/dist-es/commands/RestoreFromClusterSnapshotCommand.js +28 -21
  117. package/dist-es/commands/RestoreTableFromClusterSnapshotCommand.js +28 -21
  118. package/dist-es/commands/ResumeClusterCommand.js +28 -21
  119. package/dist-es/commands/RevokeClusterSecurityGroupIngressCommand.js +28 -21
  120. package/dist-es/commands/RevokeEndpointAccessCommand.js +28 -21
  121. package/dist-es/commands/RevokeSnapshotAccessCommand.js +28 -21
  122. package/dist-es/commands/RotateEncryptionKeyCommand.js +28 -21
  123. package/dist-es/commands/UpdatePartnerStatusCommand.js +28 -21
  124. package/dist-es/endpoints.js +8 -8
  125. package/dist-es/models/RedshiftServiceException.js +10 -5
  126. package/dist-es/models/models_0.js +1459 -1808
  127. package/dist-es/models/models_1.js +308 -503
  128. package/dist-es/pagination/DescribeClusterDbRevisionsPaginator.js +68 -25
  129. package/dist-es/pagination/DescribeClusterParameterGroupsPaginator.js +68 -25
  130. package/dist-es/pagination/DescribeClusterParametersPaginator.js +68 -25
  131. package/dist-es/pagination/DescribeClusterSecurityGroupsPaginator.js +68 -25
  132. package/dist-es/pagination/DescribeClusterSnapshotsPaginator.js +68 -25
  133. package/dist-es/pagination/DescribeClusterSubnetGroupsPaginator.js +68 -25
  134. package/dist-es/pagination/DescribeClusterTracksPaginator.js +68 -25
  135. package/dist-es/pagination/DescribeClusterVersionsPaginator.js +68 -25
  136. package/dist-es/pagination/DescribeClustersPaginator.js +68 -25
  137. package/dist-es/pagination/DescribeDataSharesForConsumerPaginator.js +68 -25
  138. package/dist-es/pagination/DescribeDataSharesForProducerPaginator.js +68 -25
  139. package/dist-es/pagination/DescribeDataSharesPaginator.js +68 -25
  140. package/dist-es/pagination/DescribeDefaultClusterParametersPaginator.js +68 -25
  141. package/dist-es/pagination/DescribeEndpointAccessPaginator.js +68 -25
  142. package/dist-es/pagination/DescribeEndpointAuthorizationPaginator.js +68 -25
  143. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +68 -25
  144. package/dist-es/pagination/DescribeEventsPaginator.js +68 -25
  145. package/dist-es/pagination/DescribeHsmClientCertificatesPaginator.js +68 -25
  146. package/dist-es/pagination/DescribeHsmConfigurationsPaginator.js +68 -25
  147. package/dist-es/pagination/DescribeNodeConfigurationOptionsPaginator.js +68 -25
  148. package/dist-es/pagination/DescribeOrderableClusterOptionsPaginator.js +68 -25
  149. package/dist-es/pagination/DescribeReservedNodeExchangeStatusPaginator.js +68 -25
  150. package/dist-es/pagination/DescribeReservedNodeOfferingsPaginator.js +68 -25
  151. package/dist-es/pagination/DescribeReservedNodesPaginator.js +68 -25
  152. package/dist-es/pagination/DescribeScheduledActionsPaginator.js +68 -25
  153. package/dist-es/pagination/DescribeSnapshotCopyGrantsPaginator.js +68 -25
  154. package/dist-es/pagination/DescribeSnapshotSchedulesPaginator.js +68 -25
  155. package/dist-es/pagination/DescribeTableRestoreStatusPaginator.js +68 -25
  156. package/dist-es/pagination/DescribeTagsPaginator.js +68 -25
  157. package/dist-es/pagination/DescribeUsageLimitsPaginator.js +68 -25
  158. package/dist-es/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +68 -25
  159. package/dist-es/pagination/GetReservedNodeExchangeOfferingsPaginator.js +68 -25
  160. package/dist-es/protocols/Aws_query.js +11426 -8821
  161. package/dist-es/runtimeConfig.browser.js +12 -26
  162. package/dist-es/runtimeConfig.js +12 -30
  163. package/dist-es/runtimeConfig.native.js +5 -8
  164. package/dist-es/runtimeConfig.shared.js +11 -8
  165. package/dist-es/waiters/waitForClusterAvailable.js +93 -52
  166. package/dist-es/waiters/waitForClusterDeleted.js +90 -49
  167. package/dist-es/waiters/waitForClusterRestored.js +91 -50
  168. package/dist-es/waiters/waitForSnapshotAvailable.js +115 -64
  169. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class RedshiftClient 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));
12
+ var RedshiftClient = (function (_super) {
13
+ __extends(RedshiftClient, _super);
14
+ function RedshiftClient(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;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ RedshiftClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return RedshiftClient;
38
+ }(__Client));
39
+ export { RedshiftClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AcceptReservedNodeExchangeInputMessageFilterSensitiveLog, AcceptReservedNodeExchangeOutputMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryAcceptReservedNodeExchangeCommand, serializeAws_queryAcceptReservedNodeExchangeCommand, } from "../protocols/Aws_query";
5
- export class AcceptReservedNodeExchangeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AcceptReservedNodeExchangeCommand = (function (_super) {
7
+ __extends(AcceptReservedNodeExchangeCommand, _super);
8
+ function AcceptReservedNodeExchangeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AcceptReservedNodeExchangeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RedshiftClient";
15
- const commandName = "AcceptReservedNodeExchangeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftClient";
18
+ var commandName = "AcceptReservedNodeExchangeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AcceptReservedNodeExchangeInputMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AcceptReservedNodeExchangeOutputMessageFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AcceptReservedNodeExchangeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryAcceptReservedNodeExchangeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AcceptReservedNodeExchangeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryAcceptReservedNodeExchangeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AcceptReservedNodeExchangeCommand;
38
+ }($Command));
39
+ export { AcceptReservedNodeExchangeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PartnerIntegrationInputMessageFilterSensitiveLog, PartnerIntegrationOutputMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryAddPartnerCommand, serializeAws_queryAddPartnerCommand } from "../protocols/Aws_query";
5
- export class AddPartnerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddPartnerCommand = (function (_super) {
7
+ __extends(AddPartnerCommand, _super);
8
+ function AddPartnerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddPartnerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RedshiftClient";
15
- const commandName = "AddPartnerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftClient";
18
+ var commandName = "AddPartnerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PartnerIntegrationInputMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PartnerIntegrationOutputMessageFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AddPartnerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryAddPartnerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddPartnerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryAddPartnerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddPartnerCommand;
38
+ }($Command));
39
+ export { AddPartnerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateDataShareConsumerMessageFilterSensitiveLog, DataShareFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryAssociateDataShareConsumerCommand, serializeAws_queryAssociateDataShareConsumerCommand, } from "../protocols/Aws_query";
5
- export class AssociateDataShareConsumerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateDataShareConsumerCommand = (function (_super) {
7
+ __extends(AssociateDataShareConsumerCommand, _super);
8
+ function AssociateDataShareConsumerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateDataShareConsumerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RedshiftClient";
15
- const commandName = "AssociateDataShareConsumerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftClient";
18
+ var commandName = "AssociateDataShareConsumerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateDataShareConsumerMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DataShareFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociateDataShareConsumerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryAssociateDataShareConsumerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateDataShareConsumerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryAssociateDataShareConsumerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateDataShareConsumerCommand;
38
+ }($Command));
39
+ export { AssociateDataShareConsumerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AuthorizeClusterSecurityGroupIngressMessageFilterSensitiveLog, AuthorizeClusterSecurityGroupIngressResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryAuthorizeClusterSecurityGroupIngressCommand, serializeAws_queryAuthorizeClusterSecurityGroupIngressCommand, } from "../protocols/Aws_query";
5
- export class AuthorizeClusterSecurityGroupIngressCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AuthorizeClusterSecurityGroupIngressCommand = (function (_super) {
7
+ __extends(AuthorizeClusterSecurityGroupIngressCommand, _super);
8
+ function AuthorizeClusterSecurityGroupIngressCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AuthorizeClusterSecurityGroupIngressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RedshiftClient";
15
- const commandName = "AuthorizeClusterSecurityGroupIngressCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftClient";
18
+ var commandName = "AuthorizeClusterSecurityGroupIngressCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AuthorizeClusterSecurityGroupIngressMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AuthorizeClusterSecurityGroupIngressResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AuthorizeClusterSecurityGroupIngressCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryAuthorizeClusterSecurityGroupIngressCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AuthorizeClusterSecurityGroupIngressCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryAuthorizeClusterSecurityGroupIngressCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AuthorizeClusterSecurityGroupIngressCommand;
38
+ }($Command));
39
+ export { AuthorizeClusterSecurityGroupIngressCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AuthorizeDataShareMessageFilterSensitiveLog, DataShareFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryAuthorizeDataShareCommand, serializeAws_queryAuthorizeDataShareCommand, } from "../protocols/Aws_query";
5
- export class AuthorizeDataShareCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AuthorizeDataShareCommand = (function (_super) {
7
+ __extends(AuthorizeDataShareCommand, _super);
8
+ function AuthorizeDataShareCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AuthorizeDataShareCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RedshiftClient";
15
- const commandName = "AuthorizeDataShareCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftClient";
18
+ var commandName = "AuthorizeDataShareCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AuthorizeDataShareMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DataShareFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AuthorizeDataShareCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryAuthorizeDataShareCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AuthorizeDataShareCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryAuthorizeDataShareCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AuthorizeDataShareCommand;
38
+ }($Command));
39
+ export { AuthorizeDataShareCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AuthorizeEndpointAccessMessageFilterSensitiveLog, EndpointAuthorizationFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryAuthorizeEndpointAccessCommand, serializeAws_queryAuthorizeEndpointAccessCommand, } from "../protocols/Aws_query";
5
- export class AuthorizeEndpointAccessCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AuthorizeEndpointAccessCommand = (function (_super) {
7
+ __extends(AuthorizeEndpointAccessCommand, _super);
8
+ function AuthorizeEndpointAccessCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AuthorizeEndpointAccessCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RedshiftClient";
15
- const commandName = "AuthorizeEndpointAccessCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftClient";
18
+ var commandName = "AuthorizeEndpointAccessCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AuthorizeEndpointAccessMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EndpointAuthorizationFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AuthorizeEndpointAccessCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryAuthorizeEndpointAccessCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AuthorizeEndpointAccessCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryAuthorizeEndpointAccessCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AuthorizeEndpointAccessCommand;
38
+ }($Command));
39
+ export { AuthorizeEndpointAccessCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AuthorizeSnapshotAccessMessageFilterSensitiveLog, AuthorizeSnapshotAccessResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryAuthorizeSnapshotAccessCommand, serializeAws_queryAuthorizeSnapshotAccessCommand, } from "../protocols/Aws_query";
5
- export class AuthorizeSnapshotAccessCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AuthorizeSnapshotAccessCommand = (function (_super) {
7
+ __extends(AuthorizeSnapshotAccessCommand, _super);
8
+ function AuthorizeSnapshotAccessCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AuthorizeSnapshotAccessCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RedshiftClient";
15
- const commandName = "AuthorizeSnapshotAccessCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftClient";
18
+ var commandName = "AuthorizeSnapshotAccessCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AuthorizeSnapshotAccessMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AuthorizeSnapshotAccessResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AuthorizeSnapshotAccessCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryAuthorizeSnapshotAccessCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AuthorizeSnapshotAccessCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryAuthorizeSnapshotAccessCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AuthorizeSnapshotAccessCommand;
38
+ }($Command));
39
+ export { AuthorizeSnapshotAccessCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchDeleteClusterSnapshotsRequestFilterSensitiveLog, BatchDeleteClusterSnapshotsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryBatchDeleteClusterSnapshotsCommand, serializeAws_queryBatchDeleteClusterSnapshotsCommand, } from "../protocols/Aws_query";
5
- export class BatchDeleteClusterSnapshotsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchDeleteClusterSnapshotsCommand = (function (_super) {
7
+ __extends(BatchDeleteClusterSnapshotsCommand, _super);
8
+ function BatchDeleteClusterSnapshotsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchDeleteClusterSnapshotsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RedshiftClient";
15
- const commandName = "BatchDeleteClusterSnapshotsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftClient";
18
+ var commandName = "BatchDeleteClusterSnapshotsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchDeleteClusterSnapshotsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchDeleteClusterSnapshotsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchDeleteClusterSnapshotsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryBatchDeleteClusterSnapshotsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchDeleteClusterSnapshotsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryBatchDeleteClusterSnapshotsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchDeleteClusterSnapshotsCommand;
38
+ }($Command));
39
+ export { BatchDeleteClusterSnapshotsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchModifyClusterSnapshotsMessageFilterSensitiveLog, BatchModifyClusterSnapshotsOutputMessageFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryBatchModifyClusterSnapshotsCommand, serializeAws_queryBatchModifyClusterSnapshotsCommand, } from "../protocols/Aws_query";
5
- export class BatchModifyClusterSnapshotsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchModifyClusterSnapshotsCommand = (function (_super) {
7
+ __extends(BatchModifyClusterSnapshotsCommand, _super);
8
+ function BatchModifyClusterSnapshotsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchModifyClusterSnapshotsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RedshiftClient";
15
- const commandName = "BatchModifyClusterSnapshotsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RedshiftClient";
18
+ var commandName = "BatchModifyClusterSnapshotsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchModifyClusterSnapshotsMessageFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchModifyClusterSnapshotsOutputMessageFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchModifyClusterSnapshotsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryBatchModifyClusterSnapshotsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchModifyClusterSnapshotsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryBatchModifyClusterSnapshotsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchModifyClusterSnapshotsCommand;
38
+ }($Command));
39
+ export { BatchModifyClusterSnapshotsCommand };