@aws-sdk/client-rds 3.899.0 → 3.900.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 (112) hide show
  1. package/dist-cjs/index.js +822 -506
  2. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +2 -1
  3. package/dist-es/commands/CopyDBSnapshotCommand.js +2 -1
  4. package/dist-es/commands/CopyOptionGroupCommand.js +2 -1
  5. package/dist-es/commands/CreateDBClusterCommand.js +2 -1
  6. package/dist-es/commands/CreateDBInstanceCommand.js +2 -1
  7. package/dist-es/commands/CreateDBInstanceReadReplicaCommand.js +2 -1
  8. package/dist-es/commands/CreateOptionGroupCommand.js +2 -1
  9. package/dist-es/commands/DeleteDBClusterCommand.js +2 -1
  10. package/dist-es/commands/DeleteDBInstanceCommand.js +2 -1
  11. package/dist-es/commands/DescribeDBClustersCommand.js +2 -1
  12. package/dist-es/commands/DescribeDBInstancesCommand.js +2 -1
  13. package/dist-es/commands/DescribeOptionGroupsCommand.js +2 -1
  14. package/dist-es/commands/DownloadDBLogFilePortionCommand.js +2 -1
  15. package/dist-es/commands/FailoverDBClusterCommand.js +2 -1
  16. package/dist-es/commands/ModifyDBClusterCommand.js +2 -1
  17. package/dist-es/commands/ModifyDBInstanceCommand.js +2 -1
  18. package/dist-es/commands/ModifyOptionGroupCommand.js +2 -1
  19. package/dist-es/commands/PromoteReadReplicaCommand.js +2 -1
  20. package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js +2 -1
  21. package/dist-es/commands/RebootDBClusterCommand.js +2 -1
  22. package/dist-es/commands/RebootDBInstanceCommand.js +2 -1
  23. package/dist-es/commands/RestoreDBClusterFromS3Command.js +2 -1
  24. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +2 -1
  25. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +2 -1
  26. package/dist-es/commands/RestoreDBInstanceFromDBSnapshotCommand.js +2 -1
  27. package/dist-es/commands/RestoreDBInstanceFromS3Command.js +2 -1
  28. package/dist-es/commands/RestoreDBInstanceToPointInTimeCommand.js +2 -1
  29. package/dist-es/commands/StartDBClusterCommand.js +2 -1
  30. package/dist-es/commands/StartDBInstanceAutomatedBackupsReplicationCommand.js +2 -1
  31. package/dist-es/commands/StartDBInstanceCommand.js +2 -1
  32. package/dist-es/commands/StopDBClusterCommand.js +2 -1
  33. package/dist-es/commands/StopDBInstanceCommand.js +2 -1
  34. package/dist-es/commands/SwitchoverReadReplicaCommand.js +2 -1
  35. package/dist-es/models/models_0.js +182 -100
  36. package/dist-es/models/models_1.js +135 -3
  37. package/dist-es/protocols/Aws_query.js +303 -303
  38. package/dist-types/RDS.d.ts +0 -3
  39. package/dist-types/commands/AddTagsToResourceCommand.d.ts +15 -0
  40. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +2 -2
  41. package/dist-types/commands/CopyDBSnapshotCommand.d.ts +4 -4
  42. package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +4 -0
  43. package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +15 -9
  44. package/dist-types/commands/CreateDBClusterCommand.d.ts +63 -57
  45. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +2 -2
  46. package/dist-types/commands/CreateDBInstanceCommand.d.ts +27 -27
  47. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +25 -25
  48. package/dist-types/commands/CreateDBSnapshotCommand.d.ts +3 -3
  49. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +8 -2
  50. package/dist-types/commands/CreateIntegrationCommand.d.ts +2 -2
  51. package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +7 -7
  52. package/dist-types/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +1 -1
  53. package/dist-types/commands/DeleteDBClusterCommand.d.ts +49 -43
  54. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +2 -2
  55. package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +2 -2
  56. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +24 -21
  57. package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +3 -3
  58. package/dist-types/commands/DeleteIntegrationCommand.d.ts +2 -2
  59. package/dist-types/commands/DeleteTenantDatabaseCommand.d.ts +4 -0
  60. package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -2
  62. package/dist-types/commands/DescribeDBClustersCommand.d.ts +43 -43
  63. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +7 -7
  64. package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +2 -2
  65. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +21 -21
  66. package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +2 -2
  68. package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +3 -3
  69. package/dist-types/commands/DescribeEventsCommand.d.ts +2 -2
  70. package/dist-types/commands/DescribeIntegrationsCommand.d.ts +2 -2
  71. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +6 -6
  72. package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +1 -1
  73. package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +1 -1
  74. package/dist-types/commands/FailoverDBClusterCommand.d.ts +43 -43
  75. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
  76. package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +7 -7
  77. package/dist-types/commands/ModifyDBClusterCommand.d.ts +67 -50
  78. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +27 -27
  79. package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +9 -3
  80. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +3 -0
  81. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +2 -2
  82. package/dist-types/commands/ModifyIntegrationCommand.d.ts +2 -2
  83. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +21 -21
  84. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +43 -43
  85. package/dist-types/commands/RebootDBClusterCommand.d.ts +43 -43
  86. package/dist-types/commands/RebootDBInstanceCommand.d.ts +24 -21
  87. package/dist-types/commands/RegisterDBProxyTargetsCommand.d.ts +2 -2
  88. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +6 -3
  89. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +15 -0
  90. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +48 -45
  91. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +50 -44
  92. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +60 -54
  93. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +25 -25
  94. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +22 -22
  95. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +25 -25
  96. package/dist-types/commands/StartActivityStreamCommand.d.ts +1 -1
  97. package/dist-types/commands/StartDBClusterCommand.d.ts +46 -43
  98. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +6 -2
  99. package/dist-types/commands/StartDBInstanceCommand.d.ts +21 -21
  100. package/dist-types/commands/StopDBClusterCommand.d.ts +43 -43
  101. package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +2 -2
  102. package/dist-types/commands/StopDBInstanceCommand.d.ts +21 -21
  103. package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +21 -21
  104. package/dist-types/models/models_0.d.ts +677 -601
  105. package/dist-types/models/models_1.d.ts +390 -258
  106. package/dist-types/ts3.4/RDS.d.ts +0 -3
  107. package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/models/models_0.d.ts +191 -141
  111. package/dist-types/ts3.4/models/models_1.d.ts +137 -39
  112. package/package.json +1 -1
@@ -148,6 +148,18 @@ export class BlueGreenDeploymentNotFoundFault extends __BaseException {
148
148
  Object.setPrototypeOf(this, BlueGreenDeploymentNotFoundFault.prototype);
149
149
  }
150
150
  }
151
+ export class DBProxyEndpointNotFoundFault extends __BaseException {
152
+ name = "DBProxyEndpointNotFoundFault";
153
+ $fault = "client";
154
+ constructor(opts) {
155
+ super({
156
+ name: "DBProxyEndpointNotFoundFault",
157
+ $fault: "client",
158
+ ...opts,
159
+ });
160
+ Object.setPrototypeOf(this, DBProxyEndpointNotFoundFault.prototype);
161
+ }
162
+ }
151
163
  export class DBProxyNotFoundFault extends __BaseException {
152
164
  name = "DBProxyNotFoundFault";
153
165
  $fault = "client";
@@ -172,6 +184,18 @@ export class DBProxyTargetGroupNotFoundFault extends __BaseException {
172
184
  Object.setPrototypeOf(this, DBProxyTargetGroupNotFoundFault.prototype);
173
185
  }
174
186
  }
187
+ export class DBShardGroupNotFoundFault extends __BaseException {
188
+ name = "DBShardGroupNotFoundFault";
189
+ $fault = "client";
190
+ constructor(opts) {
191
+ super({
192
+ name: "DBShardGroupNotFoundFault",
193
+ $fault: "client",
194
+ ...opts,
195
+ });
196
+ Object.setPrototypeOf(this, DBShardGroupNotFoundFault.prototype);
197
+ }
198
+ }
175
199
  export class DBSnapshotNotFoundFault extends __BaseException {
176
200
  name = "DBSnapshotNotFoundFault";
177
201
  $fault = "client";
@@ -208,6 +232,18 @@ export class IntegrationNotFoundFault extends __BaseException {
208
232
  Object.setPrototypeOf(this, IntegrationNotFoundFault.prototype);
209
233
  }
210
234
  }
235
+ export class InvalidDBClusterEndpointStateFault extends __BaseException {
236
+ name = "InvalidDBClusterEndpointStateFault";
237
+ $fault = "client";
238
+ constructor(opts) {
239
+ super({
240
+ name: "InvalidDBClusterEndpointStateFault",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ Object.setPrototypeOf(this, InvalidDBClusterEndpointStateFault.prototype);
245
+ }
246
+ }
211
247
  export class TenantDatabaseNotFoundFault extends __BaseException {
212
248
  name = "TenantDatabaseNotFoundFault";
213
249
  $fault = "client";
@@ -548,6 +584,18 @@ export class SourceDatabaseNotSupportedFault extends __BaseException {
548
584
  Object.setPrototypeOf(this, SourceDatabaseNotSupportedFault.prototype);
549
585
  }
550
586
  }
587
+ export class StorageQuotaExceededFault extends __BaseException {
588
+ name = "StorageQuotaExceededFault";
589
+ $fault = "client";
590
+ constructor(opts) {
591
+ super({
592
+ name: "StorageQuotaExceededFault",
593
+ $fault: "client",
594
+ ...opts,
595
+ });
596
+ Object.setPrototypeOf(this, StorageQuotaExceededFault.prototype);
597
+ }
598
+ }
551
599
  export class CreateCustomDBEngineVersionFault extends __BaseException {
552
600
  name = "CreateCustomDBEngineVersionFault";
553
601
  $fault = "client";
@@ -572,6 +620,18 @@ export class CustomDBEngineVersionAlreadyExistsFault extends __BaseException {
572
620
  Object.setPrototypeOf(this, CustomDBEngineVersionAlreadyExistsFault.prototype);
573
621
  }
574
622
  }
623
+ export class CustomDBEngineVersionNotFoundFault extends __BaseException {
624
+ name = "CustomDBEngineVersionNotFoundFault";
625
+ $fault = "client";
626
+ constructor(opts) {
627
+ super({
628
+ name: "CustomDBEngineVersionNotFoundFault",
629
+ $fault: "client",
630
+ ...opts,
631
+ });
632
+ Object.setPrototypeOf(this, CustomDBEngineVersionNotFoundFault.prototype);
633
+ }
634
+ }
575
635
  export class CustomDBEngineVersionQuotaExceededFault extends __BaseException {
576
636
  name = "CustomDBEngineVersionQuotaExceededFault";
577
637
  $fault = "client";
@@ -596,8 +656,21 @@ export class Ec2ImagePropertiesNotSupportedFault extends __BaseException {
596
656
  Object.setPrototypeOf(this, Ec2ImagePropertiesNotSupportedFault.prototype);
597
657
  }
598
658
  }
659
+ export class InvalidCustomDBEngineVersionStateFault extends __BaseException {
660
+ name = "InvalidCustomDBEngineVersionStateFault";
661
+ $fault = "client";
662
+ constructor(opts) {
663
+ super({
664
+ name: "InvalidCustomDBEngineVersionStateFault",
665
+ $fault: "client",
666
+ ...opts,
667
+ });
668
+ Object.setPrototypeOf(this, InvalidCustomDBEngineVersionStateFault.prototype);
669
+ }
670
+ }
599
671
  export const ClusterScalabilityType = {
600
672
  LIMITLESS: "limitless",
673
+ SCALEOUT: "scaleout",
601
674
  STANDARD: "standard",
602
675
  };
603
676
  export const DatabaseInsightsMode = {
@@ -780,16 +853,28 @@ export class InvalidVPCNetworkStateFault extends __BaseException {
780
853
  Object.setPrototypeOf(this, InvalidVPCNetworkStateFault.prototype);
781
854
  }
782
855
  }
783
- export class StorageQuotaExceededFault extends __BaseException {
784
- name = "StorageQuotaExceededFault";
856
+ export class NetworkTypeNotSupported extends __BaseException {
857
+ name = "NetworkTypeNotSupported";
785
858
  $fault = "client";
786
859
  constructor(opts) {
787
860
  super({
788
- name: "StorageQuotaExceededFault",
861
+ name: "NetworkTypeNotSupported",
789
862
  $fault: "client",
790
863
  ...opts,
791
864
  });
792
- Object.setPrototypeOf(this, StorageQuotaExceededFault.prototype);
865
+ Object.setPrototypeOf(this, NetworkTypeNotSupported.prototype);
866
+ }
867
+ }
868
+ export class StorageTypeNotSupportedFault extends __BaseException {
869
+ name = "StorageTypeNotSupportedFault";
870
+ $fault = "client";
871
+ constructor(opts) {
872
+ super({
873
+ name: "StorageTypeNotSupportedFault",
874
+ $fault: "client",
875
+ ...opts,
876
+ });
877
+ Object.setPrototypeOf(this, StorageTypeNotSupportedFault.prototype);
793
878
  }
794
879
  }
795
880
  export class DBClusterEndpointAlreadyExistsFault extends __BaseException {
@@ -868,18 +953,6 @@ export class DBInstanceAlreadyExistsFault extends __BaseException {
868
953
  Object.setPrototypeOf(this, DBInstanceAlreadyExistsFault.prototype);
869
954
  }
870
955
  }
871
- export class NetworkTypeNotSupported extends __BaseException {
872
- name = "NetworkTypeNotSupported";
873
- $fault = "client";
874
- constructor(opts) {
875
- super({
876
- name: "NetworkTypeNotSupported",
877
- $fault: "client",
878
- ...opts,
879
- });
880
- Object.setPrototypeOf(this, NetworkTypeNotSupported.prototype);
881
- }
882
- }
883
956
  export class ProvisionedIopsNotAvailableInAZFault extends __BaseException {
884
957
  name = "ProvisionedIopsNotAvailableInAZFault";
885
958
  $fault = "client";
@@ -892,18 +965,6 @@ export class ProvisionedIopsNotAvailableInAZFault extends __BaseException {
892
965
  Object.setPrototypeOf(this, ProvisionedIopsNotAvailableInAZFault.prototype);
893
966
  }
894
967
  }
895
- export class StorageTypeNotSupportedFault extends __BaseException {
896
- name = "StorageTypeNotSupportedFault";
897
- $fault = "client";
898
- constructor(opts) {
899
- super({
900
- name: "StorageTypeNotSupportedFault",
901
- $fault: "client",
902
- ...opts,
903
- });
904
- Object.setPrototypeOf(this, StorageTypeNotSupportedFault.prototype);
905
- }
906
- }
907
968
  export class TenantDatabaseQuotaExceededFault extends __BaseException {
908
969
  name = "TenantDatabaseQuotaExceededFault";
909
970
  $fault = "client";
@@ -1257,6 +1318,18 @@ export class GlobalClusterQuotaExceededFault extends __BaseException {
1257
1318
  Object.setPrototypeOf(this, GlobalClusterQuotaExceededFault.prototype);
1258
1319
  }
1259
1320
  }
1321
+ export class InvalidDBShardGroupStateFault extends __BaseException {
1322
+ name = "InvalidDBShardGroupStateFault";
1323
+ $fault = "client";
1324
+ constructor(opts) {
1325
+ super({
1326
+ name: "InvalidDBShardGroupStateFault",
1327
+ $fault: "client",
1328
+ ...opts,
1329
+ });
1330
+ Object.setPrototypeOf(this, InvalidDBShardGroupStateFault.prototype);
1331
+ }
1332
+ }
1260
1333
  export const IntegrationStatus = {
1261
1334
  ACTIVE: "active",
1262
1335
  CREATING: "creating",
@@ -1326,30 +1399,6 @@ export class InvalidBlueGreenDeploymentStateFault extends __BaseException {
1326
1399
  Object.setPrototypeOf(this, InvalidBlueGreenDeploymentStateFault.prototype);
1327
1400
  }
1328
1401
  }
1329
- export class CustomDBEngineVersionNotFoundFault extends __BaseException {
1330
- name = "CustomDBEngineVersionNotFoundFault";
1331
- $fault = "client";
1332
- constructor(opts) {
1333
- super({
1334
- name: "CustomDBEngineVersionNotFoundFault",
1335
- $fault: "client",
1336
- ...opts,
1337
- });
1338
- Object.setPrototypeOf(this, CustomDBEngineVersionNotFoundFault.prototype);
1339
- }
1340
- }
1341
- export class InvalidCustomDBEngineVersionStateFault extends __BaseException {
1342
- name = "InvalidCustomDBEngineVersionStateFault";
1343
- $fault = "client";
1344
- constructor(opts) {
1345
- super({
1346
- name: "InvalidCustomDBEngineVersionStateFault",
1347
- $fault: "client",
1348
- ...opts,
1349
- });
1350
- Object.setPrototypeOf(this, InvalidCustomDBEngineVersionStateFault.prototype);
1351
- }
1352
- }
1353
1402
  export class DBClusterAutomatedBackupQuotaExceededFault extends __BaseException {
1354
1403
  name = "DBClusterAutomatedBackupQuotaExceededFault";
1355
1404
  $fault = "client";
@@ -1398,18 +1447,6 @@ export class DBClusterEndpointNotFoundFault extends __BaseException {
1398
1447
  Object.setPrototypeOf(this, DBClusterEndpointNotFoundFault.prototype);
1399
1448
  }
1400
1449
  }
1401
- export class InvalidDBClusterEndpointStateFault extends __BaseException {
1402
- name = "InvalidDBClusterEndpointStateFault";
1403
- $fault = "client";
1404
- constructor(opts) {
1405
- super({
1406
- name: "InvalidDBClusterEndpointStateFault",
1407
- $fault: "client",
1408
- ...opts,
1409
- });
1410
- Object.setPrototypeOf(this, InvalidDBClusterEndpointStateFault.prototype);
1411
- }
1412
- }
1413
1450
  export class InvalidDBParameterGroupStateFault extends __BaseException {
1414
1451
  name = "InvalidDBParameterGroupStateFault";
1415
1452
  $fault = "client";
@@ -1458,18 +1495,6 @@ export class InvalidDBInstanceAutomatedBackupStateFault extends __BaseException
1458
1495
  Object.setPrototypeOf(this, InvalidDBInstanceAutomatedBackupStateFault.prototype);
1459
1496
  }
1460
1497
  }
1461
- export class DBProxyEndpointNotFoundFault extends __BaseException {
1462
- name = "DBProxyEndpointNotFoundFault";
1463
- $fault = "client";
1464
- constructor(opts) {
1465
- super({
1466
- name: "DBProxyEndpointNotFoundFault",
1467
- $fault: "client",
1468
- ...opts,
1469
- });
1470
- Object.setPrototypeOf(this, DBProxyEndpointNotFoundFault.prototype);
1471
- }
1472
- }
1473
1498
  export class InvalidDBProxyEndpointStateFault extends __BaseException {
1474
1499
  name = "InvalidDBProxyEndpointStateFault";
1475
1500
  $fault = "client";
@@ -1482,30 +1507,6 @@ export class InvalidDBProxyEndpointStateFault extends __BaseException {
1482
1507
  Object.setPrototypeOf(this, InvalidDBProxyEndpointStateFault.prototype);
1483
1508
  }
1484
1509
  }
1485
- export class DBShardGroupNotFoundFault extends __BaseException {
1486
- name = "DBShardGroupNotFoundFault";
1487
- $fault = "client";
1488
- constructor(opts) {
1489
- super({
1490
- name: "DBShardGroupNotFoundFault",
1491
- $fault: "client",
1492
- ...opts,
1493
- });
1494
- Object.setPrototypeOf(this, DBShardGroupNotFoundFault.prototype);
1495
- }
1496
- }
1497
- export class InvalidDBShardGroupStateFault extends __BaseException {
1498
- name = "InvalidDBShardGroupStateFault";
1499
- $fault = "client";
1500
- constructor(opts) {
1501
- super({
1502
- name: "InvalidDBShardGroupStateFault",
1503
- $fault: "client",
1504
- ...opts,
1505
- });
1506
- Object.setPrototypeOf(this, InvalidDBShardGroupStateFault.prototype);
1507
- }
1508
- }
1509
1510
  export class InvalidDBSubnetStateFault extends __BaseException {
1510
1511
  name = "InvalidDBSubnetStateFault";
1511
1512
  $fault = "client";
@@ -1530,6 +1531,79 @@ export class InvalidEventSubscriptionStateFault extends __BaseException {
1530
1531
  Object.setPrototypeOf(this, InvalidEventSubscriptionStateFault.prototype);
1531
1532
  }
1532
1533
  }
1534
+ export const CopyDBClusterSnapshotMessageFilterSensitiveLog = (obj) => ({
1535
+ ...obj,
1536
+ ...(obj.PreSignedUrl && { PreSignedUrl: SENSITIVE_STRING }),
1537
+ });
1538
+ export const CopyDBSnapshotMessageFilterSensitiveLog = (obj) => ({
1539
+ ...obj,
1540
+ ...(obj.PreSignedUrl && { PreSignedUrl: SENSITIVE_STRING }),
1541
+ });
1542
+ export const OptionSettingFilterSensitiveLog = (obj) => ({
1543
+ ...obj,
1544
+ ...(obj.Value && { Value: SENSITIVE_STRING }),
1545
+ });
1546
+ export const OptionFilterSensitiveLog = (obj) => ({
1547
+ ...obj,
1548
+ ...(obj.OptionSettings && {
1549
+ OptionSettings: obj.OptionSettings.map((item) => OptionSettingFilterSensitiveLog(item)),
1550
+ }),
1551
+ });
1552
+ export const OptionGroupFilterSensitiveLog = (obj) => ({
1553
+ ...obj,
1554
+ });
1555
+ export const CopyOptionGroupResultFilterSensitiveLog = (obj) => ({
1556
+ ...obj,
1557
+ });
1558
+ export const CreateDBClusterMessageFilterSensitiveLog = (obj) => ({
1559
+ ...obj,
1560
+ ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
1561
+ ...(obj.PreSignedUrl && { PreSignedUrl: SENSITIVE_STRING }),
1562
+ });
1563
+ export const ClusterPendingModifiedValuesFilterSensitiveLog = (obj) => ({
1564
+ ...obj,
1565
+ ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
1566
+ });
1567
+ export const DBClusterFilterSensitiveLog = (obj) => ({
1568
+ ...obj,
1569
+ ...(obj.PendingModifiedValues && {
1570
+ PendingModifiedValues: ClusterPendingModifiedValuesFilterSensitiveLog(obj.PendingModifiedValues),
1571
+ }),
1572
+ });
1573
+ export const CreateDBClusterResultFilterSensitiveLog = (obj) => ({
1574
+ ...obj,
1575
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
1576
+ });
1577
+ export const CreateDBInstanceMessageFilterSensitiveLog = (obj) => ({
1578
+ ...obj,
1579
+ ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
1580
+ ...(obj.TdeCredentialPassword && { TdeCredentialPassword: SENSITIVE_STRING }),
1581
+ });
1582
+ export const PendingModifiedValuesFilterSensitiveLog = (obj) => ({
1583
+ ...obj,
1584
+ ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
1585
+ });
1586
+ export const DBInstanceFilterSensitiveLog = (obj) => ({
1587
+ ...obj,
1588
+ ...(obj.PendingModifiedValues && {
1589
+ PendingModifiedValues: PendingModifiedValuesFilterSensitiveLog(obj.PendingModifiedValues),
1590
+ }),
1591
+ });
1592
+ export const CreateDBInstanceResultFilterSensitiveLog = (obj) => ({
1593
+ ...obj,
1594
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
1595
+ });
1596
+ export const CreateDBInstanceReadReplicaMessageFilterSensitiveLog = (obj) => ({
1597
+ ...obj,
1598
+ ...(obj.PreSignedUrl && { PreSignedUrl: SENSITIVE_STRING }),
1599
+ });
1600
+ export const CreateDBInstanceReadReplicaResultFilterSensitiveLog = (obj) => ({
1601
+ ...obj,
1602
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
1603
+ });
1604
+ export const CreateOptionGroupResultFilterSensitiveLog = (obj) => ({
1605
+ ...obj,
1606
+ });
1533
1607
  export const CreateTenantDatabaseMessageFilterSensitiveLog = (obj) => ({
1534
1608
  ...obj,
1535
1609
  ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
@@ -1548,3 +1622,11 @@ export const CreateTenantDatabaseResultFilterSensitiveLog = (obj) => ({
1548
1622
  ...obj,
1549
1623
  ...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
1550
1624
  });
1625
+ export const DeleteDBClusterResultFilterSensitiveLog = (obj) => ({
1626
+ ...obj,
1627
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
1628
+ });
1629
+ export const DeleteDBInstanceResultFilterSensitiveLog = (obj) => ({
1630
+ ...obj,
1631
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
1632
+ });
@@ -1,5 +1,5 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { TenantDatabaseFilterSensitiveLog, } from "./models_0";
2
+ import { DBClusterFilterSensitiveLog, DBInstanceFilterSensitiveLog, OptionSettingFilterSensitiveLog, TenantDatabaseFilterSensitiveLog, } from "./models_0";
3
3
  import { RDSServiceException as __BaseException } from "./RDSServiceException";
4
4
  export class InvalidIntegrationStateFault extends __BaseException {
5
5
  name = "InvalidIntegrationStateFault";
@@ -55,11 +55,11 @@ export const ApplyMethod = {
55
55
  };
56
56
  export class DBInstanceNotReadyFault extends __BaseException {
57
57
  name = "DBInstanceNotReadyFault";
58
- $fault = "server";
58
+ $fault = "client";
59
59
  constructor(opts) {
60
60
  super({
61
61
  name: "DBInstanceNotReadyFault",
62
- $fault: "server",
62
+ $fault: "client",
63
63
  ...opts,
64
64
  });
65
65
  Object.setPrototypeOf(this, DBInstanceNotReadyFault.prototype);
@@ -79,12 +79,14 @@ export const TargetHealthReason = {
79
79
  CONNECTION_FAILED: "CONNECTION_FAILED",
80
80
  INVALID_REPLICATION_STATE: "INVALID_REPLICATION_STATE",
81
81
  PENDING_PROXY_CAPACITY: "PENDING_PROXY_CAPACITY",
82
+ PROMOTED: "PROMOTED",
82
83
  UNREACHABLE: "UNREACHABLE",
83
84
  };
84
85
  export const TargetState = {
85
86
  available: "AVAILABLE",
86
87
  registering: "REGISTERING",
87
88
  unavailable: "UNAVAILABLE",
89
+ unused: "UNUSED",
88
90
  };
89
91
  export const TargetType = {
90
92
  RDS_INSTANCE: "RDS_INSTANCE",
@@ -100,7 +102,9 @@ export const SourceType = {
100
102
  db_parameter_group: "db-parameter-group",
101
103
  db_proxy: "db-proxy",
102
104
  db_security_group: "db-security-group",
105
+ db_shard_group: "db-shard-group",
103
106
  db_snapshot: "db-snapshot",
107
+ zero_etl: "zero-etl",
104
108
  };
105
109
  export class ReservedDBInstanceNotFoundFault extends __BaseException {
106
110
  name = "ReservedDBInstanceNotFoundFault";
@@ -403,12 +407,60 @@ export const DeleteTenantDatabaseResultFilterSensitiveLog = (obj) => ({
403
407
  ...obj,
404
408
  ...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
405
409
  });
410
+ export const DBClusterMessageFilterSensitiveLog = (obj) => ({
411
+ ...obj,
412
+ ...(obj.DBClusters && { DBClusters: obj.DBClusters.map((item) => DBClusterFilterSensitiveLog(item)) }),
413
+ });
414
+ export const DBInstanceMessageFilterSensitiveLog = (obj) => ({
415
+ ...obj,
416
+ ...(obj.DBInstances && { DBInstances: obj.DBInstances.map((item) => DBInstanceFilterSensitiveLog(item)) }),
417
+ });
418
+ export const OptionGroupsFilterSensitiveLog = (obj) => ({
419
+ ...obj,
420
+ });
406
421
  export const TenantDatabasesMessageFilterSensitiveLog = (obj) => ({
407
422
  ...obj,
408
423
  ...(obj.TenantDatabases && {
409
424
  TenantDatabases: obj.TenantDatabases.map((item) => TenantDatabaseFilterSensitiveLog(item)),
410
425
  }),
411
426
  });
427
+ export const DownloadDBLogFilePortionDetailsFilterSensitiveLog = (obj) => ({
428
+ ...obj,
429
+ ...(obj.LogFileData && { LogFileData: SENSITIVE_STRING }),
430
+ });
431
+ export const FailoverDBClusterResultFilterSensitiveLog = (obj) => ({
432
+ ...obj,
433
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
434
+ });
435
+ export const ModifyDBClusterMessageFilterSensitiveLog = (obj) => ({
436
+ ...obj,
437
+ ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
438
+ });
439
+ export const ModifyDBClusterResultFilterSensitiveLog = (obj) => ({
440
+ ...obj,
441
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
442
+ });
443
+ export const ModifyDBInstanceMessageFilterSensitiveLog = (obj) => ({
444
+ ...obj,
445
+ ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
446
+ ...(obj.TdeCredentialPassword && { TdeCredentialPassword: SENSITIVE_STRING }),
447
+ });
448
+ export const ModifyDBInstanceResultFilterSensitiveLog = (obj) => ({
449
+ ...obj,
450
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
451
+ });
452
+ export const OptionConfigurationFilterSensitiveLog = (obj) => ({
453
+ ...obj,
454
+ ...(obj.OptionSettings && {
455
+ OptionSettings: obj.OptionSettings.map((item) => OptionSettingFilterSensitiveLog(item)),
456
+ }),
457
+ });
458
+ export const ModifyOptionGroupMessageFilterSensitiveLog = (obj) => ({
459
+ ...obj,
460
+ });
461
+ export const ModifyOptionGroupResultFilterSensitiveLog = (obj) => ({
462
+ ...obj,
463
+ });
412
464
  export const ModifyTenantDatabaseMessageFilterSensitiveLog = (obj) => ({
413
465
  ...obj,
414
466
  ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
@@ -417,3 +469,83 @@ export const ModifyTenantDatabaseResultFilterSensitiveLog = (obj) => ({
417
469
  ...obj,
418
470
  ...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
419
471
  });
472
+ export const PromoteReadReplicaResultFilterSensitiveLog = (obj) => ({
473
+ ...obj,
474
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
475
+ });
476
+ export const PromoteReadReplicaDBClusterResultFilterSensitiveLog = (obj) => ({
477
+ ...obj,
478
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
479
+ });
480
+ export const RebootDBClusterResultFilterSensitiveLog = (obj) => ({
481
+ ...obj,
482
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
483
+ });
484
+ export const RebootDBInstanceResultFilterSensitiveLog = (obj) => ({
485
+ ...obj,
486
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
487
+ });
488
+ export const RestoreDBClusterFromS3MessageFilterSensitiveLog = (obj) => ({
489
+ ...obj,
490
+ ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
491
+ });
492
+ export const RestoreDBClusterFromS3ResultFilterSensitiveLog = (obj) => ({
493
+ ...obj,
494
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
495
+ });
496
+ export const RestoreDBClusterFromSnapshotResultFilterSensitiveLog = (obj) => ({
497
+ ...obj,
498
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
499
+ });
500
+ export const RestoreDBClusterToPointInTimeResultFilterSensitiveLog = (obj) => ({
501
+ ...obj,
502
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
503
+ });
504
+ export const RestoreDBInstanceFromDBSnapshotMessageFilterSensitiveLog = (obj) => ({
505
+ ...obj,
506
+ ...(obj.TdeCredentialPassword && { TdeCredentialPassword: SENSITIVE_STRING }),
507
+ });
508
+ export const RestoreDBInstanceFromDBSnapshotResultFilterSensitiveLog = (obj) => ({
509
+ ...obj,
510
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
511
+ });
512
+ export const RestoreDBInstanceFromS3MessageFilterSensitiveLog = (obj) => ({
513
+ ...obj,
514
+ ...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
515
+ });
516
+ export const RestoreDBInstanceFromS3ResultFilterSensitiveLog = (obj) => ({
517
+ ...obj,
518
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
519
+ });
520
+ export const RestoreDBInstanceToPointInTimeMessageFilterSensitiveLog = (obj) => ({
521
+ ...obj,
522
+ ...(obj.TdeCredentialPassword && { TdeCredentialPassword: SENSITIVE_STRING }),
523
+ });
524
+ export const RestoreDBInstanceToPointInTimeResultFilterSensitiveLog = (obj) => ({
525
+ ...obj,
526
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
527
+ });
528
+ export const StartDBClusterResultFilterSensitiveLog = (obj) => ({
529
+ ...obj,
530
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
531
+ });
532
+ export const StartDBInstanceResultFilterSensitiveLog = (obj) => ({
533
+ ...obj,
534
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
535
+ });
536
+ export const StartDBInstanceAutomatedBackupsReplicationMessageFilterSensitiveLog = (obj) => ({
537
+ ...obj,
538
+ ...(obj.PreSignedUrl && { PreSignedUrl: SENSITIVE_STRING }),
539
+ });
540
+ export const StopDBClusterResultFilterSensitiveLog = (obj) => ({
541
+ ...obj,
542
+ ...(obj.DBCluster && { DBCluster: DBClusterFilterSensitiveLog(obj.DBCluster) }),
543
+ });
544
+ export const StopDBInstanceResultFilterSensitiveLog = (obj) => ({
545
+ ...obj,
546
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
547
+ });
548
+ export const SwitchoverReadReplicaResultFilterSensitiveLog = (obj) => ({
549
+ ...obj,
550
+ ...(obj.DBInstance && { DBInstance: DBInstanceFilterSensitiveLog(obj.DBInstance) }),
551
+ });