@aws-sdk/client-rds 3.452.0 → 3.454.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 (25) hide show
  1. package/dist-cjs/models/models_0.js +18 -18
  2. package/dist-cjs/protocols/Aws_query.js +44 -0
  3. package/dist-es/models/models_0.js +16 -16
  4. package/dist-es/protocols/Aws_query.js +44 -0
  5. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +4 -0
  6. package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +4 -0
  7. package/dist-types/commands/CreateDBClusterCommand.d.ts +18 -0
  8. package/dist-types/commands/DeleteDBClusterCommand.d.ts +10 -0
  9. package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +1 -2
  10. package/dist-types/commands/DescribeDBClustersCommand.d.ts +10 -0
  11. package/dist-types/commands/FailoverDBClusterCommand.d.ts +10 -0
  12. package/dist-types/commands/ModifyDBClusterCommand.d.ts +13 -0
  13. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +10 -0
  14. package/dist-types/commands/RebootDBClusterCommand.d.ts +10 -0
  15. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +10 -0
  16. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +11 -0
  17. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +11 -0
  18. package/dist-types/commands/StartDBClusterCommand.d.ts +10 -0
  19. package/dist-types/commands/StopDBClusterCommand.d.ts +10 -0
  20. package/dist-types/models/models_0.d.ts +61 -41
  21. package/dist-types/models/models_1.d.ts +17 -1
  22. package/dist-types/ts3.4/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +4 -2
  23. package/dist-types/ts3.4/models/models_0.d.ts +20 -16
  24. package/dist-types/ts3.4/models/models_1.d.ts +5 -0
  25. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CustomDBEngineVersionAlreadyExistsFault = exports.CreateCustomDBEngineVersionFault = exports.SourceDatabaseNotSupportedFault = exports.SourceClusterNotSupportedFault = exports.InstanceQuotaExceededFault = exports.DBClusterQuotaExceededFault = exports.DBClusterParameterGroupNotFoundFault = exports.BlueGreenDeploymentAlreadyExistsFault = exports.OptionGroupQuotaExceededFault = exports.OptionGroupNotFoundFault = exports.OptionGroupAlreadyExistsFault = exports.InvalidDBSnapshotStateFault = exports.DBSnapshotAlreadyExistsFault = exports.CustomAvailabilityZoneNotFoundFault = exports.SnapshotQuotaExceededFault = exports.KMSKeyNotAccessibleFault = exports.InvalidDBClusterSnapshotStateFault = exports.DBClusterSnapshotNotFoundFault = exports.DBClusterSnapshotAlreadyExistsFault = exports.DBParameterGroupQuotaExceededFault = exports.DBParameterGroupNotFoundFault = exports.DBParameterGroupAlreadyExistsFault = exports.InvalidExportTaskStateFault = exports.ExportTaskNotFoundFault = exports.ExportSourceType = exports.InvalidDBSecurityGroupStateFault = exports.DBSecurityGroupNotFoundFault = exports.AuthorizationQuotaExceededFault = exports.AuthorizationAlreadyExistsFault = exports.ResourceNotFoundFault = exports.TenantDatabaseNotFoundFault = exports.IntegrationNotFoundFault = exports.DBSnapshotTenantDatabaseNotFoundFault = exports.DBSnapshotNotFoundFault = exports.DBProxyTargetGroupNotFoundFault = exports.DBProxyNotFoundFault = exports.BlueGreenDeploymentNotFoundFault = exports.SubscriptionNotFoundFault = exports.SourceNotFoundFault = exports.InvalidDBInstanceStateFault = exports.DBInstanceRoleQuotaExceededFault = exports.DBInstanceRoleAlreadyExistsFault = exports.DBInstanceNotFoundFault = exports.InvalidDBClusterStateFault = exports.DBClusterRoleQuotaExceededFault = exports.DBClusterRoleAlreadyExistsFault = exports.DBClusterNotFoundFault = exports.ActivityStreamStatus = exports.ActivityStreamPolicyStatus = exports.ActivityStreamMode = void 0;
4
- exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.DBSubnetQuotaExceededFault = exports.DBSubnetGroupQuotaExceededFault = exports.DBSubnetGroupAlreadyExistsFault = exports.DBSecurityGroupQuotaExceededFault = exports.DBSecurityGroupNotSupportedFault = exports.DBSecurityGroupAlreadyExistsFault = exports.InvalidDBProxyStateFault = exports.DBProxyEndpointQuotaExceededFault = exports.DBProxyEndpointAlreadyExistsFault = exports.DBProxyEndpointStatus = exports.DBProxyEndpointTargetRole = exports.DBProxyQuotaExceededFault = exports.DBProxyAlreadyExistsFault = exports.DBProxyStatus = exports.EngineFamily = exports.IAMAuthMode = exports.ClientPasswordAuthType = exports.AuthScheme = exports.InvalidDBSubnetGroupFault = exports.DBSubnetGroupNotAllowedFault = exports.TenantDatabaseQuotaExceededFault = exports.StorageTypeNotSupportedFault = exports.ProvisionedIopsNotAvailableInAZFault = exports.NetworkTypeNotSupported = exports.InsufficientDBInstanceCapacityFault = exports.DBInstanceAlreadyExistsFault = exports.ReplicaMode = exports.AutomationMode = exports.CertificateNotFoundFault = exports.BackupPolicyNotFoundFault = exports.AuthorizationNotFoundFault = exports.DBClusterEndpointQuotaExceededFault = exports.DBClusterEndpointAlreadyExistsFault = exports.StorageQuotaExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidSubnet = exports.InvalidGlobalClusterStateFault = exports.InvalidDBSubnetGroupStateFault = exports.InsufficientStorageClusterCapacityFault = exports.GlobalClusterNotFoundFault = exports.DomainNotFoundFault = exports.DBSubnetGroupNotFoundFault = exports.DBSubnetGroupDoesNotCoverEnoughAZs = exports.DBClusterAlreadyExistsFault = exports.LocalWriteForwardingStatus = exports.WriteForwardingStatus = exports.Ec2ImagePropertiesNotSupportedFault = exports.CustomDBEngineVersionQuotaExceededFault = void 0;
4
+ exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.DBSubnetQuotaExceededFault = exports.DBSubnetGroupQuotaExceededFault = exports.DBSubnetGroupAlreadyExistsFault = exports.DBSecurityGroupQuotaExceededFault = exports.DBSecurityGroupNotSupportedFault = exports.DBSecurityGroupAlreadyExistsFault = exports.InvalidDBProxyStateFault = exports.DBProxyEndpointQuotaExceededFault = exports.DBProxyEndpointAlreadyExistsFault = exports.DBProxyEndpointStatus = exports.DBProxyEndpointTargetRole = exports.DBProxyQuotaExceededFault = exports.DBProxyAlreadyExistsFault = exports.DBProxyStatus = exports.EngineFamily = exports.IAMAuthMode = exports.ClientPasswordAuthType = exports.AuthScheme = exports.DBSubnetGroupNotAllowedFault = exports.TenantDatabaseQuotaExceededFault = exports.StorageTypeNotSupportedFault = exports.ProvisionedIopsNotAvailableInAZFault = exports.NetworkTypeNotSupported = exports.InsufficientDBInstanceCapacityFault = exports.DBInstanceAlreadyExistsFault = exports.AutomationMode = exports.CertificateNotFoundFault = exports.BackupPolicyNotFoundFault = exports.AuthorizationNotFoundFault = exports.DBClusterEndpointQuotaExceededFault = exports.DBClusterEndpointAlreadyExistsFault = exports.StorageQuotaExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidSubnet = exports.InvalidGlobalClusterStateFault = exports.InvalidDBSubnetGroupStateFault = exports.InvalidDBSubnetGroupFault = exports.InsufficientStorageClusterCapacityFault = exports.GlobalClusterNotFoundFault = exports.DomainNotFoundFault = exports.DBSubnetGroupNotFoundFault = exports.DBSubnetGroupDoesNotCoverEnoughAZs = exports.DBClusterAlreadyExistsFault = exports.LocalWriteForwardingStatus = exports.WriteForwardingStatus = exports.ReplicaMode = exports.Ec2ImagePropertiesNotSupportedFault = exports.CustomDBEngineVersionQuotaExceededFault = void 0;
5
5
  exports.DeleteTenantDatabaseResultFilterSensitiveLog = exports.CreateTenantDatabaseResultFilterSensitiveLog = exports.TenantDatabaseFilterSensitiveLog = exports.TenantDatabasePendingModifiedValuesFilterSensitiveLog = exports.CreateTenantDatabaseMessageFilterSensitiveLog = exports.DBProxyTargetNotFoundFault = exports.InvalidOptionGroupStateFault = exports.InvalidIntegrationStateFault = exports.InvalidEventSubscriptionStateFault = exports.InvalidDBSubnetStateFault = exports.InvalidDBProxyEndpointStateFault = exports.DBProxyEndpointNotFoundFault = exports.InvalidDBInstanceAutomatedBackupStateFault = exports.DBInstanceAutomatedBackupNotFoundFault = exports.DBInstanceAutomatedBackupQuotaExceededFault = exports.InvalidDBParameterGroupStateFault = exports.InvalidDBClusterEndpointStateFault = exports.DBClusterEndpointNotFoundFault = exports.InvalidDBClusterAutomatedBackupStateFault = exports.DBClusterAutomatedBackupNotFoundFault = exports.DBClusterAutomatedBackupQuotaExceededFault = exports.InvalidCustomDBEngineVersionStateFault = exports.CustomDBEngineVersionNotFoundFault = exports.InvalidBlueGreenDeploymentStateFault = exports.TenantDatabaseAlreadyExistsFault = exports.IntegrationQuotaExceededFault = exports.IntegrationConflictOperationFault = exports.IntegrationAlreadyExistsFault = exports.IntegrationStatus = exports.GlobalClusterQuotaExceededFault = exports.GlobalClusterAlreadyExistsFault = exports.GlobalClusterMemberSynchronizationStatus = exports.FailoverStatus = exports.SubscriptionCategoryNotFoundFault = exports.SubscriptionAlreadyExistFault = exports.SNSTopicArnNotFoundFault = exports.SNSNoAuthorizationFault = void 0;
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const RDSServiceException_1 = require("./RDSServiceException");
@@ -649,6 +649,10 @@ class Ec2ImagePropertiesNotSupportedFault extends RDSServiceException_1.RDSServi
649
649
  }
650
650
  }
651
651
  exports.Ec2ImagePropertiesNotSupportedFault = Ec2ImagePropertiesNotSupportedFault;
652
+ exports.ReplicaMode = {
653
+ MOUNTED: "mounted",
654
+ OPEN_READ_ONLY: "open-read-only",
655
+ };
652
656
  exports.WriteForwardingStatus = {
653
657
  DISABLED: "disabled",
654
658
  DISABLING: "disabling",
@@ -741,6 +745,19 @@ class InsufficientStorageClusterCapacityFault extends RDSServiceException_1.RDSS
741
745
  }
742
746
  }
743
747
  exports.InsufficientStorageClusterCapacityFault = InsufficientStorageClusterCapacityFault;
748
+ class InvalidDBSubnetGroupFault extends RDSServiceException_1.RDSServiceException {
749
+ constructor(opts) {
750
+ super({
751
+ name: "InvalidDBSubnetGroupFault",
752
+ $fault: "client",
753
+ ...opts,
754
+ });
755
+ this.name = "InvalidDBSubnetGroupFault";
756
+ this.$fault = "client";
757
+ Object.setPrototypeOf(this, InvalidDBSubnetGroupFault.prototype);
758
+ }
759
+ }
760
+ exports.InvalidDBSubnetGroupFault = InvalidDBSubnetGroupFault;
744
761
  class InvalidDBSubnetGroupStateFault extends RDSServiceException_1.RDSServiceException {
745
762
  constructor(opts) {
746
763
  super({
@@ -875,10 +892,6 @@ exports.AutomationMode = {
875
892
  ALL_PAUSED: "all-paused",
876
893
  FULL: "full",
877
894
  };
878
- exports.ReplicaMode = {
879
- MOUNTED: "mounted",
880
- OPEN_READ_ONLY: "open-read-only",
881
- };
882
895
  class DBInstanceAlreadyExistsFault extends RDSServiceException_1.RDSServiceException {
883
896
  constructor(opts) {
884
897
  super({
@@ -970,19 +983,6 @@ class DBSubnetGroupNotAllowedFault extends RDSServiceException_1.RDSServiceExcep
970
983
  }
971
984
  }
972
985
  exports.DBSubnetGroupNotAllowedFault = DBSubnetGroupNotAllowedFault;
973
- class InvalidDBSubnetGroupFault extends RDSServiceException_1.RDSServiceException {
974
- constructor(opts) {
975
- super({
976
- name: "InvalidDBSubnetGroupFault",
977
- $fault: "client",
978
- ...opts,
979
- });
980
- this.name = "InvalidDBSubnetGroupFault";
981
- this.$fault = "client";
982
- Object.setPrototypeOf(this, InvalidDBSubnetGroupFault.prototype);
983
- }
984
- }
985
- exports.InvalidDBSubnetGroupFault = InvalidDBSubnetGroupFault;
986
986
  exports.AuthScheme = {
987
987
  SECRETS: "SECRETS",
988
988
  };
@@ -2384,6 +2384,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
2384
2384
  case "InvalidDBInstanceState":
2385
2385
  case "com.amazonaws.rds#InvalidDBInstanceStateFault":
2386
2386
  throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
2387
+ case "InvalidDBSubnetGroupFault":
2388
+ case "com.amazonaws.rds#InvalidDBSubnetGroupFault":
2389
+ throw await de_InvalidDBSubnetGroupFaultRes(parsedOutput, context);
2387
2390
  case "InvalidDBSubnetGroupStateFault":
2388
2391
  case "com.amazonaws.rds#InvalidDBSubnetGroupStateFault":
2389
2392
  throw await de_InvalidDBSubnetGroupStateFaultRes(parsedOutput, context);
@@ -2399,6 +2402,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
2399
2402
  case "KMSKeyNotAccessibleFault":
2400
2403
  case "com.amazonaws.rds#KMSKeyNotAccessibleFault":
2401
2404
  throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
2405
+ case "OptionGroupNotFoundFault":
2406
+ case "com.amazonaws.rds#OptionGroupNotFoundFault":
2407
+ throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
2402
2408
  case "StorageQuotaExceeded":
2403
2409
  case "com.amazonaws.rds#StorageQuotaExceededFault":
2404
2410
  throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
@@ -5750,6 +5756,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
5750
5756
  case "InvalidVPCNetworkStateFault":
5751
5757
  case "com.amazonaws.rds#InvalidVPCNetworkStateFault":
5752
5758
  throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
5759
+ case "OptionGroupNotFoundFault":
5760
+ case "com.amazonaws.rds#OptionGroupNotFoundFault":
5761
+ throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
5753
5762
  case "StorageQuotaExceeded":
5754
5763
  case "com.amazonaws.rds#StorageQuotaExceededFault":
5755
5764
  throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
@@ -13215,6 +13224,9 @@ const se_RdsCustomClusterConfiguration = (input, context) => {
13215
13224
  if (input.TransitGatewayMulticastDomainId != null) {
13216
13225
  entries["TransitGatewayMulticastDomainId"] = input.TransitGatewayMulticastDomainId;
13217
13226
  }
13227
+ if (input.ReplicaMode != null) {
13228
+ entries["ReplicaMode"] = input.ReplicaMode;
13229
+ }
13218
13230
  return entries;
13219
13231
  };
13220
13232
  const se_RebootDBClusterMessage = (input, context) => {
@@ -15231,6 +15243,12 @@ const de_DBCluster = (output, context) => {
15231
15243
  output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"] !== undefined) {
15232
15244
  contents.ReadReplicaIdentifiers = de_ReadReplicaIdentifierList((0, smithy_client_1.getArrayIfSingleItem)(output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"]), context);
15233
15245
  }
15246
+ if (output.StatusInfos === "") {
15247
+ contents.StatusInfos = [];
15248
+ }
15249
+ else if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBClusterStatusInfo"] !== undefined) {
15250
+ contents.StatusInfos = de_DBClusterStatusInfoList((0, smithy_client_1.getArrayIfSingleItem)(output["StatusInfos"]["DBClusterStatusInfo"]), context);
15251
+ }
15234
15252
  if (output.DBClusterMembers === "") {
15235
15253
  contents.DBClusterMembers = [];
15236
15254
  }
@@ -16008,6 +16026,29 @@ const de_DBClusterSnapshotNotFoundFault = (output, context) => {
16008
16026
  }
16009
16027
  return contents;
16010
16028
  };
16029
+ const de_DBClusterStatusInfo = (output, context) => {
16030
+ const contents = {};
16031
+ if (output["StatusType"] !== undefined) {
16032
+ contents.StatusType = (0, smithy_client_1.expectString)(output["StatusType"]);
16033
+ }
16034
+ if (output["Normal"] !== undefined) {
16035
+ contents.Normal = (0, smithy_client_1.parseBoolean)(output["Normal"]);
16036
+ }
16037
+ if (output["Status"] !== undefined) {
16038
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
16039
+ }
16040
+ if (output["Message"] !== undefined) {
16041
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
16042
+ }
16043
+ return contents;
16044
+ };
16045
+ const de_DBClusterStatusInfoList = (output, context) => {
16046
+ return (output || [])
16047
+ .filter((e) => e != null)
16048
+ .map((entry) => {
16049
+ return de_DBClusterStatusInfo(entry, context);
16050
+ });
16051
+ };
16011
16052
  const de_DBEngineVersion = (output, context) => {
16012
16053
  const contents = {};
16013
16054
  if (output["Engine"] !== undefined) {
@@ -19582,6 +19623,9 @@ const de_RdsCustomClusterConfiguration = (output, context) => {
19582
19623
  if (output["TransitGatewayMulticastDomainId"] !== undefined) {
19583
19624
  contents.TransitGatewayMulticastDomainId = (0, smithy_client_1.expectString)(output["TransitGatewayMulticastDomainId"]);
19584
19625
  }
19626
+ if (output["ReplicaMode"] !== undefined) {
19627
+ contents.ReplicaMode = (0, smithy_client_1.expectString)(output["ReplicaMode"]);
19628
+ }
19585
19629
  return contents;
19586
19630
  };
19587
19631
  const de_ReadersArnList = (output, context) => {
@@ -596,6 +596,10 @@ export class Ec2ImagePropertiesNotSupportedFault extends __BaseException {
596
596
  Object.setPrototypeOf(this, Ec2ImagePropertiesNotSupportedFault.prototype);
597
597
  }
598
598
  }
599
+ export const ReplicaMode = {
600
+ MOUNTED: "mounted",
601
+ OPEN_READ_ONLY: "open-read-only",
602
+ };
599
603
  export const WriteForwardingStatus = {
600
604
  DISABLED: "disabled",
601
605
  DISABLING: "disabling",
@@ -682,6 +686,18 @@ export class InsufficientStorageClusterCapacityFault extends __BaseException {
682
686
  Object.setPrototypeOf(this, InsufficientStorageClusterCapacityFault.prototype);
683
687
  }
684
688
  }
689
+ export class InvalidDBSubnetGroupFault extends __BaseException {
690
+ constructor(opts) {
691
+ super({
692
+ name: "InvalidDBSubnetGroupFault",
693
+ $fault: "client",
694
+ ...opts,
695
+ });
696
+ this.name = "InvalidDBSubnetGroupFault";
697
+ this.$fault = "client";
698
+ Object.setPrototypeOf(this, InvalidDBSubnetGroupFault.prototype);
699
+ }
700
+ }
685
701
  export class InvalidDBSubnetGroupStateFault extends __BaseException {
686
702
  constructor(opts) {
687
703
  super({
@@ -806,10 +822,6 @@ export const AutomationMode = {
806
822
  ALL_PAUSED: "all-paused",
807
823
  FULL: "full",
808
824
  };
809
- export const ReplicaMode = {
810
- MOUNTED: "mounted",
811
- OPEN_READ_ONLY: "open-read-only",
812
- };
813
825
  export class DBInstanceAlreadyExistsFault extends __BaseException {
814
826
  constructor(opts) {
815
827
  super({
@@ -894,18 +906,6 @@ export class DBSubnetGroupNotAllowedFault extends __BaseException {
894
906
  Object.setPrototypeOf(this, DBSubnetGroupNotAllowedFault.prototype);
895
907
  }
896
908
  }
897
- export class InvalidDBSubnetGroupFault extends __BaseException {
898
- constructor(opts) {
899
- super({
900
- name: "InvalidDBSubnetGroupFault",
901
- $fault: "client",
902
- ...opts,
903
- });
904
- this.name = "InvalidDBSubnetGroupFault";
905
- this.$fault = "client";
906
- Object.setPrototypeOf(this, InvalidDBSubnetGroupFault.prototype);
907
- }
908
- }
909
909
  export const AuthScheme = {
910
910
  SECRETS: "SECRETS",
911
911
  };
@@ -2207,6 +2207,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
2207
2207
  case "InvalidDBInstanceState":
2208
2208
  case "com.amazonaws.rds#InvalidDBInstanceStateFault":
2209
2209
  throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
2210
+ case "InvalidDBSubnetGroupFault":
2211
+ case "com.amazonaws.rds#InvalidDBSubnetGroupFault":
2212
+ throw await de_InvalidDBSubnetGroupFaultRes(parsedOutput, context);
2210
2213
  case "InvalidDBSubnetGroupStateFault":
2211
2214
  case "com.amazonaws.rds#InvalidDBSubnetGroupStateFault":
2212
2215
  throw await de_InvalidDBSubnetGroupStateFaultRes(parsedOutput, context);
@@ -2222,6 +2225,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
2222
2225
  case "KMSKeyNotAccessibleFault":
2223
2226
  case "com.amazonaws.rds#KMSKeyNotAccessibleFault":
2224
2227
  throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
2228
+ case "OptionGroupNotFoundFault":
2229
+ case "com.amazonaws.rds#OptionGroupNotFoundFault":
2230
+ throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
2225
2231
  case "StorageQuotaExceeded":
2226
2232
  case "com.amazonaws.rds#StorageQuotaExceededFault":
2227
2233
  throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
@@ -5484,6 +5490,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
5484
5490
  case "InvalidVPCNetworkStateFault":
5485
5491
  case "com.amazonaws.rds#InvalidVPCNetworkStateFault":
5486
5492
  throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
5493
+ case "OptionGroupNotFoundFault":
5494
+ case "com.amazonaws.rds#OptionGroupNotFoundFault":
5495
+ throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
5487
5496
  case "StorageQuotaExceeded":
5488
5497
  case "com.amazonaws.rds#StorageQuotaExceededFault":
5489
5498
  throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
@@ -12902,6 +12911,9 @@ const se_RdsCustomClusterConfiguration = (input, context) => {
12902
12911
  if (input.TransitGatewayMulticastDomainId != null) {
12903
12912
  entries["TransitGatewayMulticastDomainId"] = input.TransitGatewayMulticastDomainId;
12904
12913
  }
12914
+ if (input.ReplicaMode != null) {
12915
+ entries["ReplicaMode"] = input.ReplicaMode;
12916
+ }
12905
12917
  return entries;
12906
12918
  };
12907
12919
  const se_RebootDBClusterMessage = (input, context) => {
@@ -14918,6 +14930,12 @@ const de_DBCluster = (output, context) => {
14918
14930
  output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"] !== undefined) {
14919
14931
  contents.ReadReplicaIdentifiers = de_ReadReplicaIdentifierList(__getArrayIfSingleItem(output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"]), context);
14920
14932
  }
14933
+ if (output.StatusInfos === "") {
14934
+ contents.StatusInfos = [];
14935
+ }
14936
+ else if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBClusterStatusInfo"] !== undefined) {
14937
+ contents.StatusInfos = de_DBClusterStatusInfoList(__getArrayIfSingleItem(output["StatusInfos"]["DBClusterStatusInfo"]), context);
14938
+ }
14921
14939
  if (output.DBClusterMembers === "") {
14922
14940
  contents.DBClusterMembers = [];
14923
14941
  }
@@ -15695,6 +15713,29 @@ const de_DBClusterSnapshotNotFoundFault = (output, context) => {
15695
15713
  }
15696
15714
  return contents;
15697
15715
  };
15716
+ const de_DBClusterStatusInfo = (output, context) => {
15717
+ const contents = {};
15718
+ if (output["StatusType"] !== undefined) {
15719
+ contents.StatusType = __expectString(output["StatusType"]);
15720
+ }
15721
+ if (output["Normal"] !== undefined) {
15722
+ contents.Normal = __parseBoolean(output["Normal"]);
15723
+ }
15724
+ if (output["Status"] !== undefined) {
15725
+ contents.Status = __expectString(output["Status"]);
15726
+ }
15727
+ if (output["Message"] !== undefined) {
15728
+ contents.Message = __expectString(output["Message"]);
15729
+ }
15730
+ return contents;
15731
+ };
15732
+ const de_DBClusterStatusInfoList = (output, context) => {
15733
+ return (output || [])
15734
+ .filter((e) => e != null)
15735
+ .map((entry) => {
15736
+ return de_DBClusterStatusInfo(entry, context);
15737
+ });
15738
+ };
15698
15739
  const de_DBEngineVersion = (output, context) => {
15699
15740
  const contents = {};
15700
15741
  if (output["Engine"] !== undefined) {
@@ -19269,6 +19310,9 @@ const de_RdsCustomClusterConfiguration = (output, context) => {
19269
19310
  if (output["TransitGatewayMulticastDomainId"] !== undefined) {
19270
19311
  contents.TransitGatewayMulticastDomainId = __expectString(output["TransitGatewayMulticastDomainId"]);
19271
19312
  }
19313
+ if (output["ReplicaMode"] !== undefined) {
19314
+ contents.ReplicaMode = __expectString(output["ReplicaMode"]);
19315
+ }
19272
19316
  return contents;
19273
19317
  };
19274
19318
  const de_ReadersArnList = (output, context) => {
@@ -24,6 +24,10 @@ export interface CopyDBClusterParameterGroupCommandOutput extends CopyDBClusterP
24
24
  /**
25
25
  * @public
26
26
  * <p>Copies the specified DB cluster parameter group.</p>
27
+ * <note>
28
+ * <p>You can't copy a default DB cluster parameter group. Instead, create a new custom DB cluster parameter group, which copies
29
+ * the default parameters and values for the specified DB cluster parameter group family.</p>
30
+ * </note>
27
31
  * @example
28
32
  * Use a bare-bones client and the command you need to make an API call.
29
33
  * ```javascript
@@ -24,6 +24,10 @@ export interface CopyDBParameterGroupCommandOutput extends CopyDBParameterGroupR
24
24
  /**
25
25
  * @public
26
26
  * <p>Copies the specified DB parameter group.</p>
27
+ * <note>
28
+ * <p>You can't copy a default DB parameter group. Instead, create a new custom DB parameter group, which copies the default
29
+ * parameters and values for the specified DB parameter group family.</p>
30
+ * </note>
27
31
  * @example
28
32
  * Use a bare-bones client and the command you need to make an API call.
29
33
  * ```javascript
@@ -91,6 +91,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
91
91
  * RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
92
92
  * InterconnectSubnetId: "STRING_VALUE",
93
93
  * TransitGatewayMulticastDomainId: "STRING_VALUE",
94
+ * ReplicaMode: "open-read-only" || "mounted",
94
95
  * },
95
96
  * DeletionProtection: true || false,
96
97
  * GlobalClusterIdentifier: "STRING_VALUE",
@@ -161,6 +162,14 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
161
162
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
162
163
  * // "STRING_VALUE",
163
164
  * // ],
165
+ * // StatusInfos: [ // DBClusterStatusInfoList
166
+ * // { // DBClusterStatusInfo
167
+ * // StatusType: "STRING_VALUE",
168
+ * // Normal: true || false,
169
+ * // Status: "STRING_VALUE",
170
+ * // Message: "STRING_VALUE",
171
+ * // },
172
+ * // ],
164
173
  * // DBClusterMembers: [ // DBClusterMemberList
165
174
  * // { // DBClusterMember
166
175
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -209,6 +218,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
209
218
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
210
219
  * // InterconnectSubnetId: "STRING_VALUE",
211
220
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
221
+ * // ReplicaMode: "open-read-only" || "mounted",
212
222
  * // },
213
223
  * // DeletionProtection: true || false,
214
224
  * // HttpEndpointEnabled: true || false,
@@ -257,6 +267,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
257
267
  * // RdsCustomClusterConfiguration: {
258
268
  * // InterconnectSubnetId: "STRING_VALUE",
259
269
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
270
+ * // ReplicaMode: "open-read-only" || "mounted",
260
271
  * // },
261
272
  * // Iops: Number("int"),
262
273
  * // StorageType: "STRING_VALUE",
@@ -341,6 +352,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
341
352
  * @throws {@link InvalidDBInstanceStateFault} (client fault)
342
353
  * <p>The DB instance isn't in a valid state.</p>
343
354
  *
355
+ * @throws {@link InvalidDBSubnetGroupFault} (client fault)
356
+ * <p>The DBSubnetGroup doesn't belong to the same VPC as that of an existing
357
+ * cross-region read replica of the same source instance.</p>
358
+ *
344
359
  * @throws {@link InvalidDBSubnetGroupStateFault} (client fault)
345
360
  * <p>The DB subnet group cannot be deleted because it's in use.</p>
346
361
  *
@@ -357,6 +372,9 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
357
372
  * @throws {@link KMSKeyNotAccessibleFault} (client fault)
358
373
  * <p>An error occurred accessing an Amazon Web Services KMS key.</p>
359
374
  *
375
+ * @throws {@link OptionGroupNotFoundFault} (client fault)
376
+ * <p>The specified option group could not be found.</p>
377
+ *
360
378
  * @throws {@link StorageQuotaExceededFault} (client fault)
361
379
  * <p>The request would result in the user exceeding the allowed amount of storage
362
380
  * available across all DB instances.</p>
@@ -87,6 +87,14 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
87
87
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
88
88
  * // "STRING_VALUE",
89
89
  * // ],
90
+ * // StatusInfos: [ // DBClusterStatusInfoList
91
+ * // { // DBClusterStatusInfo
92
+ * // StatusType: "STRING_VALUE",
93
+ * // Normal: true || false,
94
+ * // Status: "STRING_VALUE",
95
+ * // Message: "STRING_VALUE",
96
+ * // },
97
+ * // ],
90
98
  * // DBClusterMembers: [ // DBClusterMemberList
91
99
  * // { // DBClusterMember
92
100
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -135,6 +143,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
135
143
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
136
144
  * // InterconnectSubnetId: "STRING_VALUE",
137
145
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
146
+ * // ReplicaMode: "open-read-only" || "mounted",
138
147
  * // },
139
148
  * // DeletionProtection: true || false,
140
149
  * // HttpEndpointEnabled: true || false,
@@ -183,6 +192,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
183
192
  * // RdsCustomClusterConfiguration: {
184
193
  * // InterconnectSubnetId: "STRING_VALUE",
185
194
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
195
+ * // ReplicaMode: "open-read-only" || "mounted",
186
196
  * // },
187
197
  * // Iops: Number("int"),
188
198
  * // StorageType: "STRING_VALUE",
@@ -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 { DBClusterAutomatedBackupMessage } from "../models/models_0";
5
- import { DescribeDBClusterAutomatedBackupsMessage } from "../models/models_1";
4
+ import { DBClusterAutomatedBackupMessage, DescribeDBClusterAutomatedBackupsMessage } from "../models/models_1";
6
5
  import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
7
6
  /**
8
7
  * @public
@@ -94,6 +94,14 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
94
94
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
95
95
  * // "STRING_VALUE",
96
96
  * // ],
97
+ * // StatusInfos: [ // DBClusterStatusInfoList
98
+ * // { // DBClusterStatusInfo
99
+ * // StatusType: "STRING_VALUE",
100
+ * // Normal: true || false,
101
+ * // Status: "STRING_VALUE",
102
+ * // Message: "STRING_VALUE",
103
+ * // },
104
+ * // ],
97
105
  * // DBClusterMembers: [ // DBClusterMemberList
98
106
  * // { // DBClusterMember
99
107
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -142,6 +150,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
142
150
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
143
151
  * // InterconnectSubnetId: "STRING_VALUE",
144
152
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
153
+ * // ReplicaMode: "open-read-only" || "mounted",
145
154
  * // },
146
155
  * // DeletionProtection: true || false,
147
156
  * // HttpEndpointEnabled: true || false,
@@ -190,6 +199,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
190
199
  * // RdsCustomClusterConfiguration: {
191
200
  * // InterconnectSubnetId: "STRING_VALUE",
192
201
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
202
+ * // ReplicaMode: "open-read-only" || "mounted",
193
203
  * // },
194
204
  * // Iops: Number("int"),
195
205
  * // StorageType: "STRING_VALUE",
@@ -91,6 +91,14 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
91
91
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
92
92
  * // "STRING_VALUE",
93
93
  * // ],
94
+ * // StatusInfos: [ // DBClusterStatusInfoList
95
+ * // { // DBClusterStatusInfo
96
+ * // StatusType: "STRING_VALUE",
97
+ * // Normal: true || false,
98
+ * // Status: "STRING_VALUE",
99
+ * // Message: "STRING_VALUE",
100
+ * // },
101
+ * // ],
94
102
  * // DBClusterMembers: [ // DBClusterMemberList
95
103
  * // { // DBClusterMember
96
104
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -139,6 +147,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
139
147
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
140
148
  * // InterconnectSubnetId: "STRING_VALUE",
141
149
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
150
+ * // ReplicaMode: "open-read-only" || "mounted",
142
151
  * // },
143
152
  * // DeletionProtection: true || false,
144
153
  * // HttpEndpointEnabled: true || false,
@@ -187,6 +196,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
187
196
  * // RdsCustomClusterConfiguration: {
188
197
  * // InterconnectSubnetId: "STRING_VALUE",
189
198
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
199
+ * // ReplicaMode: "open-read-only" || "mounted",
190
200
  * // },
191
201
  * // Iops: Number("int"),
192
202
  * // StorageType: "STRING_VALUE",
@@ -143,6 +143,14 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
143
143
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
144
144
  * // "STRING_VALUE",
145
145
  * // ],
146
+ * // StatusInfos: [ // DBClusterStatusInfoList
147
+ * // { // DBClusterStatusInfo
148
+ * // StatusType: "STRING_VALUE",
149
+ * // Normal: true || false,
150
+ * // Status: "STRING_VALUE",
151
+ * // Message: "STRING_VALUE",
152
+ * // },
153
+ * // ],
146
154
  * // DBClusterMembers: [ // DBClusterMemberList
147
155
  * // { // DBClusterMember
148
156
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -191,6 +199,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
191
199
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
192
200
  * // InterconnectSubnetId: "STRING_VALUE",
193
201
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
202
+ * // ReplicaMode: "open-read-only" || "mounted",
194
203
  * // },
195
204
  * // DeletionProtection: true || false,
196
205
  * // HttpEndpointEnabled: true || false,
@@ -239,6 +248,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
239
248
  * // RdsCustomClusterConfiguration: {
240
249
  * // InterconnectSubnetId: "STRING_VALUE",
241
250
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
251
+ * // ReplicaMode: "open-read-only" || "mounted",
242
252
  * // },
243
253
  * // Iops: Number("int"),
244
254
  * // StorageType: "STRING_VALUE",
@@ -320,6 +330,9 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
320
330
  * <p>The DB subnet group doesn't cover all Availability Zones after it's
321
331
  * created because of users' change.</p>
322
332
  *
333
+ * @throws {@link OptionGroupNotFoundFault} (client fault)
334
+ * <p>The specified option group could not be found.</p>
335
+ *
323
336
  * @throws {@link StorageQuotaExceededFault} (client fault)
324
337
  * <p>The request would result in the user exceeding the allowed amount of storage
325
338
  * available across all DB instances.</p>
@@ -74,6 +74,14 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
74
74
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
75
75
  * // "STRING_VALUE",
76
76
  * // ],
77
+ * // StatusInfos: [ // DBClusterStatusInfoList
78
+ * // { // DBClusterStatusInfo
79
+ * // StatusType: "STRING_VALUE",
80
+ * // Normal: true || false,
81
+ * // Status: "STRING_VALUE",
82
+ * // Message: "STRING_VALUE",
83
+ * // },
84
+ * // ],
77
85
  * // DBClusterMembers: [ // DBClusterMemberList
78
86
  * // { // DBClusterMember
79
87
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -122,6 +130,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
122
130
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
123
131
  * // InterconnectSubnetId: "STRING_VALUE",
124
132
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
133
+ * // ReplicaMode: "open-read-only" || "mounted",
125
134
  * // },
126
135
  * // DeletionProtection: true || false,
127
136
  * // HttpEndpointEnabled: true || false,
@@ -170,6 +179,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
170
179
  * // RdsCustomClusterConfiguration: {
171
180
  * // InterconnectSubnetId: "STRING_VALUE",
172
181
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
182
+ * // ReplicaMode: "open-read-only" || "mounted",
173
183
  * // },
174
184
  * // Iops: Number("int"),
175
185
  * // StorageType: "STRING_VALUE",
@@ -84,6 +84,14 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
84
84
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
85
85
  * // "STRING_VALUE",
86
86
  * // ],
87
+ * // StatusInfos: [ // DBClusterStatusInfoList
88
+ * // { // DBClusterStatusInfo
89
+ * // StatusType: "STRING_VALUE",
90
+ * // Normal: true || false,
91
+ * // Status: "STRING_VALUE",
92
+ * // Message: "STRING_VALUE",
93
+ * // },
94
+ * // ],
87
95
  * // DBClusterMembers: [ // DBClusterMemberList
88
96
  * // { // DBClusterMember
89
97
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -132,6 +140,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
132
140
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
133
141
  * // InterconnectSubnetId: "STRING_VALUE",
134
142
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
143
+ * // ReplicaMode: "open-read-only" || "mounted",
135
144
  * // },
136
145
  * // DeletionProtection: true || false,
137
146
  * // HttpEndpointEnabled: true || false,
@@ -180,6 +189,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
180
189
  * // RdsCustomClusterConfiguration: {
181
190
  * // InterconnectSubnetId: "STRING_VALUE",
182
191
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
192
+ * // ReplicaMode: "open-read-only" || "mounted",
183
193
  * // },
184
194
  * // Iops: Number("int"),
185
195
  * // StorageType: "STRING_VALUE",
@@ -140,6 +140,14 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
140
140
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
141
141
  * // "STRING_VALUE",
142
142
  * // ],
143
+ * // StatusInfos: [ // DBClusterStatusInfoList
144
+ * // { // DBClusterStatusInfo
145
+ * // StatusType: "STRING_VALUE",
146
+ * // Normal: true || false,
147
+ * // Status: "STRING_VALUE",
148
+ * // Message: "STRING_VALUE",
149
+ * // },
150
+ * // ],
143
151
  * // DBClusterMembers: [ // DBClusterMemberList
144
152
  * // { // DBClusterMember
145
153
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -188,6 +196,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
188
196
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
189
197
  * // InterconnectSubnetId: "STRING_VALUE",
190
198
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
199
+ * // ReplicaMode: "open-read-only" || "mounted",
191
200
  * // },
192
201
  * // DeletionProtection: true || false,
193
202
  * // HttpEndpointEnabled: true || false,
@@ -236,6 +245,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
236
245
  * // RdsCustomClusterConfiguration: {
237
246
  * // InterconnectSubnetId: "STRING_VALUE",
238
247
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
248
+ * // ReplicaMode: "open-read-only" || "mounted",
239
249
  * // },
240
250
  * // Iops: Number("int"),
241
251
  * // StorageType: "STRING_VALUE",
@@ -101,6 +101,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
101
101
  * RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
102
102
  * InterconnectSubnetId: "STRING_VALUE",
103
103
  * TransitGatewayMulticastDomainId: "STRING_VALUE",
104
+ * ReplicaMode: "open-read-only" || "mounted",
104
105
  * },
105
106
  * };
106
107
  * const command = new RestoreDBClusterFromSnapshotCommand(input);
@@ -144,6 +145,14 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
144
145
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
145
146
  * // "STRING_VALUE",
146
147
  * // ],
148
+ * // StatusInfos: [ // DBClusterStatusInfoList
149
+ * // { // DBClusterStatusInfo
150
+ * // StatusType: "STRING_VALUE",
151
+ * // Normal: true || false,
152
+ * // Status: "STRING_VALUE",
153
+ * // Message: "STRING_VALUE",
154
+ * // },
155
+ * // ],
147
156
  * // DBClusterMembers: [ // DBClusterMemberList
148
157
  * // { // DBClusterMember
149
158
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -192,6 +201,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
192
201
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
193
202
  * // InterconnectSubnetId: "STRING_VALUE",
194
203
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
204
+ * // ReplicaMode: "open-read-only" || "mounted",
195
205
  * // },
196
206
  * // DeletionProtection: true || false,
197
207
  * // HttpEndpointEnabled: true || false,
@@ -240,6 +250,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
240
250
  * // RdsCustomClusterConfiguration: {
241
251
  * // InterconnectSubnetId: "STRING_VALUE",
242
252
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
253
+ * // ReplicaMode: "open-read-only" || "mounted",
243
254
  * // },
244
255
  * // Iops: Number("int"),
245
256
  * // StorageType: "STRING_VALUE",
@@ -100,6 +100,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
100
100
  * RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
101
101
  * InterconnectSubnetId: "STRING_VALUE",
102
102
  * TransitGatewayMulticastDomainId: "STRING_VALUE",
103
+ * ReplicaMode: "open-read-only" || "mounted",
103
104
  * },
104
105
  * };
105
106
  * const command = new RestoreDBClusterToPointInTimeCommand(input);
@@ -143,6 +144,14 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
143
144
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
144
145
  * // "STRING_VALUE",
145
146
  * // ],
147
+ * // StatusInfos: [ // DBClusterStatusInfoList
148
+ * // { // DBClusterStatusInfo
149
+ * // StatusType: "STRING_VALUE",
150
+ * // Normal: true || false,
151
+ * // Status: "STRING_VALUE",
152
+ * // Message: "STRING_VALUE",
153
+ * // },
154
+ * // ],
146
155
  * // DBClusterMembers: [ // DBClusterMemberList
147
156
  * // { // DBClusterMember
148
157
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -191,6 +200,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
191
200
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
192
201
  * // InterconnectSubnetId: "STRING_VALUE",
193
202
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
203
+ * // ReplicaMode: "open-read-only" || "mounted",
194
204
  * // },
195
205
  * // DeletionProtection: true || false,
196
206
  * // HttpEndpointEnabled: true || false,
@@ -239,6 +249,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
239
249
  * // RdsCustomClusterConfiguration: {
240
250
  * // InterconnectSubnetId: "STRING_VALUE",
241
251
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
252
+ * // ReplicaMode: "open-read-only" || "mounted",
242
253
  * // },
243
254
  * // Iops: Number("int"),
244
255
  * // StorageType: "STRING_VALUE",
@@ -81,6 +81,14 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
81
81
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
82
82
  * // "STRING_VALUE",
83
83
  * // ],
84
+ * // StatusInfos: [ // DBClusterStatusInfoList
85
+ * // { // DBClusterStatusInfo
86
+ * // StatusType: "STRING_VALUE",
87
+ * // Normal: true || false,
88
+ * // Status: "STRING_VALUE",
89
+ * // Message: "STRING_VALUE",
90
+ * // },
91
+ * // ],
84
92
  * // DBClusterMembers: [ // DBClusterMemberList
85
93
  * // { // DBClusterMember
86
94
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -129,6 +137,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
129
137
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
130
138
  * // InterconnectSubnetId: "STRING_VALUE",
131
139
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
140
+ * // ReplicaMode: "open-read-only" || "mounted",
132
141
  * // },
133
142
  * // DeletionProtection: true || false,
134
143
  * // HttpEndpointEnabled: true || false,
@@ -177,6 +186,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
177
186
  * // RdsCustomClusterConfiguration: {
178
187
  * // InterconnectSubnetId: "STRING_VALUE",
179
188
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
189
+ * // ReplicaMode: "open-read-only" || "mounted",
180
190
  * // },
181
191
  * // Iops: Number("int"),
182
192
  * // StorageType: "STRING_VALUE",
@@ -82,6 +82,14 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
82
82
  * // ReadReplicaIdentifiers: [ // ReadReplicaIdentifierList
83
83
  * // "STRING_VALUE",
84
84
  * // ],
85
+ * // StatusInfos: [ // DBClusterStatusInfoList
86
+ * // { // DBClusterStatusInfo
87
+ * // StatusType: "STRING_VALUE",
88
+ * // Normal: true || false,
89
+ * // Status: "STRING_VALUE",
90
+ * // Message: "STRING_VALUE",
91
+ * // },
92
+ * // ],
85
93
  * // DBClusterMembers: [ // DBClusterMemberList
86
94
  * // { // DBClusterMember
87
95
  * // DBInstanceIdentifier: "STRING_VALUE",
@@ -130,6 +138,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
130
138
  * // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
131
139
  * // InterconnectSubnetId: "STRING_VALUE",
132
140
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
141
+ * // ReplicaMode: "open-read-only" || "mounted",
133
142
  * // },
134
143
  * // DeletionProtection: true || false,
135
144
  * // HttpEndpointEnabled: true || false,
@@ -178,6 +187,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
178
187
  * // RdsCustomClusterConfiguration: {
179
188
  * // InterconnectSubnetId: "STRING_VALUE",
180
189
  * // TransitGatewayMulticastDomainId: "STRING_VALUE",
190
+ * // ReplicaMode: "open-read-only" || "mounted",
181
191
  * // },
182
192
  * // Iops: Number("int"),
183
193
  * // StorageType: "STRING_VALUE",
@@ -3472,6 +3472,18 @@ export declare class Ec2ImagePropertiesNotSupportedFault extends __BaseException
3472
3472
  */
3473
3473
  constructor(opts: __ExceptionOptionType<Ec2ImagePropertiesNotSupportedFault, __BaseException>);
3474
3474
  }
3475
+ /**
3476
+ * @public
3477
+ * @enum
3478
+ */
3479
+ export declare const ReplicaMode: {
3480
+ readonly MOUNTED: "mounted";
3481
+ readonly OPEN_READ_ONLY: "open-read-only";
3482
+ };
3483
+ /**
3484
+ * @public
3485
+ */
3486
+ export type ReplicaMode = (typeof ReplicaMode)[keyof typeof ReplicaMode];
3475
3487
  /**
3476
3488
  * @public
3477
3489
  * <p>Reserved for future use.</p>
@@ -3487,6 +3499,11 @@ export interface RdsCustomClusterConfiguration {
3487
3499
  * <p>Reserved for future use.</p>
3488
3500
  */
3489
3501
  TransitGatewayMulticastDomainId?: string;
3502
+ /**
3503
+ * @public
3504
+ * <p>Reserved for future use.</p>
3505
+ */
3506
+ ReplicaMode?: ReplicaMode;
3490
3507
  }
3491
3508
  /**
3492
3509
  * @public
@@ -4673,6 +4690,32 @@ export interface ServerlessV2ScalingConfigurationInfo {
4673
4690
  */
4674
4691
  MaxCapacity?: number;
4675
4692
  }
4693
+ /**
4694
+ * @public
4695
+ * <p>Reserved for future use.</p>
4696
+ */
4697
+ export interface DBClusterStatusInfo {
4698
+ /**
4699
+ * @public
4700
+ * <p>Reserved for future use.</p>
4701
+ */
4702
+ StatusType?: string;
4703
+ /**
4704
+ * @public
4705
+ * <p>Reserved for future use.</p>
4706
+ */
4707
+ Normal?: boolean;
4708
+ /**
4709
+ * @public
4710
+ * <p>Reserved for future use.</p>
4711
+ */
4712
+ Status?: string;
4713
+ /**
4714
+ * @public
4715
+ * <p>Reserved for future use.</p>
4716
+ */
4717
+ Message?: string;
4718
+ }
4676
4719
  /**
4677
4720
  * @public
4678
4721
  * <p>Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster.</p>
@@ -4839,6 +4882,11 @@ export interface DBCluster {
4839
4882
  * cluster.</p>
4840
4883
  */
4841
4884
  ReadReplicaIdentifiers?: string[];
4885
+ /**
4886
+ * @public
4887
+ * <p>Reserved for future use.</p>
4888
+ */
4889
+ StatusInfos?: DBClusterStatusInfo[];
4842
4890
  /**
4843
4891
  * @public
4844
4892
  * <p>The list of DB instances that make up the DB cluster.</p>
@@ -5272,6 +5320,19 @@ export declare class InsufficientStorageClusterCapacityFault extends __BaseExcep
5272
5320
  */
5273
5321
  constructor(opts: __ExceptionOptionType<InsufficientStorageClusterCapacityFault, __BaseException>);
5274
5322
  }
5323
+ /**
5324
+ * @public
5325
+ * <p>The DBSubnetGroup doesn't belong to the same VPC as that of an existing
5326
+ * cross-region read replica of the same source instance.</p>
5327
+ */
5328
+ export declare class InvalidDBSubnetGroupFault extends __BaseException {
5329
+ readonly name: "InvalidDBSubnetGroupFault";
5330
+ readonly $fault: "client";
5331
+ /**
5332
+ * @internal
5333
+ */
5334
+ constructor(opts: __ExceptionOptionType<InvalidDBSubnetGroupFault, __BaseException>);
5335
+ }
5275
5336
  /**
5276
5337
  * @public
5277
5338
  * <p>The DB subnet group cannot be deleted because it's in use.</p>
@@ -7406,18 +7467,6 @@ export interface PendingModifiedValues {
7406
7467
  */
7407
7468
  MultiTenant?: boolean;
7408
7469
  }
7409
- /**
7410
- * @public
7411
- * @enum
7412
- */
7413
- export declare const ReplicaMode: {
7414
- readonly MOUNTED: "mounted";
7415
- readonly OPEN_READ_ONLY: "open-read-only";
7416
- };
7417
- /**
7418
- * @public
7419
- */
7420
- export type ReplicaMode = (typeof ReplicaMode)[keyof typeof ReplicaMode];
7421
7470
  /**
7422
7471
  * @public
7423
7472
  * <p>Provides a list of status information for a DB instance.</p>
@@ -8739,19 +8788,6 @@ export declare class DBSubnetGroupNotAllowedFault extends __BaseException {
8739
8788
  */
8740
8789
  constructor(opts: __ExceptionOptionType<DBSubnetGroupNotAllowedFault, __BaseException>);
8741
8790
  }
8742
- /**
8743
- * @public
8744
- * <p>The DBSubnetGroup doesn't belong to the same VPC as that of an existing
8745
- * cross-region read replica of the same source instance.</p>
8746
- */
8747
- export declare class InvalidDBSubnetGroupFault extends __BaseException {
8748
- readonly name: "InvalidDBSubnetGroupFault";
8749
- readonly $fault: "client";
8750
- /**
8751
- * @internal
8752
- */
8753
- constructor(opts: __ExceptionOptionType<InvalidDBSubnetGroupFault, __BaseException>);
8754
- }
8755
8791
  /**
8756
8792
  * @public
8757
8793
  * <p></p>
@@ -12048,22 +12084,6 @@ export interface DescribeCertificatesMessage {
12048
12084
  */
12049
12085
  Marker?: string;
12050
12086
  }
12051
- /**
12052
- * @public
12053
- */
12054
- export interface DBClusterAutomatedBackupMessage {
12055
- /**
12056
- * @public
12057
- * <p>The pagination token provided in the previous request. If this parameter is specified the response includes only
12058
- * records beyond the marker, up to <code>MaxRecords</code>.</p>
12059
- */
12060
- Marker?: string;
12061
- /**
12062
- * @public
12063
- * <p>A list of <code>DBClusterAutomatedBackup</code> backups.</p>
12064
- */
12065
- DBClusterAutomatedBackups?: DBClusterAutomatedBackup[];
12066
- }
12067
12087
  /**
12068
12088
  * @internal
12069
12089
  */
@@ -1,6 +1,22 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ActivityStreamMode, ActivityStreamPolicyStatus, ActivityStreamStatus, AutomationMode, AvailabilityZone, BlueGreenDeployment, Certificate, DBCluster, DBClusterBacktrack, DBClusterEndpoint, DBClusterParameterGroup, DBClusterSnapshot, DBEngineVersion, DBInstance, DBInstanceAutomatedBackup, DBParameterGroup, DBProxy, DBProxyEndpoint, DBSecurityGroup, DBSnapshot, DBSubnetGroup, EventSubscription, ExportSourceType, ExportTask, Filter, GlobalCluster, Integration, OptionGroup, OptionSetting, ProcessorFeature, RdsCustomClusterConfiguration, ReplicaMode, ResourcePendingMaintenanceActions, ScalingConfiguration, ServerlessV2ScalingConfiguration, Tag, TenantDatabase, UserAuthConfig } from "./models_0";
2
+ import { ActivityStreamMode, ActivityStreamPolicyStatus, ActivityStreamStatus, AutomationMode, AvailabilityZone, BlueGreenDeployment, Certificate, DBCluster, DBClusterAutomatedBackup, DBClusterBacktrack, DBClusterEndpoint, DBClusterParameterGroup, DBClusterSnapshot, DBEngineVersion, DBInstance, DBInstanceAutomatedBackup, DBParameterGroup, DBProxy, DBProxyEndpoint, DBSecurityGroup, DBSnapshot, DBSubnetGroup, EventSubscription, ExportSourceType, ExportTask, Filter, GlobalCluster, Integration, OptionGroup, OptionSetting, ProcessorFeature, RdsCustomClusterConfiguration, ReplicaMode, ResourcePendingMaintenanceActions, ScalingConfiguration, ServerlessV2ScalingConfiguration, Tag, TenantDatabase, UserAuthConfig } from "./models_0";
3
3
  import { RDSServiceException as __BaseException } from "./RDSServiceException";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DBClusterAutomatedBackupMessage {
8
+ /**
9
+ * @public
10
+ * <p>The pagination token provided in the previous request. If this parameter is specified the response includes only
11
+ * records beyond the marker, up to <code>MaxRecords</code>.</p>
12
+ */
13
+ Marker?: string;
14
+ /**
15
+ * @public
16
+ * <p>A list of <code>DBClusterAutomatedBackup</code> backups.</p>
17
+ */
18
+ DBClusterAutomatedBackups?: DBClusterAutomatedBackup[];
19
+ }
4
20
  /**
5
21
  * @public
6
22
  */
@@ -6,8 +6,10 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@smithy/types";
9
- import { DBClusterAutomatedBackupMessage } from "../models/models_0";
10
- import { DescribeDBClusterAutomatedBackupsMessage } from "../models/models_1";
9
+ import {
10
+ DBClusterAutomatedBackupMessage,
11
+ DescribeDBClusterAutomatedBackupsMessage,
12
+ } from "../models/models_1";
11
13
  import {
12
14
  RDSClientResolvedConfig,
13
15
  ServiceInputTypes,
@@ -842,9 +842,15 @@ export declare class Ec2ImagePropertiesNotSupportedFault extends __BaseException
842
842
  >
843
843
  );
844
844
  }
845
+ export declare const ReplicaMode: {
846
+ readonly MOUNTED: "mounted";
847
+ readonly OPEN_READ_ONLY: "open-read-only";
848
+ };
849
+ export type ReplicaMode = (typeof ReplicaMode)[keyof typeof ReplicaMode];
845
850
  export interface RdsCustomClusterConfiguration {
846
851
  InterconnectSubnetId?: string;
847
852
  TransitGatewayMulticastDomainId?: string;
853
+ ReplicaMode?: ReplicaMode;
848
854
  }
849
855
  export interface ScalingConfiguration {
850
856
  MinCapacity?: number;
@@ -986,6 +992,12 @@ export interface ServerlessV2ScalingConfigurationInfo {
986
992
  MinCapacity?: number;
987
993
  MaxCapacity?: number;
988
994
  }
995
+ export interface DBClusterStatusInfo {
996
+ StatusType?: string;
997
+ Normal?: boolean;
998
+ Status?: string;
999
+ Message?: string;
1000
+ }
989
1001
  export interface DBCluster {
990
1002
  AllocatedStorage?: number;
991
1003
  AvailabilityZones?: string[];
@@ -1013,6 +1025,7 @@ export interface DBCluster {
1013
1025
  PreferredMaintenanceWindow?: string;
1014
1026
  ReplicationSourceIdentifier?: string;
1015
1027
  ReadReplicaIdentifiers?: string[];
1028
+ StatusInfos?: DBClusterStatusInfo[];
1016
1029
  DBClusterMembers?: DBClusterMember[];
1017
1030
  VpcSecurityGroups?: VpcSecurityGroupMembership[];
1018
1031
  HostedZoneId?: string;
@@ -1114,6 +1127,13 @@ export declare class InsufficientStorageClusterCapacityFault extends __BaseExcep
1114
1127
  >
1115
1128
  );
1116
1129
  }
1130
+ export declare class InvalidDBSubnetGroupFault extends __BaseException {
1131
+ readonly name: "InvalidDBSubnetGroupFault";
1132
+ readonly $fault: "client";
1133
+ constructor(
1134
+ opts: __ExceptionOptionType<InvalidDBSubnetGroupFault, __BaseException>
1135
+ );
1136
+ }
1117
1137
  export declare class InvalidDBSubnetGroupStateFault extends __BaseException {
1118
1138
  readonly name: "InvalidDBSubnetGroupStateFault";
1119
1139
  readonly $fault: "client";
@@ -1365,11 +1385,6 @@ export interface PendingModifiedValues {
1365
1385
  DedicatedLogVolume?: boolean;
1366
1386
  MultiTenant?: boolean;
1367
1387
  }
1368
- export declare const ReplicaMode: {
1369
- readonly MOUNTED: "mounted";
1370
- readonly OPEN_READ_ONLY: "open-read-only";
1371
- };
1372
- export type ReplicaMode = (typeof ReplicaMode)[keyof typeof ReplicaMode];
1373
1388
  export interface DBInstanceStatusInfo {
1374
1389
  StatusType?: string;
1375
1390
  Normal?: boolean;
@@ -1573,13 +1588,6 @@ export declare class DBSubnetGroupNotAllowedFault extends __BaseException {
1573
1588
  opts: __ExceptionOptionType<DBSubnetGroupNotAllowedFault, __BaseException>
1574
1589
  );
1575
1590
  }
1576
- export declare class InvalidDBSubnetGroupFault extends __BaseException {
1577
- readonly name: "InvalidDBSubnetGroupFault";
1578
- readonly $fault: "client";
1579
- constructor(
1580
- opts: __ExceptionOptionType<InvalidDBSubnetGroupFault, __BaseException>
1581
- );
1582
- }
1583
1591
  export interface CreateDBParameterGroupMessage {
1584
1592
  DBParameterGroupName: string | undefined;
1585
1593
  DBParameterGroupFamily: string | undefined;
@@ -2463,10 +2471,6 @@ export interface DescribeCertificatesMessage {
2463
2471
  MaxRecords?: number;
2464
2472
  Marker?: string;
2465
2473
  }
2466
- export interface DBClusterAutomatedBackupMessage {
2467
- Marker?: string;
2468
- DBClusterAutomatedBackups?: DBClusterAutomatedBackup[];
2469
- }
2470
2474
  export declare const CreateTenantDatabaseMessageFilterSensitiveLog: (
2471
2475
  obj: CreateTenantDatabaseMessage
2472
2476
  ) => any;
@@ -8,6 +8,7 @@ import {
8
8
  BlueGreenDeployment,
9
9
  Certificate,
10
10
  DBCluster,
11
+ DBClusterAutomatedBackup,
11
12
  DBClusterBacktrack,
12
13
  DBClusterEndpoint,
13
14
  DBClusterParameterGroup,
@@ -40,6 +41,10 @@ import {
40
41
  UserAuthConfig,
41
42
  } from "./models_0";
42
43
  import { RDSServiceException as __BaseException } from "./RDSServiceException";
44
+ export interface DBClusterAutomatedBackupMessage {
45
+ Marker?: string;
46
+ DBClusterAutomatedBackups?: DBClusterAutomatedBackup[];
47
+ }
43
48
  export interface DescribeDBClusterAutomatedBackupsMessage {
44
49
  DbClusterResourceId?: string;
45
50
  DBClusterIdentifier?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rds",
3
3
  "description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
4
- "version": "3.452.0",
4
+ "version": "3.454.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,7 +21,7 @@
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.451.0",
24
+ "@aws-sdk/client-sts": "3.454.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
26
  "@aws-sdk/credential-provider-node": "3.451.0",
27
27
  "@aws-sdk/middleware-host-header": "3.451.0",