@aws-sdk/client-redshift 3.437.0 → 3.438.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 (40) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +1 -1
  2. package/dist-cjs/index.js +1 -0
  3. package/dist-cjs/models/models_0.js +15 -2
  4. package/dist-cjs/protocols/Aws_query.js +54 -0
  5. package/dist-es/endpoint/endpointResolver.js +1 -1
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/models_0.js +12 -0
  8. package/dist-es/protocols/Aws_query.js +55 -1
  9. package/dist-types/commands/CreateClusterCommand.d.ts +7 -0
  10. package/dist-types/commands/CreateClusterSubnetGroupCommand.d.ts +3 -0
  11. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -0
  13. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +3 -0
  15. package/dist-types/commands/DescribeClustersCommand.d.ts +2 -0
  16. package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -0
  17. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -2
  18. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +2 -0
  19. package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +2 -0
  20. package/dist-types/commands/ModifyClusterCommand.d.ts +7 -0
  21. package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +2 -0
  22. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +2 -0
  23. package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +2 -0
  24. package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +3 -0
  25. package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +1 -0
  26. package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +2 -0
  27. package/dist-types/commands/PauseClusterCommand.d.ts +2 -0
  28. package/dist-types/commands/RebootClusterCommand.d.ts +2 -0
  29. package/dist-types/commands/ResizeClusterCommand.d.ts +2 -0
  30. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +7 -0
  31. package/dist-types/commands/ResumeClusterCommand.d.ts +2 -0
  32. package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +2 -0
  33. package/dist-types/index.d.ts +1 -0
  34. package/dist-types/models/models_0.d.ts +33 -13
  35. package/dist-types/models/models_1.d.ts +23 -0
  36. package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +4 -2
  37. package/dist-types/ts3.4/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +11 -3
  39. package/dist-types/ts3.4/models/models_1.d.ts +5 -0
  40. package/package.json +6 -5
@@ -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({
@@ -1971,6 +1971,9 @@ const de_CreateClusterCommandError = async (output, context) => {
1971
1971
  case "InvalidVPCNetworkStateFault":
1972
1972
  case "com.amazonaws.redshift#InvalidVPCNetworkStateFault":
1973
1973
  throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
1974
+ case "Ipv6CidrBlockNotFoundFault":
1975
+ case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
1976
+ throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
1974
1977
  case "LimitExceededFault":
1975
1978
  case "com.amazonaws.redshift#LimitExceededFault":
1976
1979
  throw await de_LimitExceededFaultRes(parsedOutput, context);
@@ -5259,6 +5262,9 @@ const de_ModifyClusterCommandError = async (output, context) => {
5259
5262
  case "InvalidRetentionPeriodFault":
5260
5263
  case "com.amazonaws.redshift#InvalidRetentionPeriodFault":
5261
5264
  throw await de_InvalidRetentionPeriodFaultRes(parsedOutput, context);
5265
+ case "Ipv6CidrBlockNotFoundFault":
5266
+ case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
5267
+ throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
5262
5268
  case "LimitExceededFault":
5263
5269
  case "com.amazonaws.redshift#LimitExceededFault":
5264
5270
  throw await de_LimitExceededFaultRes(parsedOutput, context);
@@ -6255,6 +6261,9 @@ const de_RestoreFromClusterSnapshotCommandError = async (output, context) => {
6255
6261
  case "InvalidVPCNetworkStateFault":
6256
6262
  case "com.amazonaws.redshift#InvalidVPCNetworkStateFault":
6257
6263
  throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
6264
+ case "Ipv6CidrBlockNotFoundFault":
6265
+ case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
6266
+ throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
6258
6267
  case "LimitExceededFault":
6259
6268
  case "com.amazonaws.redshift#LimitExceededFault":
6260
6269
  throw await de_LimitExceededFaultRes(parsedOutput, context);
@@ -7353,6 +7362,15 @@ const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
7353
7362
  });
7354
7363
  return (0, smithy_client_1.decorateServiceException)(exception, body);
7355
7364
  };
7365
+ const de_Ipv6CidrBlockNotFoundFaultRes = async (parsedOutput, context) => {
7366
+ const body = parsedOutput.body;
7367
+ const deserialized = de_Ipv6CidrBlockNotFoundFault(body.Error, context);
7368
+ const exception = new models_0_1.Ipv6CidrBlockNotFoundFault({
7369
+ $metadata: deserializeMetadata(parsedOutput),
7370
+ ...deserialized,
7371
+ });
7372
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
7373
+ };
7356
7374
  const de_LimitExceededFaultRes = async (parsedOutput, context) => {
7357
7375
  const body = parsedOutput.body;
7358
7376
  const deserialized = de_LimitExceededFault(body.Error, context);
@@ -8093,6 +8111,9 @@ const se_CreateClusterMessage = (input, context) => {
8093
8111
  if (input.MasterPasswordSecretKmsKeyId != null) {
8094
8112
  entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
8095
8113
  }
8114
+ if (input.IpAddressType != null) {
8115
+ entries["IpAddressType"] = input.IpAddressType;
8116
+ }
8096
8117
  return entries;
8097
8118
  };
8098
8119
  const se_CreateClusterParameterGroupMessage = (input, context) => {
@@ -9875,6 +9896,9 @@ const se_ModifyClusterMessage = (input, context) => {
9875
9896
  if (input.MasterPasswordSecretKmsKeyId != null) {
9876
9897
  entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
9877
9898
  }
9899
+ if (input.IpAddressType != null) {
9900
+ entries["IpAddressType"] = input.IpAddressType;
9901
+ }
9878
9902
  return entries;
9879
9903
  };
9880
9904
  const se_ModifyClusterParameterGroupMessage = (input, context) => {
@@ -10395,6 +10419,9 @@ const se_RestoreFromClusterSnapshotMessage = (input, context) => {
10395
10419
  if (input.MasterPasswordSecretKmsKeyId != null) {
10396
10420
  entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
10397
10421
  }
10422
+ if (input.IpAddressType != null) {
10423
+ entries["IpAddressType"] = input.IpAddressType;
10424
+ }
10398
10425
  return entries;
10399
10426
  };
10400
10427
  const se_RestoreTableFromClusterSnapshotMessage = (input, context) => {
@@ -11238,6 +11265,9 @@ const de_Cluster = (output, context) => {
11238
11265
  if (output["MasterPasswordSecretKmsKeyId"] !== undefined) {
11239
11266
  contents.MasterPasswordSecretKmsKeyId = (0, smithy_client_1.expectString)(output["MasterPasswordSecretKmsKeyId"]);
11240
11267
  }
11268
+ if (output["IpAddressType"] !== undefined) {
11269
+ contents.IpAddressType = (0, smithy_client_1.expectString)(output["IpAddressType"]);
11270
+ }
11241
11271
  return contents;
11242
11272
  };
11243
11273
  const de_ClusterAlreadyExistsFault = (output, context) => {
@@ -11676,6 +11706,13 @@ const de_ClusterSubnetGroup = (output, context) => {
11676
11706
  else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
11677
11707
  contents.Tags = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
11678
11708
  }
11709
+ if (output.SupportedClusterIpAddressTypes === "") {
11710
+ contents.SupportedClusterIpAddressTypes = [];
11711
+ }
11712
+ else if (output["SupportedClusterIpAddressTypes"] !== undefined &&
11713
+ output["SupportedClusterIpAddressTypes"]["item"] !== undefined) {
11714
+ contents.SupportedClusterIpAddressTypes = de_ValueStringList((0, smithy_client_1.getArrayIfSingleItem)(output["SupportedClusterIpAddressTypes"]["item"]), context);
11715
+ }
11679
11716
  return contents;
11680
11717
  };
11681
11718
  const de_ClusterSubnetGroupAlreadyExistsFault = (output, context) => {
@@ -13102,6 +13139,13 @@ const de_IPRangeList = (output, context) => {
13102
13139
  return de_IPRange(entry, context);
13103
13140
  });
13104
13141
  };
13142
+ const de_Ipv6CidrBlockNotFoundFault = (output, context) => {
13143
+ const contents = {};
13144
+ if (output["message"] !== undefined) {
13145
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
13146
+ }
13147
+ return contents;
13148
+ };
13105
13149
  const de_LimitExceededFault = (output, context) => {
13106
13150
  const contents = {};
13107
13151
  if (output["message"] !== undefined) {
@@ -13266,6 +13310,9 @@ const de_NetworkInterface = (output, context) => {
13266
13310
  if (output["AvailabilityZone"] !== undefined) {
13267
13311
  contents.AvailabilityZone = (0, smithy_client_1.expectString)(output["AvailabilityZone"]);
13268
13312
  }
13313
+ if (output["Ipv6Address"] !== undefined) {
13314
+ contents.Ipv6Address = (0, smithy_client_1.expectString)(output["Ipv6Address"]);
13315
+ }
13269
13316
  return contents;
13270
13317
  };
13271
13318
  const de_NetworkInterfaceList = (output, context) => {
@@ -14845,6 +14892,13 @@ const de_UsageLimits = (output, context) => {
14845
14892
  return de_UsageLimit(entry, context);
14846
14893
  });
14847
14894
  };
14895
+ const de_ValueStringList = (output, context) => {
14896
+ return (output || [])
14897
+ .filter((e) => e != null)
14898
+ .map((entry) => {
14899
+ return (0, smithy_client_1.expectString)(entry);
14900
+ });
14901
+ };
14848
14902
  const de_VpcEndpoint = (output, context) => {
14849
14903
  const contents = {};
14850
14904
  if (output["VpcEndpointId"] !== undefined) {
@@ -1,4 +1,4 @@
1
- import { resolveEndpoint } from "@aws-sdk/util-endpoints";
1
+ import { resolveEndpoint } from "@smithy/util-endpoints";
2
2
  import { ruleSet } from "./ruleset";
3
3
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
4
  return resolveEndpoint(ruleSet, {
package/dist-es/index.js CHANGED
@@ -4,4 +4,5 @@ export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
6
  export * from "./models";
7
+ import "@aws-sdk/util-endpoints";
7
8
  export { RedshiftServiceException } from "./models/RedshiftServiceException";
@@ -780,6 +780,18 @@ export class InvalidVPCNetworkStateFault extends __BaseException {
780
780
  Object.setPrototypeOf(this, InvalidVPCNetworkStateFault.prototype);
781
781
  }
782
782
  }
783
+ export class Ipv6CidrBlockNotFoundFault extends __BaseException {
784
+ constructor(opts) {
785
+ super({
786
+ name: "Ipv6CidrBlockNotFoundFault",
787
+ $fault: "client",
788
+ ...opts,
789
+ });
790
+ this.name = "Ipv6CidrBlockNotFoundFault";
791
+ this.$fault = "client";
792
+ Object.setPrototypeOf(this, Ipv6CidrBlockNotFoundFault.prototype);
793
+ }
794
+ }
783
795
  export class NumberOfNodesPerClusterLimitExceededFault extends __BaseException {
784
796
  constructor(opts) {
785
797
  super({
@@ -1,7 +1,7 @@
1
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
2
  import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
3
3
  import { XMLParser } from "fast-xml-parser";
4
- import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, ConflictPolicyUpdateFault, CopyToRegionDisabledFault, CustomCnameAssociationFault, CustomDomainAssociationNotFoundFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InsufficientClusterCapacityFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidReservedNodeStateFault, InvalidRetentionPeriodFault, InvalidScheduledActionFault, InvalidScheduleFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnsupportedOperationFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault, } from "../models/models_0";
4
+ import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, ConflictPolicyUpdateFault, CopyToRegionDisabledFault, CustomCnameAssociationFault, CustomDomainAssociationNotFoundFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InsufficientClusterCapacityFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidReservedNodeStateFault, InvalidRetentionPeriodFault, InvalidScheduledActionFault, InvalidScheduleFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, Ipv6CidrBlockNotFoundFault, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnsupportedOperationFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault, } from "../models/models_0";
5
5
  import { EndpointAuthorizationNotFoundFault, IncompatibleOrderableOptions, InProgressTableRestoreQuotaExceededFault, InsufficientS3BucketPolicyFault, IntegrationNotFoundFault, InvalidPolicyFault, InvalidRestoreFault, InvalidS3BucketNameFault, InvalidS3KeyPrefixFault, InvalidTableRestoreArgumentFault, ReservedNodeExchangeNotFoundFault, ReservedNodeQuotaExceededFault, SnapshotCopyAlreadyDisabledFault, SnapshotCopyAlreadyEnabledFault, SnapshotCopyDisabledFault, SnapshotScheduleUpdateInProgressFault, SubnetAlreadyInUse, TableLimitExceededFault, TableRestoreNotFoundFault, UnknownSnapshotCopyRegionFault, UnsupportedOptionFault, } from "../models/models_1";
6
6
  import { RedshiftServiceException as __BaseException } from "../models/RedshiftServiceException";
7
7
  export const se_AcceptReservedNodeExchangeCommand = async (input, context) => {
@@ -1823,6 +1823,9 @@ const de_CreateClusterCommandError = async (output, context) => {
1823
1823
  case "InvalidVPCNetworkStateFault":
1824
1824
  case "com.amazonaws.redshift#InvalidVPCNetworkStateFault":
1825
1825
  throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
1826
+ case "Ipv6CidrBlockNotFoundFault":
1827
+ case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
1828
+ throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
1826
1829
  case "LimitExceededFault":
1827
1830
  case "com.amazonaws.redshift#LimitExceededFault":
1828
1831
  throw await de_LimitExceededFaultRes(parsedOutput, context);
@@ -5026,6 +5029,9 @@ const de_ModifyClusterCommandError = async (output, context) => {
5026
5029
  case "InvalidRetentionPeriodFault":
5027
5030
  case "com.amazonaws.redshift#InvalidRetentionPeriodFault":
5028
5031
  throw await de_InvalidRetentionPeriodFaultRes(parsedOutput, context);
5032
+ case "Ipv6CidrBlockNotFoundFault":
5033
+ case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
5034
+ throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
5029
5035
  case "LimitExceededFault":
5030
5036
  case "com.amazonaws.redshift#LimitExceededFault":
5031
5037
  throw await de_LimitExceededFaultRes(parsedOutput, context);
@@ -6000,6 +6006,9 @@ const de_RestoreFromClusterSnapshotCommandError = async (output, context) => {
6000
6006
  case "InvalidVPCNetworkStateFault":
6001
6007
  case "com.amazonaws.redshift#InvalidVPCNetworkStateFault":
6002
6008
  throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
6009
+ case "Ipv6CidrBlockNotFoundFault":
6010
+ case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
6011
+ throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
6003
6012
  case "LimitExceededFault":
6004
6013
  case "com.amazonaws.redshift#LimitExceededFault":
6005
6014
  throw await de_LimitExceededFaultRes(parsedOutput, context);
@@ -7091,6 +7100,15 @@ const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
7091
7100
  });
7092
7101
  return __decorateServiceException(exception, body);
7093
7102
  };
7103
+ const de_Ipv6CidrBlockNotFoundFaultRes = async (parsedOutput, context) => {
7104
+ const body = parsedOutput.body;
7105
+ const deserialized = de_Ipv6CidrBlockNotFoundFault(body.Error, context);
7106
+ const exception = new Ipv6CidrBlockNotFoundFault({
7107
+ $metadata: deserializeMetadata(parsedOutput),
7108
+ ...deserialized,
7109
+ });
7110
+ return __decorateServiceException(exception, body);
7111
+ };
7094
7112
  const de_LimitExceededFaultRes = async (parsedOutput, context) => {
7095
7113
  const body = parsedOutput.body;
7096
7114
  const deserialized = de_LimitExceededFault(body.Error, context);
@@ -7831,6 +7849,9 @@ const se_CreateClusterMessage = (input, context) => {
7831
7849
  if (input.MasterPasswordSecretKmsKeyId != null) {
7832
7850
  entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
7833
7851
  }
7852
+ if (input.IpAddressType != null) {
7853
+ entries["IpAddressType"] = input.IpAddressType;
7854
+ }
7834
7855
  return entries;
7835
7856
  };
7836
7857
  const se_CreateClusterParameterGroupMessage = (input, context) => {
@@ -9613,6 +9634,9 @@ const se_ModifyClusterMessage = (input, context) => {
9613
9634
  if (input.MasterPasswordSecretKmsKeyId != null) {
9614
9635
  entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
9615
9636
  }
9637
+ if (input.IpAddressType != null) {
9638
+ entries["IpAddressType"] = input.IpAddressType;
9639
+ }
9616
9640
  return entries;
9617
9641
  };
9618
9642
  const se_ModifyClusterParameterGroupMessage = (input, context) => {
@@ -10133,6 +10157,9 @@ const se_RestoreFromClusterSnapshotMessage = (input, context) => {
10133
10157
  if (input.MasterPasswordSecretKmsKeyId != null) {
10134
10158
  entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
10135
10159
  }
10160
+ if (input.IpAddressType != null) {
10161
+ entries["IpAddressType"] = input.IpAddressType;
10162
+ }
10136
10163
  return entries;
10137
10164
  };
10138
10165
  const se_RestoreTableFromClusterSnapshotMessage = (input, context) => {
@@ -10976,6 +11003,9 @@ const de_Cluster = (output, context) => {
10976
11003
  if (output["MasterPasswordSecretKmsKeyId"] !== undefined) {
10977
11004
  contents.MasterPasswordSecretKmsKeyId = __expectString(output["MasterPasswordSecretKmsKeyId"]);
10978
11005
  }
11006
+ if (output["IpAddressType"] !== undefined) {
11007
+ contents.IpAddressType = __expectString(output["IpAddressType"]);
11008
+ }
10979
11009
  return contents;
10980
11010
  };
10981
11011
  const de_ClusterAlreadyExistsFault = (output, context) => {
@@ -11414,6 +11444,13 @@ const de_ClusterSubnetGroup = (output, context) => {
11414
11444
  else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
11415
11445
  contents.Tags = de_TagList(__getArrayIfSingleItem(output["Tags"]["Tag"]), context);
11416
11446
  }
11447
+ if (output.SupportedClusterIpAddressTypes === "") {
11448
+ contents.SupportedClusterIpAddressTypes = [];
11449
+ }
11450
+ else if (output["SupportedClusterIpAddressTypes"] !== undefined &&
11451
+ output["SupportedClusterIpAddressTypes"]["item"] !== undefined) {
11452
+ contents.SupportedClusterIpAddressTypes = de_ValueStringList(__getArrayIfSingleItem(output["SupportedClusterIpAddressTypes"]["item"]), context);
11453
+ }
11417
11454
  return contents;
11418
11455
  };
11419
11456
  const de_ClusterSubnetGroupAlreadyExistsFault = (output, context) => {
@@ -12840,6 +12877,13 @@ const de_IPRangeList = (output, context) => {
12840
12877
  return de_IPRange(entry, context);
12841
12878
  });
12842
12879
  };
12880
+ const de_Ipv6CidrBlockNotFoundFault = (output, context) => {
12881
+ const contents = {};
12882
+ if (output["message"] !== undefined) {
12883
+ contents.message = __expectString(output["message"]);
12884
+ }
12885
+ return contents;
12886
+ };
12843
12887
  const de_LimitExceededFault = (output, context) => {
12844
12888
  const contents = {};
12845
12889
  if (output["message"] !== undefined) {
@@ -13004,6 +13048,9 @@ const de_NetworkInterface = (output, context) => {
13004
13048
  if (output["AvailabilityZone"] !== undefined) {
13005
13049
  contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
13006
13050
  }
13051
+ if (output["Ipv6Address"] !== undefined) {
13052
+ contents.Ipv6Address = __expectString(output["Ipv6Address"]);
13053
+ }
13007
13054
  return contents;
13008
13055
  };
13009
13056
  const de_NetworkInterfaceList = (output, context) => {
@@ -14583,6 +14630,13 @@ const de_UsageLimits = (output, context) => {
14583
14630
  return de_UsageLimit(entry, context);
14584
14631
  });
14585
14632
  };
14633
+ const de_ValueStringList = (output, context) => {
14634
+ return (output || [])
14635
+ .filter((e) => e != null)
14636
+ .map((entry) => {
14637
+ return __expectString(entry);
14638
+ });
14639
+ };
14586
14640
  const de_VpcEndpoint = (output, context) => {
14587
14641
  const contents = {};
14588
14642
  if (output["VpcEndpointId"] !== undefined) {
@@ -84,6 +84,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
84
84
  * LoadSampleData: "STRING_VALUE",
85
85
  * ManageMasterPassword: true || false,
86
86
  * MasterPasswordSecretKmsKeyId: "STRING_VALUE",
87
+ * IpAddressType: "STRING_VALUE",
87
88
  * };
88
89
  * const command = new CreateClusterCommand(input);
89
90
  * const response = await client.send(command);
@@ -109,6 +110,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
109
110
  * // SubnetId: "STRING_VALUE",
110
111
  * // PrivateIpAddress: "STRING_VALUE",
111
112
  * // AvailabilityZone: "STRING_VALUE",
113
+ * // Ipv6Address: "STRING_VALUE",
112
114
  * // },
113
115
  * // ],
114
116
  * // },
@@ -263,6 +265,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
263
265
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
264
266
  * // MasterPasswordSecretArn: "STRING_VALUE",
265
267
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
268
+ * // IpAddressType: "STRING_VALUE",
266
269
  * // },
267
270
  * // };
268
271
  *
@@ -333,6 +336,10 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
333
336
  * @throws {@link InvalidVPCNetworkStateFault} (client fault)
334
337
  * <p>The cluster subnet group does not cover all Availability Zones.</p>
335
338
  *
339
+ * @throws {@link Ipv6CidrBlockNotFoundFault} (client fault)
340
+ * <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode,
341
+ * associate an IPv6 CIDR block with each subnet in your VPC.</p>
342
+ *
336
343
  * @throws {@link LimitExceededFault} (client fault)
337
344
  * <p>The encryption key has exceeded its grant limit in Amazon Web Services KMS.</p>
338
345
  *
@@ -77,6 +77,9 @@ export interface CreateClusterSubnetGroupCommandOutput extends CreateClusterSubn
77
77
  * // Value: "STRING_VALUE",
78
78
  * // },
79
79
  * // ],
80
+ * // SupportedClusterIpAddressTypes: [ // ValueStringList
81
+ * // "STRING_VALUE",
82
+ * // ],
80
83
  * // },
81
84
  * // };
82
85
  *
@@ -65,6 +65,7 @@ export interface CreateEndpointAccessCommandOutput extends EndpointAccess, __Met
65
65
  * // SubnetId: "STRING_VALUE",
66
66
  * // PrivateIpAddress: "STRING_VALUE",
67
67
  * // AvailabilityZone: "STRING_VALUE",
68
+ * // Ipv6Address: "STRING_VALUE",
68
69
  * // },
69
70
  * // ],
70
71
  * // },
@@ -75,6 +75,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResult, __Metad
75
75
  * // SubnetId: "STRING_VALUE",
76
76
  * // PrivateIpAddress: "STRING_VALUE",
77
77
  * // AvailabilityZone: "STRING_VALUE",
78
+ * // Ipv6Address: "STRING_VALUE",
78
79
  * // },
79
80
  * // ],
80
81
  * // },
@@ -229,6 +230,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResult, __Metad
229
230
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
230
231
  * // MasterPasswordSecretArn: "STRING_VALUE",
231
232
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
233
+ * // IpAddressType: "STRING_VALUE",
232
234
  * // },
233
235
  * // };
234
236
  *
@@ -59,6 +59,7 @@ export interface DeleteEndpointAccessCommandOutput extends EndpointAccess, __Met
59
59
  * // SubnetId: "STRING_VALUE",
60
60
  * // PrivateIpAddress: "STRING_VALUE",
61
61
  * // AvailabilityZone: "STRING_VALUE",
62
+ * // Ipv6Address: "STRING_VALUE",
62
63
  * // },
63
64
  * // ],
64
65
  * // },
@@ -81,6 +81,9 @@ export interface DescribeClusterSubnetGroupsCommandOutput extends ClusterSubnetG
81
81
  * // Value: "STRING_VALUE",
82
82
  * // },
83
83
  * // ],
84
+ * // SupportedClusterIpAddressTypes: [ // ValueStringList
85
+ * // "STRING_VALUE",
86
+ * // ],
84
87
  * // },
85
88
  * // ],
86
89
  * // };
@@ -79,6 +79,7 @@ export interface DescribeClustersCommandOutput extends ClustersMessage, __Metada
79
79
  * // SubnetId: "STRING_VALUE",
80
80
  * // PrivateIpAddress: "STRING_VALUE",
81
81
  * // AvailabilityZone: "STRING_VALUE",
82
+ * // Ipv6Address: "STRING_VALUE",
82
83
  * // },
83
84
  * // ],
84
85
  * // },
@@ -233,6 +234,7 @@ export interface DescribeClustersCommandOutput extends ClustersMessage, __Metada
233
234
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
234
235
  * // MasterPasswordSecretArn: "STRING_VALUE",
235
236
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
237
+ * // IpAddressType: "STRING_VALUE",
236
238
  * // },
237
239
  * // ],
238
240
  * // };
@@ -66,6 +66,7 @@ export interface DescribeEndpointAccessCommandOutput extends EndpointAccessList,
66
66
  * // SubnetId: "STRING_VALUE",
67
67
  * // PrivateIpAddress: "STRING_VALUE",
68
68
  * // AvailabilityZone: "STRING_VALUE",
69
+ * // Ipv6Address: "STRING_VALUE",
69
70
  * // },
70
71
  * // ],
71
72
  * // },
@@ -1,8 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { DescribeEventCategoriesMessage } from "../models/models_0";
5
- import { EventCategoriesMessage } from "../models/models_1";
4
+ import { DescribeEventCategoriesMessage, EventCategoriesMessage } from "../models/models_1";
6
5
  import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
7
6
  /**
8
7
  * @public
@@ -61,6 +61,7 @@ export interface DisableSnapshotCopyCommandOutput extends DisableSnapshotCopyRes
61
61
  * // SubnetId: "STRING_VALUE",
62
62
  * // PrivateIpAddress: "STRING_VALUE",
63
63
  * // AvailabilityZone: "STRING_VALUE",
64
+ * // Ipv6Address: "STRING_VALUE",
64
65
  * // },
65
66
  * // ],
66
67
  * // },
@@ -215,6 +216,7 @@ export interface DisableSnapshotCopyCommandOutput extends DisableSnapshotCopyRes
215
216
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
216
217
  * // MasterPasswordSecretArn: "STRING_VALUE",
217
218
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
219
+ * // IpAddressType: "STRING_VALUE",
218
220
  * // },
219
221
  * // };
220
222
  *
@@ -62,6 +62,7 @@ export interface EnableSnapshotCopyCommandOutput extends EnableSnapshotCopyResul
62
62
  * // SubnetId: "STRING_VALUE",
63
63
  * // PrivateIpAddress: "STRING_VALUE",
64
64
  * // AvailabilityZone: "STRING_VALUE",
65
+ * // Ipv6Address: "STRING_VALUE",
65
66
  * // },
66
67
  * // ],
67
68
  * // },
@@ -216,6 +217,7 @@ export interface EnableSnapshotCopyCommandOutput extends EnableSnapshotCopyResul
216
217
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
217
218
  * // MasterPasswordSecretArn: "STRING_VALUE",
218
219
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
220
+ * // IpAddressType: "STRING_VALUE",
219
221
  * // },
220
222
  * // };
221
223
  *
@@ -70,6 +70,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
70
70
  * Port: Number("int"),
71
71
  * ManageMasterPassword: true || false,
72
72
  * MasterPasswordSecretKmsKeyId: "STRING_VALUE",
73
+ * IpAddressType: "STRING_VALUE",
73
74
  * };
74
75
  * const command = new ModifyClusterCommand(input);
75
76
  * const response = await client.send(command);
@@ -95,6 +96,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
95
96
  * // SubnetId: "STRING_VALUE",
96
97
  * // PrivateIpAddress: "STRING_VALUE",
97
98
  * // AvailabilityZone: "STRING_VALUE",
99
+ * // Ipv6Address: "STRING_VALUE",
98
100
  * // },
99
101
  * // ],
100
102
  * // },
@@ -249,6 +251,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
249
251
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
250
252
  * // MasterPasswordSecretArn: "STRING_VALUE",
251
253
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
254
+ * // IpAddressType: "STRING_VALUE",
252
255
  * // },
253
256
  * // };
254
257
  *
@@ -308,6 +311,10 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
308
311
  * <p>The retention period specified is either in the past or is not a valid value.</p>
309
312
  * <p>The value must be either -1 or an integer between 1 and 3,653.</p>
310
313
  *
314
+ * @throws {@link Ipv6CidrBlockNotFoundFault} (client fault)
315
+ * <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode,
316
+ * associate an IPv6 CIDR block with each subnet in your VPC.</p>
317
+ *
311
318
  * @throws {@link LimitExceededFault} (client fault)
312
319
  * <p>The encryption key has exceeded its grant limit in Amazon Web Services KMS.</p>
313
320
  *
@@ -59,6 +59,7 @@ export interface ModifyClusterDbRevisionCommandOutput extends ModifyClusterDbRev
59
59
  * // SubnetId: "STRING_VALUE",
60
60
  * // PrivateIpAddress: "STRING_VALUE",
61
61
  * // AvailabilityZone: "STRING_VALUE",
62
+ * // Ipv6Address: "STRING_VALUE",
62
63
  * // },
63
64
  * // ],
64
65
  * // },
@@ -213,6 +214,7 @@ export interface ModifyClusterDbRevisionCommandOutput extends ModifyClusterDbRev
213
214
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
214
215
  * // MasterPasswordSecretArn: "STRING_VALUE",
215
216
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
217
+ * // IpAddressType: "STRING_VALUE",
216
218
  * // },
217
219
  * // };
218
220
  *
@@ -68,6 +68,7 @@ export interface ModifyClusterIamRolesCommandOutput extends ModifyClusterIamRole
68
68
  * // SubnetId: "STRING_VALUE",
69
69
  * // PrivateIpAddress: "STRING_VALUE",
70
70
  * // AvailabilityZone: "STRING_VALUE",
71
+ * // Ipv6Address: "STRING_VALUE",
71
72
  * // },
72
73
  * // ],
73
74
  * // },
@@ -222,6 +223,7 @@ export interface ModifyClusterIamRolesCommandOutput extends ModifyClusterIamRole
222
223
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
223
224
  * // MasterPasswordSecretArn: "STRING_VALUE",
224
225
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
226
+ * // IpAddressType: "STRING_VALUE",
225
227
  * // },
226
228
  * // };
227
229
  *
@@ -62,6 +62,7 @@ export interface ModifyClusterMaintenanceCommandOutput extends ModifyClusterMain
62
62
  * // SubnetId: "STRING_VALUE",
63
63
  * // PrivateIpAddress: "STRING_VALUE",
64
64
  * // AvailabilityZone: "STRING_VALUE",
65
+ * // Ipv6Address: "STRING_VALUE",
65
66
  * // },
66
67
  * // ],
67
68
  * // },
@@ -216,6 +217,7 @@ export interface ModifyClusterMaintenanceCommandOutput extends ModifyClusterMain
216
217
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
217
218
  * // MasterPasswordSecretArn: "STRING_VALUE",
218
219
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
220
+ * // IpAddressType: "STRING_VALUE",
219
221
  * // },
220
222
  * // };
221
223
  *
@@ -66,6 +66,9 @@ export interface ModifyClusterSubnetGroupCommandOutput extends ModifyClusterSubn
66
66
  * // Value: "STRING_VALUE",
67
67
  * // },
68
68
  * // ],
69
+ * // SupportedClusterIpAddressTypes: [ // ValueStringList
70
+ * // "STRING_VALUE",
71
+ * // ],
69
72
  * // },
70
73
  * // };
71
74
  *
@@ -63,6 +63,7 @@ export interface ModifyEndpointAccessCommandOutput extends EndpointAccess, __Met
63
63
  * // SubnetId: "STRING_VALUE",
64
64
  * // PrivateIpAddress: "STRING_VALUE",
65
65
  * // AvailabilityZone: "STRING_VALUE",
66
+ * // Ipv6Address: "STRING_VALUE",
66
67
  * // },
67
68
  * // ],
68
69
  * // },
@@ -65,6 +65,7 @@ export interface ModifySnapshotCopyRetentionPeriodCommandOutput extends ModifySn
65
65
  * // SubnetId: "STRING_VALUE",
66
66
  * // PrivateIpAddress: "STRING_VALUE",
67
67
  * // AvailabilityZone: "STRING_VALUE",
68
+ * // Ipv6Address: "STRING_VALUE",
68
69
  * // },
69
70
  * // ],
70
71
  * // },
@@ -219,6 +220,7 @@ export interface ModifySnapshotCopyRetentionPeriodCommandOutput extends ModifySn
219
220
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
220
221
  * // MasterPasswordSecretArn: "STRING_VALUE",
221
222
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
223
+ * // IpAddressType: "STRING_VALUE",
222
224
  * // },
223
225
  * // };
224
226
  *
@@ -58,6 +58,7 @@ export interface PauseClusterCommandOutput extends PauseClusterResult, __Metadat
58
58
  * // SubnetId: "STRING_VALUE",
59
59
  * // PrivateIpAddress: "STRING_VALUE",
60
60
  * // AvailabilityZone: "STRING_VALUE",
61
+ * // Ipv6Address: "STRING_VALUE",
61
62
  * // },
62
63
  * // ],
63
64
  * // },
@@ -212,6 +213,7 @@ export interface PauseClusterCommandOutput extends PauseClusterResult, __Metadat
212
213
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
213
214
  * // MasterPasswordSecretArn: "STRING_VALUE",
214
215
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
216
+ * // IpAddressType: "STRING_VALUE",
215
217
  * // },
216
218
  * // };
217
219
  *
@@ -64,6 +64,7 @@ export interface RebootClusterCommandOutput extends RebootClusterResult, __Metad
64
64
  * // SubnetId: "STRING_VALUE",
65
65
  * // PrivateIpAddress: "STRING_VALUE",
66
66
  * // AvailabilityZone: "STRING_VALUE",
67
+ * // Ipv6Address: "STRING_VALUE",
67
68
  * // },
68
69
  * // ],
69
70
  * // },
@@ -218,6 +219,7 @@ export interface RebootClusterCommandOutput extends RebootClusterResult, __Metad
218
219
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
219
220
  * // MasterPasswordSecretArn: "STRING_VALUE",
220
221
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
222
+ * // IpAddressType: "STRING_VALUE",
221
223
  * // },
222
224
  * // };
223
225
  *
@@ -106,6 +106,7 @@ export interface ResizeClusterCommandOutput extends ResizeClusterResult, __Metad
106
106
  * // SubnetId: "STRING_VALUE",
107
107
  * // PrivateIpAddress: "STRING_VALUE",
108
108
  * // AvailabilityZone: "STRING_VALUE",
109
+ * // Ipv6Address: "STRING_VALUE",
109
110
  * // },
110
111
  * // ],
111
112
  * // },
@@ -260,6 +261,7 @@ export interface ResizeClusterCommandOutput extends ResizeClusterResult, __Metad
260
261
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
261
262
  * // MasterPasswordSecretArn: "STRING_VALUE",
262
263
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
264
+ * // IpAddressType: "STRING_VALUE",
263
265
  * // },
264
266
  * // };
265
267
  *
@@ -83,6 +83,7 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
83
83
  * Encrypted: true || false,
84
84
  * ManageMasterPassword: true || false,
85
85
  * MasterPasswordSecretKmsKeyId: "STRING_VALUE",
86
+ * IpAddressType: "STRING_VALUE",
86
87
  * };
87
88
  * const command = new RestoreFromClusterSnapshotCommand(input);
88
89
  * const response = await client.send(command);
@@ -108,6 +109,7 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
108
109
  * // SubnetId: "STRING_VALUE",
109
110
  * // PrivateIpAddress: "STRING_VALUE",
110
111
  * // AvailabilityZone: "STRING_VALUE",
112
+ * // Ipv6Address: "STRING_VALUE",
111
113
  * // },
112
114
  * // ],
113
115
  * // },
@@ -262,6 +264,7 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
262
264
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
263
265
  * // MasterPasswordSecretArn: "STRING_VALUE",
264
266
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
267
+ * // IpAddressType: "STRING_VALUE",
265
268
  * // },
266
269
  * // };
267
270
  *
@@ -349,6 +352,10 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
349
352
  * @throws {@link InvalidVPCNetworkStateFault} (client fault)
350
353
  * <p>The cluster subnet group does not cover all Availability Zones.</p>
351
354
  *
355
+ * @throws {@link Ipv6CidrBlockNotFoundFault} (client fault)
356
+ * <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode,
357
+ * associate an IPv6 CIDR block with each subnet in your VPC.</p>
358
+ *
352
359
  * @throws {@link LimitExceededFault} (client fault)
353
360
  * <p>The encryption key has exceeded its grant limit in Amazon Web Services KMS.</p>
354
361
  *
@@ -58,6 +58,7 @@ export interface ResumeClusterCommandOutput extends ResumeClusterResult, __Metad
58
58
  * // SubnetId: "STRING_VALUE",
59
59
  * // PrivateIpAddress: "STRING_VALUE",
60
60
  * // AvailabilityZone: "STRING_VALUE",
61
+ * // Ipv6Address: "STRING_VALUE",
61
62
  * // },
62
63
  * // ],
63
64
  * // },
@@ -212,6 +213,7 @@ export interface ResumeClusterCommandOutput extends ResumeClusterResult, __Metad
212
213
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
213
214
  * // MasterPasswordSecretArn: "STRING_VALUE",
214
215
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
216
+ * // IpAddressType: "STRING_VALUE",
215
217
  * // },
216
218
  * // };
217
219
  *
@@ -57,6 +57,7 @@ export interface RotateEncryptionKeyCommandOutput extends RotateEncryptionKeyRes
57
57
  * // SubnetId: "STRING_VALUE",
58
58
  * // PrivateIpAddress: "STRING_VALUE",
59
59
  * // AvailabilityZone: "STRING_VALUE",
60
+ * // Ipv6Address: "STRING_VALUE",
60
61
  * // },
61
62
  * // ],
62
63
  * // },
@@ -211,6 +212,7 @@ export interface RotateEncryptionKeyCommandOutput extends RotateEncryptionKeyRes
211
212
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
212
213
  * // MasterPasswordSecretArn: "STRING_VALUE",
213
214
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
215
+ * // IpAddressType: "STRING_VALUE",
214
216
  * // },
215
217
  * // };
216
218
  *
@@ -30,4 +30,5 @@ export * from "./commands";
30
30
  export * from "./pagination";
31
31
  export * from "./waiters";
32
32
  export * from "./models";
33
+ import "@aws-sdk/util-endpoints";
33
34
  export { RedshiftServiceException } from "./models/RedshiftServiceException";
@@ -1944,6 +1944,11 @@ export interface NetworkInterface {
1944
1944
  * <p>The Availability Zone. </p>
1945
1945
  */
1946
1946
  AvailabilityZone?: string;
1947
+ /**
1948
+ * @public
1949
+ * <p>The IPv6 address of the network interface within the subnet. </p>
1950
+ */
1951
+ Ipv6Address?: string;
1947
1952
  }
1948
1953
  /**
1949
1954
  * @public
@@ -2727,6 +2732,11 @@ export interface Cluster {
2727
2732
  * <p>The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.</p>
2728
2733
  */
2729
2734
  MasterPasswordSecretKmsKeyId?: string;
2735
+ /**
2736
+ * @public
2737
+ * <p>The IP address type for the cluster. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
2738
+ */
2739
+ IpAddressType?: string;
2730
2740
  }
2731
2741
  /**
2732
2742
  * @public
@@ -3240,6 +3250,11 @@ export interface ClusterSubnetGroup {
3240
3250
  * <p>The list of tags for the cluster subnet group.</p>
3241
3251
  */
3242
3252
  Tags?: Tag[];
3253
+ /**
3254
+ * @public
3255
+ * <p>The IP address types supported by this cluster subnet group. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
3256
+ */
3257
+ SupportedClusterIpAddressTypes?: string[];
3243
3258
  }
3244
3259
  /**
3245
3260
  * @public
@@ -3897,6 +3912,11 @@ export interface CreateClusterMessage {
3897
3912
  * You can only use this parameter if <code>ManageMasterPassword</code> is true.</p>
3898
3913
  */
3899
3914
  MasterPasswordSecretKmsKeyId?: string;
3915
+ /**
3916
+ * @public
3917
+ * <p>The IP address types that the cluster supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
3918
+ */
3919
+ IpAddressType?: string;
3900
3920
  }
3901
3921
  /**
3902
3922
  * @public
@@ -4019,6 +4039,19 @@ export declare class InvalidVPCNetworkStateFault extends __BaseException {
4019
4039
  */
4020
4040
  constructor(opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>);
4021
4041
  }
4042
+ /**
4043
+ * @public
4044
+ * <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode,
4045
+ * associate an IPv6 CIDR block with each subnet in your VPC.</p>
4046
+ */
4047
+ export declare class Ipv6CidrBlockNotFoundFault extends __BaseException {
4048
+ readonly name: "Ipv6CidrBlockNotFoundFault";
4049
+ readonly $fault: "client";
4050
+ /**
4051
+ * @internal
4052
+ */
4053
+ constructor(opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundFault, __BaseException>);
4054
+ }
4022
4055
  /**
4023
4056
  * @public
4024
4057
  * <p>The operation would exceed the number of nodes allowed for a cluster.</p>
@@ -7238,19 +7271,6 @@ export interface EndpointAuthorizationList {
7238
7271
  */
7239
7272
  Marker?: string;
7240
7273
  }
7241
- /**
7242
- * @public
7243
- * <p></p>
7244
- */
7245
- export interface DescribeEventCategoriesMessage {
7246
- /**
7247
- * @public
7248
- * <p>The source type, such as cluster or parameter group, to which the described event
7249
- * categories apply.</p>
7250
- * <p>Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.</p>
7251
- */
7252
- SourceType?: string;
7253
- }
7254
7274
  /**
7255
7275
  * @internal
7256
7276
  */
@@ -1,6 +1,19 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ActionType, AquaConfiguration, AquaConfigurationStatus, AvailabilityZone, Cluster, ClusterSecurityGroup, ClusterSubnetGroup, EventSubscription, HsmClientCertificate, HsmConfiguration, Parameter, RecurringCharge, ReservedNode, ReservedNodeExchangeStatus, ReservedNodeOfferingType, ScheduledAction, ScheduledActionType, Snapshot, SnapshotCopyGrant, SnapshotSchedule, Tag, UsageLimit, UsageLimitBreachAction, UsageLimitFeatureType } from "./models_0";
3
3
  import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
4
+ /**
5
+ * @public
6
+ * <p></p>
7
+ */
8
+ export interface DescribeEventCategoriesMessage {
9
+ /**
10
+ * @public
11
+ * <p>The source type, such as cluster or parameter group, to which the described event
12
+ * categories apply.</p>
13
+ * <p>Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.</p>
14
+ */
15
+ SourceType?: string;
16
+ }
4
17
  /**
5
18
  * @public
6
19
  * <p>Describes event information.</p>
@@ -2929,6 +2942,11 @@ export interface ModifyClusterMessage {
2929
2942
  * You can only use this parameter if <code>ManageMasterPassword</code> is true.</p>
2930
2943
  */
2931
2944
  MasterPasswordSecretKmsKeyId?: string;
2945
+ /**
2946
+ * @public
2947
+ * <p>The IP address types that the cluster supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
2948
+ */
2949
+ IpAddressType?: string;
2932
2950
  }
2933
2951
  /**
2934
2952
  * @public
@@ -3925,6 +3943,11 @@ export interface RestoreFromClusterSnapshotMessage {
3925
3943
  * You can only use this parameter if <code>ManageMasterPassword</code> is true.</p>
3926
3944
  */
3927
3945
  MasterPasswordSecretKmsKeyId?: string;
3946
+ /**
3947
+ * @public
3948
+ * <p>The IP address type for the cluster. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
3949
+ */
3950
+ IpAddressType?: string;
3928
3951
  }
3929
3952
  /**
3930
3953
  * @public
@@ -6,8 +6,10 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@smithy/types";
9
- import { DescribeEventCategoriesMessage } from "../models/models_0";
10
- import { EventCategoriesMessage } from "../models/models_1";
9
+ import {
10
+ DescribeEventCategoriesMessage,
11
+ EventCategoriesMessage,
12
+ } from "../models/models_1";
11
13
  import {
12
14
  RedshiftClientResolvedConfig,
13
15
  ServiceInputTypes,
@@ -5,4 +5,5 @@ export * from "./commands";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
7
  export * from "./models";
8
+ import "@aws-sdk/util-endpoints";
8
9
  export { RedshiftServiceException } from "./models/RedshiftServiceException";
@@ -631,6 +631,7 @@ export interface NetworkInterface {
631
631
  SubnetId?: string;
632
632
  PrivateIpAddress?: string;
633
633
  AvailabilityZone?: string;
634
+ Ipv6Address?: string;
634
635
  }
635
636
  export interface VpcEndpoint {
636
637
  VpcEndpointId?: string;
@@ -759,6 +760,7 @@ export interface Cluster {
759
760
  CustomDomainCertificateExpiryDate?: Date;
760
761
  MasterPasswordSecretArn?: string;
761
762
  MasterPasswordSecretKmsKeyId?: string;
763
+ IpAddressType?: string;
762
764
  }
763
765
  export declare class ClusterAlreadyExistsFault extends __BaseException {
764
766
  readonly name: "ClusterAlreadyExistsFault";
@@ -932,6 +934,7 @@ export interface ClusterSubnetGroup {
932
934
  SubnetGroupStatus?: string;
933
935
  Subnets?: Subnet[];
934
936
  Tags?: Tag[];
937
+ SupportedClusterIpAddressTypes?: string[];
935
938
  }
936
939
  export declare class ClusterSubnetGroupAlreadyExistsFault extends __BaseException {
937
940
  readonly name: "ClusterSubnetGroupAlreadyExistsFault";
@@ -1064,6 +1067,7 @@ export interface CreateClusterMessage {
1064
1067
  LoadSampleData?: string;
1065
1068
  ManageMasterPassword?: boolean;
1066
1069
  MasterPasswordSecretKmsKeyId?: string;
1070
+ IpAddressType?: string;
1067
1071
  }
1068
1072
  export interface CreateClusterResult {
1069
1073
  Cluster?: Cluster;
@@ -1136,6 +1140,13 @@ export declare class InvalidVPCNetworkStateFault extends __BaseException {
1136
1140
  opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>
1137
1141
  );
1138
1142
  }
1143
+ export declare class Ipv6CidrBlockNotFoundFault extends __BaseException {
1144
+ readonly name: "Ipv6CidrBlockNotFoundFault";
1145
+ readonly $fault: "client";
1146
+ constructor(
1147
+ opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundFault, __BaseException>
1148
+ );
1149
+ }
1139
1150
  export declare class NumberOfNodesPerClusterLimitExceededFault extends __BaseException {
1140
1151
  readonly name: "NumberOfNodesPerClusterLimitExceededFault";
1141
1152
  readonly $fault: "client";
@@ -2076,9 +2087,6 @@ export interface EndpointAuthorizationList {
2076
2087
  EndpointAuthorizationList?: EndpointAuthorization[];
2077
2088
  Marker?: string;
2078
2089
  }
2079
- export interface DescribeEventCategoriesMessage {
2080
- SourceType?: string;
2081
- }
2082
2090
  export declare const PendingModifiedValuesFilterSensitiveLog: (
2083
2091
  obj: PendingModifiedValues
2084
2092
  ) => any;
@@ -26,6 +26,9 @@ import {
26
26
  UsageLimitFeatureType,
27
27
  } from "./models_0";
28
28
  import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
29
+ export interface DescribeEventCategoriesMessage {
30
+ SourceType?: string;
31
+ }
29
32
  export interface EventInfoMap {
30
33
  EventId?: string;
31
34
  EventCategories?: string[];
@@ -659,6 +662,7 @@ export interface ModifyClusterMessage {
659
662
  Port?: number;
660
663
  ManageMasterPassword?: boolean;
661
664
  MasterPasswordSecretKmsKeyId?: string;
665
+ IpAddressType?: string;
662
666
  }
663
667
  export interface ModifyClusterResult {
664
668
  Cluster?: Cluster;
@@ -882,6 +886,7 @@ export interface RestoreFromClusterSnapshotMessage {
882
886
  Encrypted?: boolean;
883
887
  ManageMasterPassword?: boolean;
884
888
  MasterPasswordSecretKmsKeyId?: string;
889
+ IpAddressType?: string;
885
890
  }
886
891
  export interface RestoreFromClusterSnapshotResult {
887
892
  Cluster?: Cluster;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift",
3
3
  "description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
4
- "version": "3.437.0",
4
+ "version": "3.438.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.437.0",
24
+ "@aws-sdk/client-sts": "3.438.0",
25
25
  "@aws-sdk/core": "3.436.0",
26
- "@aws-sdk/credential-provider-node": "3.437.0",
26
+ "@aws-sdk/credential-provider-node": "3.438.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",
30
30
  "@aws-sdk/middleware-signing": "3.433.0",
31
- "@aws-sdk/middleware-user-agent": "3.433.0",
31
+ "@aws-sdk/middleware-user-agent": "3.438.0",
32
32
  "@aws-sdk/region-config-resolver": "3.433.0",
33
33
  "@aws-sdk/types": "3.433.0",
34
- "@aws-sdk/util-endpoints": "3.433.0",
34
+ "@aws-sdk/util-endpoints": "3.438.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.433.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.437.0",
37
37
  "@smithy/config-resolver": "^2.0.16",
@@ -54,6 +54,7 @@
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
55
  "@smithy/util-defaults-mode-browser": "^2.0.16",
56
56
  "@smithy/util-defaults-mode-node": "^2.0.21",
57
+ "@smithy/util-endpoints": "^1.0.2",
57
58
  "@smithy/util-retry": "^2.0.5",
58
59
  "@smithy/util-utf8": "^2.0.0",
59
60
  "@smithy/util-waiter": "^2.0.12",