@aws-sdk/client-redshift 3.928.0 → 3.930.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 (176) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +7485 -14838
  3. package/dist-cjs/runtimeConfig.shared.js +7 -0
  4. package/dist-es/Redshift.js +2 -0
  5. package/dist-es/RedshiftClient.js +2 -0
  6. package/dist-es/commands/AcceptReservedNodeExchangeCommand.js +3 -9
  7. package/dist-es/commands/AddPartnerCommand.js +3 -9
  8. package/dist-es/commands/AssociateDataShareConsumerCommand.js +3 -9
  9. package/dist-es/commands/AuthorizeClusterSecurityGroupIngressCommand.js +3 -9
  10. package/dist-es/commands/AuthorizeDataShareCommand.js +3 -9
  11. package/dist-es/commands/AuthorizeEndpointAccessCommand.js +3 -9
  12. package/dist-es/commands/AuthorizeSnapshotAccessCommand.js +3 -9
  13. package/dist-es/commands/BatchDeleteClusterSnapshotsCommand.js +3 -9
  14. package/dist-es/commands/BatchModifyClusterSnapshotsCommand.js +3 -9
  15. package/dist-es/commands/CancelResizeCommand.js +3 -9
  16. package/dist-es/commands/CopyClusterSnapshotCommand.js +3 -9
  17. package/dist-es/commands/CreateAuthenticationProfileCommand.js +3 -9
  18. package/dist-es/commands/CreateClusterCommand.js +3 -10
  19. package/dist-es/commands/CreateClusterParameterGroupCommand.js +3 -9
  20. package/dist-es/commands/CreateClusterSecurityGroupCommand.js +3 -9
  21. package/dist-es/commands/CreateClusterSnapshotCommand.js +3 -9
  22. package/dist-es/commands/CreateClusterSubnetGroupCommand.js +3 -9
  23. package/dist-es/commands/CreateCustomDomainAssociationCommand.js +3 -9
  24. package/dist-es/commands/CreateEndpointAccessCommand.js +3 -9
  25. package/dist-es/commands/CreateEventSubscriptionCommand.js +3 -9
  26. package/dist-es/commands/CreateHsmClientCertificateCommand.js +3 -9
  27. package/dist-es/commands/CreateHsmConfigurationCommand.js +3 -9
  28. package/dist-es/commands/CreateIntegrationCommand.js +3 -9
  29. package/dist-es/commands/CreateRedshiftIdcApplicationCommand.js +3 -9
  30. package/dist-es/commands/CreateScheduledActionCommand.js +3 -9
  31. package/dist-es/commands/CreateSnapshotCopyGrantCommand.js +3 -9
  32. package/dist-es/commands/CreateSnapshotScheduleCommand.js +3 -9
  33. package/dist-es/commands/CreateTagsCommand.js +3 -9
  34. package/dist-es/commands/CreateUsageLimitCommand.js +3 -9
  35. package/dist-es/commands/DeauthorizeDataShareCommand.js +3 -9
  36. package/dist-es/commands/DeleteAuthenticationProfileCommand.js +3 -9
  37. package/dist-es/commands/DeleteClusterCommand.js +3 -10
  38. package/dist-es/commands/DeleteClusterParameterGroupCommand.js +3 -9
  39. package/dist-es/commands/DeleteClusterSecurityGroupCommand.js +3 -9
  40. package/dist-es/commands/DeleteClusterSnapshotCommand.js +3 -9
  41. package/dist-es/commands/DeleteClusterSubnetGroupCommand.js +3 -9
  42. package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +3 -9
  43. package/dist-es/commands/DeleteEndpointAccessCommand.js +3 -9
  44. package/dist-es/commands/DeleteEventSubscriptionCommand.js +3 -9
  45. package/dist-es/commands/DeleteHsmClientCertificateCommand.js +3 -9
  46. package/dist-es/commands/DeleteHsmConfigurationCommand.js +3 -9
  47. package/dist-es/commands/DeleteIntegrationCommand.js +3 -9
  48. package/dist-es/commands/DeletePartnerCommand.js +3 -9
  49. package/dist-es/commands/DeleteRedshiftIdcApplicationCommand.js +3 -9
  50. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  51. package/dist-es/commands/DeleteScheduledActionCommand.js +3 -9
  52. package/dist-es/commands/DeleteSnapshotCopyGrantCommand.js +3 -9
  53. package/dist-es/commands/DeleteSnapshotScheduleCommand.js +3 -9
  54. package/dist-es/commands/DeleteTagsCommand.js +3 -9
  55. package/dist-es/commands/DeleteUsageLimitCommand.js +3 -9
  56. package/dist-es/commands/DeregisterNamespaceCommand.js +3 -9
  57. package/dist-es/commands/DescribeAccountAttributesCommand.js +3 -9
  58. package/dist-es/commands/DescribeAuthenticationProfilesCommand.js +3 -9
  59. package/dist-es/commands/DescribeClusterDbRevisionsCommand.js +3 -9
  60. package/dist-es/commands/DescribeClusterParameterGroupsCommand.js +3 -9
  61. package/dist-es/commands/DescribeClusterParametersCommand.js +3 -9
  62. package/dist-es/commands/DescribeClusterSecurityGroupsCommand.js +3 -9
  63. package/dist-es/commands/DescribeClusterSnapshotsCommand.js +3 -9
  64. package/dist-es/commands/DescribeClusterSubnetGroupsCommand.js +3 -9
  65. package/dist-es/commands/DescribeClusterTracksCommand.js +3 -9
  66. package/dist-es/commands/DescribeClusterVersionsCommand.js +3 -9
  67. package/dist-es/commands/DescribeClustersCommand.js +3 -10
  68. package/dist-es/commands/DescribeCustomDomainAssociationsCommand.js +3 -9
  69. package/dist-es/commands/DescribeDataSharesCommand.js +3 -9
  70. package/dist-es/commands/DescribeDataSharesForConsumerCommand.js +3 -9
  71. package/dist-es/commands/DescribeDataSharesForProducerCommand.js +3 -9
  72. package/dist-es/commands/DescribeDefaultClusterParametersCommand.js +3 -9
  73. package/dist-es/commands/DescribeEndpointAccessCommand.js +3 -9
  74. package/dist-es/commands/DescribeEndpointAuthorizationCommand.js +3 -9
  75. package/dist-es/commands/DescribeEventCategoriesCommand.js +3 -9
  76. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +3 -9
  77. package/dist-es/commands/DescribeEventsCommand.js +3 -9
  78. package/dist-es/commands/DescribeHsmClientCertificatesCommand.js +3 -9
  79. package/dist-es/commands/DescribeHsmConfigurationsCommand.js +3 -9
  80. package/dist-es/commands/DescribeInboundIntegrationsCommand.js +3 -9
  81. package/dist-es/commands/DescribeIntegrationsCommand.js +3 -9
  82. package/dist-es/commands/DescribeLoggingStatusCommand.js +3 -9
  83. package/dist-es/commands/DescribeNodeConfigurationOptionsCommand.js +3 -9
  84. package/dist-es/commands/DescribeOrderableClusterOptionsCommand.js +3 -9
  85. package/dist-es/commands/DescribePartnersCommand.js +3 -9
  86. package/dist-es/commands/DescribeRedshiftIdcApplicationsCommand.js +3 -9
  87. package/dist-es/commands/DescribeReservedNodeExchangeStatusCommand.js +3 -9
  88. package/dist-es/commands/DescribeReservedNodeOfferingsCommand.js +3 -9
  89. package/dist-es/commands/DescribeReservedNodesCommand.js +3 -9
  90. package/dist-es/commands/DescribeResizeCommand.js +3 -9
  91. package/dist-es/commands/DescribeScheduledActionsCommand.js +3 -9
  92. package/dist-es/commands/DescribeSnapshotCopyGrantsCommand.js +3 -9
  93. package/dist-es/commands/DescribeSnapshotSchedulesCommand.js +3 -9
  94. package/dist-es/commands/DescribeStorageCommand.js +3 -9
  95. package/dist-es/commands/DescribeTableRestoreStatusCommand.js +3 -9
  96. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  97. package/dist-es/commands/DescribeUsageLimitsCommand.js +3 -9
  98. package/dist-es/commands/DisableLoggingCommand.js +3 -9
  99. package/dist-es/commands/DisableSnapshotCopyCommand.js +3 -10
  100. package/dist-es/commands/DisassociateDataShareConsumerCommand.js +3 -9
  101. package/dist-es/commands/EnableLoggingCommand.js +3 -9
  102. package/dist-es/commands/EnableSnapshotCopyCommand.js +3 -10
  103. package/dist-es/commands/FailoverPrimaryComputeCommand.js +3 -10
  104. package/dist-es/commands/GetClusterCredentialsCommand.js +3 -10
  105. package/dist-es/commands/GetClusterCredentialsWithIAMCommand.js +3 -10
  106. package/dist-es/commands/GetIdentityCenterAuthTokenCommand.js +16 -0
  107. package/dist-es/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +3 -9
  108. package/dist-es/commands/GetReservedNodeExchangeOfferingsCommand.js +3 -9
  109. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  110. package/dist-es/commands/ListRecommendationsCommand.js +3 -9
  111. package/dist-es/commands/ModifyAquaConfigurationCommand.js +3 -9
  112. package/dist-es/commands/ModifyAuthenticationProfileCommand.js +3 -9
  113. package/dist-es/commands/ModifyClusterCommand.js +3 -10
  114. package/dist-es/commands/ModifyClusterDbRevisionCommand.js +3 -10
  115. package/dist-es/commands/ModifyClusterIamRolesCommand.js +3 -10
  116. package/dist-es/commands/ModifyClusterMaintenanceCommand.js +3 -10
  117. package/dist-es/commands/ModifyClusterParameterGroupCommand.js +3 -9
  118. package/dist-es/commands/ModifyClusterSnapshotCommand.js +3 -9
  119. package/dist-es/commands/ModifyClusterSnapshotScheduleCommand.js +3 -9
  120. package/dist-es/commands/ModifyClusterSubnetGroupCommand.js +3 -9
  121. package/dist-es/commands/ModifyCustomDomainAssociationCommand.js +3 -9
  122. package/dist-es/commands/ModifyEndpointAccessCommand.js +3 -9
  123. package/dist-es/commands/ModifyEventSubscriptionCommand.js +3 -9
  124. package/dist-es/commands/ModifyIntegrationCommand.js +3 -9
  125. package/dist-es/commands/ModifyRedshiftIdcApplicationCommand.js +3 -9
  126. package/dist-es/commands/ModifyScheduledActionCommand.js +3 -9
  127. package/dist-es/commands/ModifySnapshotCopyRetentionPeriodCommand.js +3 -10
  128. package/dist-es/commands/ModifySnapshotScheduleCommand.js +3 -9
  129. package/dist-es/commands/ModifyUsageLimitCommand.js +3 -9
  130. package/dist-es/commands/PauseClusterCommand.js +3 -10
  131. package/dist-es/commands/PurchaseReservedNodeOfferingCommand.js +3 -9
  132. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  133. package/dist-es/commands/RebootClusterCommand.js +3 -10
  134. package/dist-es/commands/RegisterNamespaceCommand.js +3 -9
  135. package/dist-es/commands/RejectDataShareCommand.js +3 -9
  136. package/dist-es/commands/ResetClusterParameterGroupCommand.js +3 -9
  137. package/dist-es/commands/ResizeClusterCommand.js +3 -10
  138. package/dist-es/commands/RestoreFromClusterSnapshotCommand.js +3 -10
  139. package/dist-es/commands/RestoreTableFromClusterSnapshotCommand.js +3 -9
  140. package/dist-es/commands/ResumeClusterCommand.js +3 -10
  141. package/dist-es/commands/RevokeClusterSecurityGroupIngressCommand.js +3 -9
  142. package/dist-es/commands/RevokeEndpointAccessCommand.js +3 -9
  143. package/dist-es/commands/RevokeSnapshotAccessCommand.js +3 -9
  144. package/dist-es/commands/RotateEncryptionKeyCommand.js +3 -10
  145. package/dist-es/commands/UpdatePartnerStatusCommand.js +3 -9
  146. package/dist-es/commands/index.js +1 -0
  147. package/dist-es/models/models_0.js +0 -71
  148. package/dist-es/models/models_1.js +12 -62
  149. package/dist-es/runtimeConfig.shared.js +7 -0
  150. package/dist-es/schemas/schemas_0.js +7184 -0
  151. package/dist-types/Redshift.d.ts +7 -0
  152. package/dist-types/RedshiftClient.d.ts +13 -3
  153. package/dist-types/commands/GetIdentityCenterAuthTokenCommand.d.ts +102 -0
  154. package/dist-types/commands/index.d.ts +1 -0
  155. package/dist-types/models/models_0.d.ts +16 -36
  156. package/dist-types/models/models_1.d.ts +77 -60
  157. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  158. package/dist-types/runtimeConfig.d.ts +1 -0
  159. package/dist-types/runtimeConfig.native.d.ts +1 -0
  160. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  161. package/dist-types/schemas/schemas_0.d.ts +719 -0
  162. package/dist-types/ts3.4/Redshift.d.ts +17 -0
  163. package/dist-types/ts3.4/RedshiftClient.d.ts +10 -0
  164. package/dist-types/ts3.4/commands/GetIdentityCenterAuthTokenCommand.d.ts +51 -0
  165. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  166. package/dist-types/ts3.4/models/models_0.d.ts +0 -26
  167. package/dist-types/ts3.4/models/models_1.d.ts +14 -45
  168. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  169. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  170. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  171. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  172. package/dist-types/ts3.4/schemas/schemas_0.d.ts +725 -0
  173. package/package.json +34 -34
  174. package/dist-es/protocols/Aws_query.js +0 -13715
  175. package/dist-types/protocols/Aws_query.d.ts +0 -1253
  176. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -1673
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RevokeEndpointAccessCommand, se_RevokeEndpointAccessCommand } from "../protocols/Aws_query";
4
+ import { RevokeEndpointAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RevokeEndpointAccessCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServiceVersion20121201", "RevokeEndpointAccess", {})
17
13
  .n("RedshiftClient", "RevokeEndpointAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RevokeEndpointAccessCommand)
20
- .de(de_RevokeEndpointAccessCommand)
14
+ .sc(RevokeEndpointAccess)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RevokeSnapshotAccessCommand, se_RevokeSnapshotAccessCommand } from "../protocols/Aws_query";
4
+ import { RevokeSnapshotAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RevokeSnapshotAccessCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServiceVersion20121201", "RevokeSnapshotAccess", {})
17
13
  .n("RedshiftClient", "RevokeSnapshotAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RevokeSnapshotAccessCommand)
20
- .de(de_RevokeSnapshotAccessCommand)
14
+ .sc(RevokeSnapshotAccess)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { RotateEncryptionKeyResultFilterSensitiveLog, } from "../models/models_1";
6
- import { de_RotateEncryptionKeyCommand, se_RotateEncryptionKeyCommand } from "../protocols/Aws_query";
4
+ import { RotateEncryptionKey } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class RotateEncryptionKeyCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("RedshiftServiceVersion20121201", "RotateEncryptionKey", {})
18
13
  .n("RedshiftClient", "RotateEncryptionKeyCommand")
19
- .f(void 0, RotateEncryptionKeyResultFilterSensitiveLog)
20
- .ser(se_RotateEncryptionKeyCommand)
21
- .de(de_RotateEncryptionKeyCommand)
14
+ .sc(RotateEncryptionKey)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdatePartnerStatusCommand, se_UpdatePartnerStatusCommand } from "../protocols/Aws_query";
4
+ import { UpdatePartnerStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePartnerStatusCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RedshiftServiceVersion20121201", "UpdatePartnerStatus", {})
17
13
  .n("RedshiftClient", "UpdatePartnerStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePartnerStatusCommand)
20
- .de(de_UpdatePartnerStatusCommand)
14
+ .sc(UpdatePartnerStatus)
21
15
  .build() {
22
16
  }
@@ -98,6 +98,7 @@ export * from "./EnableSnapshotCopyCommand";
98
98
  export * from "./FailoverPrimaryComputeCommand";
99
99
  export * from "./GetClusterCredentialsCommand";
100
100
  export * from "./GetClusterCredentialsWithIAMCommand";
101
+ export * from "./GetIdentityCenterAuthTokenCommand";
101
102
  export * from "./GetReservedNodeExchangeConfigurationOptionsCommand";
102
103
  export * from "./GetReservedNodeExchangeOfferingsCommand";
103
104
  export * from "./GetResourcePolicyCommand";
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
3
2
  export const ReservedNodeOfferingType = {
4
3
  Regular: "Regular",
@@ -1144,32 +1143,6 @@ export const ServiceAuthorization = {
1144
1143
  DISABLED: "Disabled",
1145
1144
  ENABLED: "Enabled",
1146
1145
  };
1147
- export var LakeFormationScopeUnion;
1148
- (function (LakeFormationScopeUnion) {
1149
- LakeFormationScopeUnion.visit = (value, visitor) => {
1150
- if (value.LakeFormationQuery !== undefined)
1151
- return visitor.LakeFormationQuery(value.LakeFormationQuery);
1152
- return visitor._(value.$unknown[0], value.$unknown[1]);
1153
- };
1154
- })(LakeFormationScopeUnion || (LakeFormationScopeUnion = {}));
1155
- export var S3AccessGrantsScopeUnion;
1156
- (function (S3AccessGrantsScopeUnion) {
1157
- S3AccessGrantsScopeUnion.visit = (value, visitor) => {
1158
- if (value.ReadWriteAccess !== undefined)
1159
- return visitor.ReadWriteAccess(value.ReadWriteAccess);
1160
- return visitor._(value.$unknown[0], value.$unknown[1]);
1161
- };
1162
- })(S3AccessGrantsScopeUnion || (S3AccessGrantsScopeUnion = {}));
1163
- export var ServiceIntegrationsUnion;
1164
- (function (ServiceIntegrationsUnion) {
1165
- ServiceIntegrationsUnion.visit = (value, visitor) => {
1166
- if (value.LakeFormation !== undefined)
1167
- return visitor.LakeFormation(value.LakeFormation);
1168
- if (value.S3AccessGrants !== undefined)
1169
- return visitor.S3AccessGrants(value.S3AccessGrants);
1170
- return visitor._(value.$unknown[0], value.$unknown[1]);
1171
- };
1172
- })(ServiceIntegrationsUnion || (ServiceIntegrationsUnion = {}));
1173
1146
  export class DependentServiceAccessDeniedFault extends __BaseException {
1174
1147
  name = "DependentServiceAccessDeniedFault";
1175
1148
  $fault = "client";
@@ -1588,47 +1561,3 @@ export class UsageLimitNotFoundFault extends __BaseException {
1588
1561
  Object.setPrototypeOf(this, UsageLimitNotFoundFault.prototype);
1589
1562
  }
1590
1563
  }
1591
- export var NamespaceIdentifierUnion;
1592
- (function (NamespaceIdentifierUnion) {
1593
- NamespaceIdentifierUnion.visit = (value, visitor) => {
1594
- if (value.ServerlessIdentifier !== undefined)
1595
- return visitor.ServerlessIdentifier(value.ServerlessIdentifier);
1596
- if (value.ProvisionedIdentifier !== undefined)
1597
- return visitor.ProvisionedIdentifier(value.ProvisionedIdentifier);
1598
- return visitor._(value.$unknown[0], value.$unknown[1]);
1599
- };
1600
- })(NamespaceIdentifierUnion || (NamespaceIdentifierUnion = {}));
1601
- export const PendingModifiedValuesFilterSensitiveLog = (obj) => ({
1602
- ...obj,
1603
- ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
1604
- });
1605
- export const ClusterFilterSensitiveLog = (obj) => ({
1606
- ...obj,
1607
- ...(obj.PendingModifiedValues && {
1608
- PendingModifiedValues: PendingModifiedValuesFilterSensitiveLog(obj.PendingModifiedValues),
1609
- }),
1610
- });
1611
- export const ClusterCredentialsFilterSensitiveLog = (obj) => ({
1612
- ...obj,
1613
- ...(obj.DbPassword && { DbPassword: SENSITIVE_STRING }),
1614
- });
1615
- export const ClusterExtendedCredentialsFilterSensitiveLog = (obj) => ({
1616
- ...obj,
1617
- ...(obj.DbPassword && { DbPassword: SENSITIVE_STRING }),
1618
- });
1619
- export const ClustersMessageFilterSensitiveLog = (obj) => ({
1620
- ...obj,
1621
- ...(obj.Clusters && { Clusters: obj.Clusters.map((item) => ClusterFilterSensitiveLog(item)) }),
1622
- });
1623
- export const CreateClusterMessageFilterSensitiveLog = (obj) => ({
1624
- ...obj,
1625
- ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
1626
- });
1627
- export const CreateClusterResultFilterSensitiveLog = (obj) => ({
1628
- ...obj,
1629
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
1630
- });
1631
- export const DeleteClusterResultFilterSensitiveLog = (obj) => ({
1632
- ...obj,
1633
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
1634
- });
@@ -1,5 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { ClusterFilterSensitiveLog, } from "./models_0";
3
1
  import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
4
2
  export const NamespaceRegistrationStatus = {
5
3
  DEREGISTERING: "Deregistering",
@@ -192,6 +190,18 @@ export class EndpointAuthorizationNotFoundFault extends __BaseException {
192
190
  Object.setPrototypeOf(this, EndpointAuthorizationNotFoundFault.prototype);
193
191
  }
194
192
  }
193
+ export class RedshiftInvalidParameterFault extends __BaseException {
194
+ name = "RedshiftInvalidParameterFault";
195
+ $fault = "client";
196
+ constructor(opts) {
197
+ super({
198
+ name: "RedshiftInvalidParameterFault",
199
+ $fault: "client",
200
+ ...opts,
201
+ });
202
+ Object.setPrototypeOf(this, RedshiftInvalidParameterFault.prototype);
203
+ }
204
+ }
195
205
  export const ReservedNodeExchangeActionType = {
196
206
  RESIZE_CLUSTER: "resize-cluster",
197
207
  RESTORE_CLUSTER: "restore-cluster",
@@ -325,63 +335,3 @@ export class ReservedNodeQuotaExceededFault extends __BaseException {
325
335
  Object.setPrototypeOf(this, ReservedNodeQuotaExceededFault.prototype);
326
336
  }
327
337
  }
328
- export const DisableSnapshotCopyResultFilterSensitiveLog = (obj) => ({
329
- ...obj,
330
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
331
- });
332
- export const EnableSnapshotCopyResultFilterSensitiveLog = (obj) => ({
333
- ...obj,
334
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
335
- });
336
- export const FailoverPrimaryComputeResultFilterSensitiveLog = (obj) => ({
337
- ...obj,
338
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
339
- });
340
- export const ModifyClusterMessageFilterSensitiveLog = (obj) => ({
341
- ...obj,
342
- ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
343
- });
344
- export const ModifyClusterResultFilterSensitiveLog = (obj) => ({
345
- ...obj,
346
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
347
- });
348
- export const ModifyClusterDbRevisionResultFilterSensitiveLog = (obj) => ({
349
- ...obj,
350
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
351
- });
352
- export const ModifyClusterIamRolesResultFilterSensitiveLog = (obj) => ({
353
- ...obj,
354
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
355
- });
356
- export const ModifyClusterMaintenanceResultFilterSensitiveLog = (obj) => ({
357
- ...obj,
358
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
359
- });
360
- export const ModifySnapshotCopyRetentionPeriodResultFilterSensitiveLog = (obj) => ({
361
- ...obj,
362
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
363
- });
364
- export const PauseClusterResultFilterSensitiveLog = (obj) => ({
365
- ...obj,
366
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
367
- });
368
- export const RebootClusterResultFilterSensitiveLog = (obj) => ({
369
- ...obj,
370
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
371
- });
372
- export const ResizeClusterResultFilterSensitiveLog = (obj) => ({
373
- ...obj,
374
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
375
- });
376
- export const RestoreFromClusterSnapshotResultFilterSensitiveLog = (obj) => ({
377
- ...obj,
378
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
379
- });
380
- export const ResumeClusterResultFilterSensitiveLog = (obj) => ({
381
- ...obj,
382
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
383
- });
384
- export const RotateEncryptionKeyResultFilterSensitiveLog = (obj) => ({
385
- ...obj,
386
- ...(obj.Cluster && { Cluster: ClusterFilterSensitiveLog(obj.Cluster) }),
387
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsQueryProtocol({
28
+ defaultNamespace: "com.amazonaws.redshift",
29
+ xmlNamespace: "http://redshift.amazonaws.com/doc/2012-12-01/",
30
+ version: "2012-12-01",
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Redshift",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,