@aws-sdk/client-redshift 3.437.0 → 3.441.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 (72) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Redshift.js +2 -0
  3. package/dist-cjs/commands/FailoverPrimaryComputeCommand.js +52 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoint/endpointResolver.js +1 -1
  6. package/dist-cjs/index.js +1 -0
  7. package/dist-cjs/models/models_0.js +15 -2
  8. package/dist-cjs/models/models_1.js +6 -1
  9. package/dist-cjs/protocols/Aws_query.js +211 -5
  10. package/dist-es/Redshift.js +2 -0
  11. package/dist-es/commands/FailoverPrimaryComputeCommand.js +48 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/endpoint/endpointResolver.js +1 -1
  14. package/dist-es/index.js +1 -0
  15. package/dist-es/models/models_0.js +12 -0
  16. package/dist-es/models/models_1.js +4 -0
  17. package/dist-es/protocols/Aws_query.js +205 -1
  18. package/dist-types/Redshift.d.ts +7 -0
  19. package/dist-types/RedshiftClient.d.ts +3 -2
  20. package/dist-types/commands/AddPartnerCommand.d.ts +3 -0
  21. package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +4 -0
  22. package/dist-types/commands/CreateClusterCommand.d.ts +22 -0
  23. package/dist-types/commands/CreateClusterSubnetGroupCommand.d.ts +3 -0
  24. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -0
  25. package/dist-types/commands/CreateScheduledActionCommand.d.ts +7 -0
  26. package/dist-types/commands/DeleteClusterCommand.d.ts +13 -0
  27. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -0
  28. package/dist-types/commands/DeletePartnerCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeClustersCommand.d.ts +13 -0
  31. package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -0
  32. package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -2
  34. package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +3 -0
  35. package/dist-types/commands/DescribePartnersCommand.d.ts +3 -0
  36. package/dist-types/commands/DescribeResizeCommand.d.ts +3 -0
  37. package/dist-types/commands/DisableLoggingCommand.d.ts +3 -0
  38. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +16 -0
  39. package/dist-types/commands/EnableLoggingCommand.d.ts +3 -0
  40. package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +13 -0
  41. package/dist-types/commands/FailoverPrimaryComputeCommand.d.ts +274 -0
  42. package/dist-types/commands/ModifyClusterCommand.d.ts +19 -0
  43. package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +16 -0
  44. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +13 -0
  45. package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +13 -0
  46. package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +3 -0
  47. package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +1 -0
  48. package/dist-types/commands/ModifyScheduledActionCommand.d.ts +7 -0
  49. package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +13 -0
  50. package/dist-types/commands/PauseClusterCommand.d.ts +16 -0
  51. package/dist-types/commands/RebootClusterCommand.d.ts +13 -0
  52. package/dist-types/commands/ResizeClusterCommand.d.ts +13 -0
  53. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +19 -0
  54. package/dist-types/commands/ResumeClusterCommand.d.ts +16 -0
  55. package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +16 -0
  56. package/dist-types/commands/UpdatePartnerStatusCommand.d.ts +3 -0
  57. package/dist-types/commands/index.d.ts +1 -0
  58. package/dist-types/index.d.ts +1 -0
  59. package/dist-types/models/models_0.d.ts +64 -31
  60. package/dist-types/models/models_1.d.ts +76 -1
  61. package/dist-types/protocols/Aws_query.d.ts +9 -0
  62. package/dist-types/ts3.4/Redshift.d.ts +17 -0
  63. package/dist-types/ts3.4/RedshiftClient.d.ts +6 -0
  64. package/dist-types/ts3.4/commands/DescribeEndpointAuthorizationCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/FailoverPrimaryComputeCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  68. package/dist-types/ts3.4/index.d.ts +1 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +18 -7
  70. package/dist-types/ts3.4/models/models_1.d.ts +21 -0
  71. package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  72. package/package.json +7 -6
package/README.md CHANGED
@@ -943,6 +943,14 @@ EnableSnapshotCopy
943
943
 
944
944
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/enablesnapshotcopycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/enablesnapshotcopycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/enablesnapshotcopycommandoutput.html)
945
945
 
946
+ </details>
947
+ <details>
948
+ <summary>
949
+ FailoverPrimaryCompute
950
+ </summary>
951
+
952
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/failoverprimarycomputecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/failoverprimarycomputecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/failoverprimarycomputecommandoutput.html)
953
+
946
954
  </details>
947
955
  <details>
948
956
  <summary>
@@ -92,6 +92,7 @@ const DisableSnapshotCopyCommand_1 = require("./commands/DisableSnapshotCopyComm
92
92
  const DisassociateDataShareConsumerCommand_1 = require("./commands/DisassociateDataShareConsumerCommand");
93
93
  const EnableLoggingCommand_1 = require("./commands/EnableLoggingCommand");
94
94
  const EnableSnapshotCopyCommand_1 = require("./commands/EnableSnapshotCopyCommand");
95
+ const FailoverPrimaryComputeCommand_1 = require("./commands/FailoverPrimaryComputeCommand");
95
96
  const GetClusterCredentialsCommand_1 = require("./commands/GetClusterCredentialsCommand");
96
97
  const GetClusterCredentialsWithIAMCommand_1 = require("./commands/GetClusterCredentialsWithIAMCommand");
97
98
  const GetReservedNodeExchangeConfigurationOptionsCommand_1 = require("./commands/GetReservedNodeExchangeConfigurationOptionsCommand");
@@ -221,6 +222,7 @@ const commands = {
221
222
  DisassociateDataShareConsumerCommand: DisassociateDataShareConsumerCommand_1.DisassociateDataShareConsumerCommand,
222
223
  EnableLoggingCommand: EnableLoggingCommand_1.EnableLoggingCommand,
223
224
  EnableSnapshotCopyCommand: EnableSnapshotCopyCommand_1.EnableSnapshotCopyCommand,
225
+ FailoverPrimaryComputeCommand: FailoverPrimaryComputeCommand_1.FailoverPrimaryComputeCommand,
224
226
  GetClusterCredentialsCommand: GetClusterCredentialsCommand_1.GetClusterCredentialsCommand,
225
227
  GetClusterCredentialsWithIAMCommand: GetClusterCredentialsWithIAMCommand_1.GetClusterCredentialsWithIAMCommand,
226
228
  GetReservedNodeExchangeConfigurationOptionsCommand: GetReservedNodeExchangeConfigurationOptionsCommand_1.GetReservedNodeExchangeConfigurationOptionsCommand,
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FailoverPrimaryComputeCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_1_1 = require("../models/models_1");
10
+ const Aws_query_1 = require("../protocols/Aws_query");
11
+ class FailoverPrimaryComputeCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, FailoverPrimaryComputeCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "RedshiftClient";
30
+ const commandName = "FailoverPrimaryComputeCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_1_1.FailoverPrimaryComputeResultFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "RedshiftServiceVersion20121201",
39
+ operation: "FailoverPrimaryCompute",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_query_1.se_FailoverPrimaryComputeCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_query_1.de_FailoverPrimaryComputeCommand)(output, context);
50
+ }
51
+ }
52
+ exports.FailoverPrimaryComputeCommand = FailoverPrimaryComputeCommand;
@@ -91,6 +91,7 @@ tslib_1.__exportStar(require("./DisableSnapshotCopyCommand"), exports);
91
91
  tslib_1.__exportStar(require("./DisassociateDataShareConsumerCommand"), exports);
92
92
  tslib_1.__exportStar(require("./EnableLoggingCommand"), exports);
93
93
  tslib_1.__exportStar(require("./EnableSnapshotCopyCommand"), exports);
94
+ tslib_1.__exportStar(require("./FailoverPrimaryComputeCommand"), exports);
94
95
  tslib_1.__exportStar(require("./GetClusterCredentialsCommand"), exports);
95
96
  tslib_1.__exportStar(require("./GetClusterCredentialsWithIAMCommand"), exports);
96
97
  tslib_1.__exportStar(require("./GetReservedNodeExchangeConfigurationOptionsCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@aws-sdk/util-endpoints");
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
5
  const ruleset_1 = require("./ruleset");
6
6
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
7
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
package/dist-cjs/index.js CHANGED
@@ -8,5 +8,6 @@ tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./pagination"), exports);
9
9
  tslib_1.__exportStar(require("./waiters"), exports);
10
10
  tslib_1.__exportStar(require("./models"), exports);
11
+ require("@aws-sdk/util-endpoints");
11
12
  var RedshiftServiceException_1 = require("./models/RedshiftServiceException");
12
13
  Object.defineProperty(exports, "RedshiftServiceException", { enumerable: true, get: function () { return RedshiftServiceException_1.RedshiftServiceException; } });
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ClusterQuotaExceededFault = exports.ClusterParameterGroupQuotaExceededFault = exports.ClusterParameterGroupNotFoundFault = exports.ParameterApplyType = exports.ClusterParameterGroupAlreadyExistsFault = exports.ClusterOnLatestRevisionFault = exports.ClusterAlreadyExistsFault = exports.ReservedNodeExchangeStatusType = exports.ResizeNotFoundFault = exports.BucketNotFoundFault = exports.InvalidRetentionPeriodFault = exports.BatchModifyClusterSnapshotsLimitExceededFault = exports.BatchDeleteRequestSizeExceededFault = exports.LimitExceededFault = exports.InvalidClusterSnapshotStateFault = exports.DependentServiceRequestThrottlingFault = exports.ClusterSnapshotNotFoundFault = exports.InvalidClusterStateFault = exports.InvalidAuthorizationStateFault = exports.EndpointAuthorizationsPerClusterLimitExceededFault = exports.EndpointAuthorizationAlreadyExistsFault = exports.InvalidClusterSecurityGroupStateFault = exports.ClusterSecurityGroupNotFoundFault = exports.AuthorizationStatus = exports.AuthorizationQuotaExceededFault = exports.AuthorizationNotFoundFault = exports.AuthorizationAlreadyExistsFault = exports.AuthenticationProfileQuotaExceededFault = exports.AuthenticationProfileNotFoundFault = exports.AuthenticationProfileAlreadyExistsFault = exports.ScheduleState = exports.InvalidNamespaceFault = exports.InvalidDataShareFault = exports.DataShareStatus = exports.AquaStatus = exports.AquaConfigurationStatus = exports.UnauthorizedPartnerIntegrationFault = exports.PartnerNotFoundFault = exports.ClusterNotFoundFault = exports.ActionType = exports.AccessToSnapshotDeniedFault = exports.AccessToClusterDeniedFault = exports.UnsupportedOperationFault = exports.ReservedNodeOfferingNotFoundFault = exports.ReservedNodeNotFoundFault = exports.ReservedNodeAlreadyMigratedFault = exports.ReservedNodeAlreadyExistsFault = exports.InvalidReservedNodeStateFault = exports.DependentServiceUnavailableFault = exports.ReservedNodeOfferingType = void 0;
4
- exports.SnapshotCopyGrantQuotaExceededFault = exports.SnapshotCopyGrantAlreadyExistsFault = exports.ScheduledActionTypeUnsupportedFault = exports.ScheduledActionQuotaExceededFault = exports.ScheduledActionAlreadyExistsFault = exports.ScheduledActionState = exports.InvalidScheduleFault = exports.InvalidScheduledActionFault = exports.HsmConfigurationQuotaExceededFault = exports.HsmConfigurationAlreadyExistsFault = exports.HsmClientCertificateQuotaExceededFault = exports.HsmClientCertificateAlreadyExistsFault = exports.SubscriptionSeverityNotFoundFault = exports.SubscriptionEventIdNotFoundFault = exports.SubscriptionCategoryNotFoundFault = exports.SubscriptionAlreadyExistFault = exports.SourceNotFoundFault = exports.SNSTopicArnNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.EndpointsPerClusterLimitExceededFault = exports.EndpointsPerAuthorizationLimitExceededFault = exports.EndpointAlreadyExistsFault = exports.CustomCnameAssociationFault = exports.UnauthorizedOperation = exports.TagLimitExceededFault = exports.SnapshotScheduleNotFoundFault = exports.NumberOfNodesQuotaExceededFault = exports.NumberOfNodesPerClusterLimitExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidTagFault = exports.InvalidSubnet = exports.InvalidElasticIpFault = exports.InvalidClusterTrackFault = exports.InvalidClusterSubnetGroupStateFault = exports.InsufficientClusterCapacityFault = exports.HsmConfigurationNotFoundFault = exports.HsmClientCertificateNotFoundFault = exports.InvalidAuthenticationProfileRequestFault = exports.CopyToRegionDisabledFault = exports.ConflictPolicyUpdateFault = exports.ClusterSubnetQuotaExceededFault = exports.ClusterSubnetGroupQuotaExceededFault = exports.ClusterSubnetGroupNotFoundFault = exports.ClusterSubnetGroupAlreadyExistsFault = exports.ClusterSnapshotQuotaExceededFault = exports.ClusterSnapshotAlreadyExistsFault = exports.ClusterSecurityGroupQuotaExceededFault = exports.ClusterSecurityGroupAlreadyExistsFault = void 0;
5
- exports.DeleteClusterResultFilterSensitiveLog = exports.CreateClusterResultFilterSensitiveLog = exports.CreateClusterMessageFilterSensitiveLog = exports.ClustersMessageFilterSensitiveLog = exports.ClusterExtendedCredentialsFilterSensitiveLog = exports.ClusterCredentialsFilterSensitiveLog = exports.ClusterFilterSensitiveLog = exports.PendingModifiedValuesFilterSensitiveLog = exports.SortByOrder = exports.SnapshotAttributeToSortBy = exports.UsageLimitNotFoundFault = exports.InvalidClusterSnapshotScheduleStateFault = exports.SnapshotCopyGrantNotFoundFault = exports.InvalidSnapshotCopyGrantStateFault = exports.ScheduledActionNotFoundFault = exports.InvalidHsmConfigurationStateFault = exports.InvalidHsmClientCertificateStateFault = exports.SubscriptionNotFoundFault = exports.InvalidSubscriptionStateFault = exports.InvalidEndpointStateFault = exports.EndpointNotFoundFault = exports.InvalidClusterSubnetStateFault = exports.InvalidClusterParameterGroupStateFault = exports.DataShareStatusForProducer = exports.DataShareStatusForConsumer = exports.CustomDomainAssociationNotFoundFault = exports.UsageLimitAlreadyExistsFault = exports.InvalidUsageLimitFault = exports.UsageLimitPeriod = exports.UsageLimitLimitType = exports.UsageLimitFeatureType = exports.UsageLimitBreachAction = exports.ResourceNotFoundFault = exports.SnapshotScheduleQuotaExceededFault = exports.SnapshotScheduleAlreadyExistsFault = exports.ScheduleDefinitionTypeUnsupportedFault = void 0;
4
+ exports.SnapshotCopyGrantAlreadyExistsFault = exports.ScheduledActionTypeUnsupportedFault = exports.ScheduledActionQuotaExceededFault = exports.ScheduledActionAlreadyExistsFault = exports.ScheduledActionState = exports.InvalidScheduleFault = exports.InvalidScheduledActionFault = exports.HsmConfigurationQuotaExceededFault = exports.HsmConfigurationAlreadyExistsFault = exports.HsmClientCertificateQuotaExceededFault = exports.HsmClientCertificateAlreadyExistsFault = exports.SubscriptionSeverityNotFoundFault = exports.SubscriptionEventIdNotFoundFault = exports.SubscriptionCategoryNotFoundFault = exports.SubscriptionAlreadyExistFault = exports.SourceNotFoundFault = exports.SNSTopicArnNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.EndpointsPerClusterLimitExceededFault = exports.EndpointsPerAuthorizationLimitExceededFault = exports.EndpointAlreadyExistsFault = exports.CustomCnameAssociationFault = exports.UnauthorizedOperation = exports.TagLimitExceededFault = exports.SnapshotScheduleNotFoundFault = exports.NumberOfNodesQuotaExceededFault = exports.NumberOfNodesPerClusterLimitExceededFault = exports.Ipv6CidrBlockNotFoundFault = exports.InvalidVPCNetworkStateFault = exports.InvalidTagFault = exports.InvalidSubnet = exports.InvalidElasticIpFault = exports.InvalidClusterTrackFault = exports.InvalidClusterSubnetGroupStateFault = exports.InsufficientClusterCapacityFault = exports.HsmConfigurationNotFoundFault = exports.HsmClientCertificateNotFoundFault = exports.InvalidAuthenticationProfileRequestFault = exports.CopyToRegionDisabledFault = exports.ConflictPolicyUpdateFault = exports.ClusterSubnetQuotaExceededFault = exports.ClusterSubnetGroupQuotaExceededFault = exports.ClusterSubnetGroupNotFoundFault = exports.ClusterSubnetGroupAlreadyExistsFault = exports.ClusterSnapshotQuotaExceededFault = exports.ClusterSnapshotAlreadyExistsFault = exports.ClusterSecurityGroupQuotaExceededFault = exports.ClusterSecurityGroupAlreadyExistsFault = void 0;
5
+ exports.DeleteClusterResultFilterSensitiveLog = exports.CreateClusterResultFilterSensitiveLog = exports.CreateClusterMessageFilterSensitiveLog = exports.ClustersMessageFilterSensitiveLog = exports.ClusterExtendedCredentialsFilterSensitiveLog = exports.ClusterCredentialsFilterSensitiveLog = exports.ClusterFilterSensitiveLog = exports.PendingModifiedValuesFilterSensitiveLog = exports.SortByOrder = exports.SnapshotAttributeToSortBy = exports.UsageLimitNotFoundFault = exports.InvalidClusterSnapshotScheduleStateFault = exports.SnapshotCopyGrantNotFoundFault = exports.InvalidSnapshotCopyGrantStateFault = exports.ScheduledActionNotFoundFault = exports.InvalidHsmConfigurationStateFault = exports.InvalidHsmClientCertificateStateFault = exports.SubscriptionNotFoundFault = exports.InvalidSubscriptionStateFault = exports.InvalidEndpointStateFault = exports.EndpointNotFoundFault = exports.InvalidClusterSubnetStateFault = exports.InvalidClusterParameterGroupStateFault = exports.DataShareStatusForProducer = exports.DataShareStatusForConsumer = exports.CustomDomainAssociationNotFoundFault = exports.UsageLimitAlreadyExistsFault = exports.InvalidUsageLimitFault = exports.UsageLimitPeriod = exports.UsageLimitLimitType = exports.UsageLimitFeatureType = exports.UsageLimitBreachAction = exports.ResourceNotFoundFault = exports.SnapshotScheduleQuotaExceededFault = exports.SnapshotScheduleAlreadyExistsFault = exports.ScheduleDefinitionTypeUnsupportedFault = exports.SnapshotCopyGrantQuotaExceededFault = void 0;
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const RedshiftServiceException_1 = require("./RedshiftServiceException");
8
8
  exports.ReservedNodeOfferingType = {
@@ -846,6 +846,19 @@ class InvalidVPCNetworkStateFault extends RedshiftServiceException_1.RedshiftSer
846
846
  }
847
847
  }
848
848
  exports.InvalidVPCNetworkStateFault = InvalidVPCNetworkStateFault;
849
+ class Ipv6CidrBlockNotFoundFault extends RedshiftServiceException_1.RedshiftServiceException {
850
+ constructor(opts) {
851
+ super({
852
+ name: "Ipv6CidrBlockNotFoundFault",
853
+ $fault: "client",
854
+ ...opts,
855
+ });
856
+ this.name = "Ipv6CidrBlockNotFoundFault";
857
+ this.$fault = "client";
858
+ Object.setPrototypeOf(this, Ipv6CidrBlockNotFoundFault.prototype);
859
+ }
860
+ }
861
+ exports.Ipv6CidrBlockNotFoundFault = Ipv6CidrBlockNotFoundFault;
849
862
  class NumberOfNodesPerClusterLimitExceededFault extends RedshiftServiceException_1.RedshiftServiceException {
850
863
  constructor(opts) {
851
864
  super({
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RotateEncryptionKeyResultFilterSensitiveLog = exports.ResumeClusterResultFilterSensitiveLog = exports.RestoreFromClusterSnapshotResultFilterSensitiveLog = exports.ResizeClusterResultFilterSensitiveLog = exports.RebootClusterResultFilterSensitiveLog = exports.PauseClusterResultFilterSensitiveLog = exports.ModifySnapshotCopyRetentionPeriodResultFilterSensitiveLog = exports.ModifyClusterMaintenanceResultFilterSensitiveLog = exports.ModifyClusterIamRolesResultFilterSensitiveLog = exports.ModifyClusterDbRevisionResultFilterSensitiveLog = exports.ModifyClusterResultFilterSensitiveLog = exports.ModifyClusterMessageFilterSensitiveLog = exports.EnableSnapshotCopyResultFilterSensitiveLog = exports.DisableSnapshotCopyResultFilterSensitiveLog = exports.ReservedNodeQuotaExceededFault = exports.SnapshotScheduleUpdateInProgressFault = exports.SnapshotCopyDisabledFault = exports.SubnetAlreadyInUse = exports.UnsupportedOptionFault = exports.TableLimitExceededFault = exports.InvalidTableRestoreArgumentFault = exports.InvalidRestoreFault = exports.InProgressTableRestoreQuotaExceededFault = exports.InvalidPolicyFault = exports.ReservedNodeExchangeActionType = exports.EndpointAuthorizationNotFoundFault = exports.UnknownSnapshotCopyRegionFault = exports.SnapshotCopyAlreadyEnabledFault = exports.IncompatibleOrderableOptions = exports.InvalidS3KeyPrefixFault = exports.InvalidS3BucketNameFault = exports.InsufficientS3BucketPolicyFault = exports.SnapshotCopyAlreadyDisabledFault = exports.TableRestoreStatusType = exports.TableRestoreNotFoundFault = exports.ScheduledActionTypeValues = exports.ScheduledActionFilterName = exports.ReservedNodeExchangeNotFoundFault = exports.PartnerIntegrationStatus = exports.Mode = exports.OperatorType = exports.NodeConfigurationOptionsFilterName = exports.LogDestinationType = exports.IntegrationNotFoundFault = exports.ZeroETLIntegrationStatus = exports.SourceType = void 0;
3
+ exports.RotateEncryptionKeyResultFilterSensitiveLog = exports.ResumeClusterResultFilterSensitiveLog = exports.RestoreFromClusterSnapshotResultFilterSensitiveLog = exports.ResizeClusterResultFilterSensitiveLog = exports.RebootClusterResultFilterSensitiveLog = exports.PauseClusterResultFilterSensitiveLog = exports.ModifySnapshotCopyRetentionPeriodResultFilterSensitiveLog = exports.ModifyClusterMaintenanceResultFilterSensitiveLog = exports.ModifyClusterIamRolesResultFilterSensitiveLog = exports.ModifyClusterDbRevisionResultFilterSensitiveLog = exports.ModifyClusterResultFilterSensitiveLog = exports.ModifyClusterMessageFilterSensitiveLog = exports.FailoverPrimaryComputeResultFilterSensitiveLog = exports.EnableSnapshotCopyResultFilterSensitiveLog = exports.DisableSnapshotCopyResultFilterSensitiveLog = exports.ReservedNodeQuotaExceededFault = exports.SnapshotScheduleUpdateInProgressFault = exports.SnapshotCopyDisabledFault = exports.SubnetAlreadyInUse = exports.UnsupportedOptionFault = exports.TableLimitExceededFault = exports.InvalidTableRestoreArgumentFault = exports.InvalidRestoreFault = exports.InProgressTableRestoreQuotaExceededFault = exports.InvalidPolicyFault = exports.ReservedNodeExchangeActionType = exports.EndpointAuthorizationNotFoundFault = exports.UnknownSnapshotCopyRegionFault = exports.SnapshotCopyAlreadyEnabledFault = exports.IncompatibleOrderableOptions = exports.InvalidS3KeyPrefixFault = exports.InvalidS3BucketNameFault = exports.InsufficientS3BucketPolicyFault = exports.SnapshotCopyAlreadyDisabledFault = exports.TableRestoreStatusType = exports.TableRestoreNotFoundFault = exports.ScheduledActionTypeValues = exports.ScheduledActionFilterName = exports.ReservedNodeExchangeNotFoundFault = exports.PartnerIntegrationStatus = exports.Mode = exports.OperatorType = exports.NodeConfigurationOptionsFilterName = exports.LogDestinationType = exports.IntegrationNotFoundFault = exports.ZeroETLIntegrationStatus = exports.SourceType = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const models_0_1 = require("./models_0");
6
6
  const RedshiftServiceException_1 = require("./RedshiftServiceException");
@@ -352,6 +352,11 @@ const EnableSnapshotCopyResultFilterSensitiveLog = (obj) => ({
352
352
  ...(obj.Cluster && { Cluster: (0, models_0_1.ClusterFilterSensitiveLog)(obj.Cluster) }),
353
353
  });
354
354
  exports.EnableSnapshotCopyResultFilterSensitiveLog = EnableSnapshotCopyResultFilterSensitiveLog;
355
+ const FailoverPrimaryComputeResultFilterSensitiveLog = (obj) => ({
356
+ ...obj,
357
+ ...(obj.Cluster && { Cluster: (0, models_0_1.ClusterFilterSensitiveLog)(obj.Cluster) }),
358
+ });
359
+ exports.FailoverPrimaryComputeResultFilterSensitiveLog = FailoverPrimaryComputeResultFilterSensitiveLog;
355
360
  const ModifyClusterMessageFilterSensitiveLog = (obj) => ({
356
361
  ...obj,
357
362
  ...(obj.MasterUserPassword && { MasterUserPassword: smithy_client_1.SENSITIVE_STRING }),