@aws-sdk/client-rds 3.441.0 → 3.445.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 (103) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/RDS.js +10 -0
  3. package/dist-cjs/commands/CreateTenantDatabaseCommand.js +52 -0
  4. package/dist-cjs/commands/DeleteTenantDatabaseCommand.js +52 -0
  5. package/dist-cjs/commands/DescribeDBSnapshotTenantDatabasesCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeTenantDatabasesCommand.js +52 -0
  7. package/dist-cjs/commands/ModifyTenantDatabaseCommand.js +52 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +83 -20
  10. package/dist-cjs/models/models_1.js +37 -1
  11. package/dist-cjs/pagination/DescribeDBSnapshotTenantDatabasesPaginator.js +29 -0
  12. package/dist-cjs/pagination/DescribeTenantDatabasesPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +2 -0
  14. package/dist-cjs/protocols/Aws_query.js +653 -7
  15. package/dist-cjs/waiters/index.js +2 -0
  16. package/dist-cjs/waiters/waitForTenantDatabaseAvailable.js +89 -0
  17. package/dist-cjs/waiters/waitForTenantDatabaseDeleted.js +39 -0
  18. package/dist-es/RDS.js +10 -0
  19. package/dist-es/commands/CreateTenantDatabaseCommand.js +48 -0
  20. package/dist-es/commands/DeleteTenantDatabaseCommand.js +48 -0
  21. package/dist-es/commands/DescribeDBSnapshotTenantDatabasesCommand.js +47 -0
  22. package/dist-es/commands/DescribeTenantDatabasesCommand.js +48 -0
  23. package/dist-es/commands/ModifyTenantDatabaseCommand.js +48 -0
  24. package/dist-es/commands/index.js +5 -0
  25. package/dist-es/models/models_0.js +71 -16
  26. package/dist-es/models/models_1.js +32 -0
  27. package/dist-es/pagination/DescribeDBSnapshotTenantDatabasesPaginator.js +25 -0
  28. package/dist-es/pagination/DescribeTenantDatabasesPaginator.js +25 -0
  29. package/dist-es/pagination/index.js +2 -0
  30. package/dist-es/protocols/Aws_query.js +637 -2
  31. package/dist-es/waiters/index.js +2 -0
  32. package/dist-es/waiters/waitForTenantDatabaseAvailable.js +84 -0
  33. package/dist-es/waiters/waitForTenantDatabaseDeleted.js +34 -0
  34. package/dist-types/RDS.d.ts +35 -0
  35. package/dist-types/RDSClient.d.ts +7 -2
  36. package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -0
  37. package/dist-types/commands/CopyDBSnapshotCommand.d.ts +1 -0
  38. package/dist-types/commands/CreateDBInstanceCommand.d.ts +7 -0
  39. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +6 -0
  40. package/dist-types/commands/CreateDBSnapshotCommand.d.ts +1 -0
  41. package/dist-types/commands/CreateTenantDatabaseCommand.d.ts +122 -0
  42. package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +1 -0
  43. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +2 -0
  44. package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +1 -0
  45. package/dist-types/commands/DeleteTenantDatabaseCommand.d.ts +111 -0
  46. package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +2 -1
  47. package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -0
  51. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +2 -0
  52. package/dist-types/commands/DescribeDBSnapshotTenantDatabasesCommand.d.ts +117 -0
  53. package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +1 -0
  54. package/dist-types/commands/DescribeTenantDatabasesCommand.d.ts +114 -0
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
  56. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +7 -0
  57. package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +1 -0
  58. package/dist-types/commands/ModifyTenantDatabaseCommand.d.ts +114 -0
  59. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +2 -0
  60. package/dist-types/commands/RebootDBInstanceCommand.d.ts +2 -0
  61. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -0
  62. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +6 -0
  63. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +2 -0
  64. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +6 -0
  65. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
  66. package/dist-types/commands/StartDBInstanceCommand.d.ts +2 -0
  67. package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
  68. package/dist-types/commands/StopDBInstanceCommand.d.ts +2 -0
  69. package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +2 -0
  70. package/dist-types/commands/index.d.ts +5 -0
  71. package/dist-types/index.d.ts +2 -0
  72. package/dist-types/models/models_0.d.ts +333 -388
  73. package/dist-types/models/models_1.d.ts +1132 -335
  74. package/dist-types/pagination/DescribeDBSnapshotTenantDatabasesPaginator.d.ts +7 -0
  75. package/dist-types/pagination/DescribeTenantDatabasesPaginator.d.ts +7 -0
  76. package/dist-types/pagination/index.d.ts +2 -0
  77. package/dist-types/protocols/Aws_query.d.ts +45 -0
  78. package/dist-types/ts3.4/RDS.d.ts +91 -0
  79. package/dist-types/ts3.4/RDSClient.d.ts +30 -0
  80. package/dist-types/ts3.4/commands/CreateTenantDatabaseCommand.d.ts +42 -0
  81. package/dist-types/ts3.4/commands/DeleteTenantDatabaseCommand.d.ts +42 -0
  82. package/dist-types/ts3.4/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +2 -4
  83. package/dist-types/ts3.4/commands/DescribeDBClusterBacktracksCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/DescribeDBClusterEndpointsCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DescribeDBSnapshotTenantDatabasesCommand.d.ts +42 -0
  87. package/dist-types/ts3.4/commands/DescribeTenantDatabasesCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/ModifyTenantDatabaseCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  90. package/dist-types/ts3.4/index.d.ts +2 -0
  91. package/dist-types/ts3.4/models/models_0.d.ts +97 -67
  92. package/dist-types/ts3.4/models/models_1.d.ts +129 -1
  93. package/dist-types/ts3.4/pagination/DescribeDBSnapshotTenantDatabasesPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/DescribeTenantDatabasesPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  96. package/dist-types/ts3.4/protocols/Aws_query.d.ts +60 -0
  97. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  98. package/dist-types/ts3.4/waiters/waitForTenantDatabaseAvailable.d.ts +11 -0
  99. package/dist-types/ts3.4/waiters/waitForTenantDatabaseDeleted.d.ts +11 -0
  100. package/dist-types/waiters/index.d.ts +2 -0
  101. package/dist-types/waiters/waitForTenantDatabaseAvailable.d.ts +14 -0
  102. package/dist-types/waiters/waitForTenantDatabaseDeleted.d.ts +14 -0
  103. package/package.json +4 -4
@@ -127,6 +127,10 @@ import {
127
127
  CreateOptionGroupCommandInput,
128
128
  CreateOptionGroupCommandOutput,
129
129
  } from "../commands/CreateOptionGroupCommand";
130
+ import {
131
+ CreateTenantDatabaseCommandInput,
132
+ CreateTenantDatabaseCommandOutput,
133
+ } from "../commands/CreateTenantDatabaseCommand";
130
134
  import {
131
135
  DeleteBlueGreenDeploymentCommandInput,
132
136
  DeleteBlueGreenDeploymentCommandOutput,
@@ -203,6 +207,10 @@ import {
203
207
  DeleteOptionGroupCommandInput,
204
208
  DeleteOptionGroupCommandOutput,
205
209
  } from "../commands/DeleteOptionGroupCommand";
210
+ import {
211
+ DeleteTenantDatabaseCommandInput,
212
+ DeleteTenantDatabaseCommandOutput,
213
+ } from "../commands/DeleteTenantDatabaseCommand";
206
214
  import {
207
215
  DeregisterDBProxyTargetsCommandInput,
208
216
  DeregisterDBProxyTargetsCommandOutput,
@@ -303,6 +311,10 @@ import {
303
311
  DescribeDBSnapshotsCommandInput,
304
312
  DescribeDBSnapshotsCommandOutput,
305
313
  } from "../commands/DescribeDBSnapshotsCommand";
314
+ import {
315
+ DescribeDBSnapshotTenantDatabasesCommandInput,
316
+ DescribeDBSnapshotTenantDatabasesCommandOutput,
317
+ } from "../commands/DescribeDBSnapshotTenantDatabasesCommand";
306
318
  import {
307
319
  DescribeDBSubnetGroupsCommandInput,
308
320
  DescribeDBSubnetGroupsCommandOutput,
@@ -367,6 +379,10 @@ import {
367
379
  DescribeSourceRegionsCommandInput,
368
380
  DescribeSourceRegionsCommandOutput,
369
381
  } from "../commands/DescribeSourceRegionsCommand";
382
+ import {
383
+ DescribeTenantDatabasesCommandInput,
384
+ DescribeTenantDatabasesCommandOutput,
385
+ } from "../commands/DescribeTenantDatabasesCommand";
370
386
  import {
371
387
  DescribeValidDBInstanceModificationsCommandInput,
372
388
  DescribeValidDBInstanceModificationsCommandOutput,
@@ -463,6 +479,10 @@ import {
463
479
  ModifyOptionGroupCommandInput,
464
480
  ModifyOptionGroupCommandOutput,
465
481
  } from "../commands/ModifyOptionGroupCommand";
482
+ import {
483
+ ModifyTenantDatabaseCommandInput,
484
+ ModifyTenantDatabaseCommandOutput,
485
+ } from "../commands/ModifyTenantDatabaseCommand";
466
486
  import {
467
487
  PromoteReadReplicaCommandInput,
468
488
  PromoteReadReplicaCommandOutput,
@@ -715,6 +735,10 @@ export declare const se_CreateOptionGroupCommand: (
715
735
  input: CreateOptionGroupCommandInput,
716
736
  context: __SerdeContext
717
737
  ) => Promise<__HttpRequest>;
738
+ export declare const se_CreateTenantDatabaseCommand: (
739
+ input: CreateTenantDatabaseCommandInput,
740
+ context: __SerdeContext
741
+ ) => Promise<__HttpRequest>;
718
742
  export declare const se_DeleteBlueGreenDeploymentCommand: (
719
743
  input: DeleteBlueGreenDeploymentCommandInput,
720
744
  context: __SerdeContext
@@ -791,6 +815,10 @@ export declare const se_DeleteOptionGroupCommand: (
791
815
  input: DeleteOptionGroupCommandInput,
792
816
  context: __SerdeContext
793
817
  ) => Promise<__HttpRequest>;
818
+ export declare const se_DeleteTenantDatabaseCommand: (
819
+ input: DeleteTenantDatabaseCommandInput,
820
+ context: __SerdeContext
821
+ ) => Promise<__HttpRequest>;
794
822
  export declare const se_DeregisterDBProxyTargetsCommand: (
795
823
  input: DeregisterDBProxyTargetsCommandInput,
796
824
  context: __SerdeContext
@@ -891,6 +919,10 @@ export declare const se_DescribeDBSnapshotsCommand: (
891
919
  input: DescribeDBSnapshotsCommandInput,
892
920
  context: __SerdeContext
893
921
  ) => Promise<__HttpRequest>;
922
+ export declare const se_DescribeDBSnapshotTenantDatabasesCommand: (
923
+ input: DescribeDBSnapshotTenantDatabasesCommandInput,
924
+ context: __SerdeContext
925
+ ) => Promise<__HttpRequest>;
894
926
  export declare const se_DescribeDBSubnetGroupsCommand: (
895
927
  input: DescribeDBSubnetGroupsCommandInput,
896
928
  context: __SerdeContext
@@ -955,6 +987,10 @@ export declare const se_DescribeSourceRegionsCommand: (
955
987
  input: DescribeSourceRegionsCommandInput,
956
988
  context: __SerdeContext
957
989
  ) => Promise<__HttpRequest>;
990
+ export declare const se_DescribeTenantDatabasesCommand: (
991
+ input: DescribeTenantDatabasesCommandInput,
992
+ context: __SerdeContext
993
+ ) => Promise<__HttpRequest>;
958
994
  export declare const se_DescribeValidDBInstanceModificationsCommand: (
959
995
  input: DescribeValidDBInstanceModificationsCommandInput,
960
996
  context: __SerdeContext
@@ -1051,6 +1087,10 @@ export declare const se_ModifyOptionGroupCommand: (
1051
1087
  input: ModifyOptionGroupCommandInput,
1052
1088
  context: __SerdeContext
1053
1089
  ) => Promise<__HttpRequest>;
1090
+ export declare const se_ModifyTenantDatabaseCommand: (
1091
+ input: ModifyTenantDatabaseCommandInput,
1092
+ context: __SerdeContext
1093
+ ) => Promise<__HttpRequest>;
1054
1094
  export declare const se_PromoteReadReplicaCommand: (
1055
1095
  input: PromoteReadReplicaCommandInput,
1056
1096
  context: __SerdeContext
@@ -1303,6 +1343,10 @@ export declare const de_CreateOptionGroupCommand: (
1303
1343
  output: __HttpResponse,
1304
1344
  context: __SerdeContext
1305
1345
  ) => Promise<CreateOptionGroupCommandOutput>;
1346
+ export declare const de_CreateTenantDatabaseCommand: (
1347
+ output: __HttpResponse,
1348
+ context: __SerdeContext
1349
+ ) => Promise<CreateTenantDatabaseCommandOutput>;
1306
1350
  export declare const de_DeleteBlueGreenDeploymentCommand: (
1307
1351
  output: __HttpResponse,
1308
1352
  context: __SerdeContext
@@ -1379,6 +1423,10 @@ export declare const de_DeleteOptionGroupCommand: (
1379
1423
  output: __HttpResponse,
1380
1424
  context: __SerdeContext
1381
1425
  ) => Promise<DeleteOptionGroupCommandOutput>;
1426
+ export declare const de_DeleteTenantDatabaseCommand: (
1427
+ output: __HttpResponse,
1428
+ context: __SerdeContext
1429
+ ) => Promise<DeleteTenantDatabaseCommandOutput>;
1382
1430
  export declare const de_DeregisterDBProxyTargetsCommand: (
1383
1431
  output: __HttpResponse,
1384
1432
  context: __SerdeContext
@@ -1479,6 +1527,10 @@ export declare const de_DescribeDBSnapshotsCommand: (
1479
1527
  output: __HttpResponse,
1480
1528
  context: __SerdeContext
1481
1529
  ) => Promise<DescribeDBSnapshotsCommandOutput>;
1530
+ export declare const de_DescribeDBSnapshotTenantDatabasesCommand: (
1531
+ output: __HttpResponse,
1532
+ context: __SerdeContext
1533
+ ) => Promise<DescribeDBSnapshotTenantDatabasesCommandOutput>;
1482
1534
  export declare const de_DescribeDBSubnetGroupsCommand: (
1483
1535
  output: __HttpResponse,
1484
1536
  context: __SerdeContext
@@ -1543,6 +1595,10 @@ export declare const de_DescribeSourceRegionsCommand: (
1543
1595
  output: __HttpResponse,
1544
1596
  context: __SerdeContext
1545
1597
  ) => Promise<DescribeSourceRegionsCommandOutput>;
1598
+ export declare const de_DescribeTenantDatabasesCommand: (
1599
+ output: __HttpResponse,
1600
+ context: __SerdeContext
1601
+ ) => Promise<DescribeTenantDatabasesCommandOutput>;
1546
1602
  export declare const de_DescribeValidDBInstanceModificationsCommand: (
1547
1603
  output: __HttpResponse,
1548
1604
  context: __SerdeContext
@@ -1639,6 +1695,10 @@ export declare const de_ModifyOptionGroupCommand: (
1639
1695
  output: __HttpResponse,
1640
1696
  context: __SerdeContext
1641
1697
  ) => Promise<ModifyOptionGroupCommandOutput>;
1698
+ export declare const de_ModifyTenantDatabaseCommand: (
1699
+ output: __HttpResponse,
1700
+ context: __SerdeContext
1701
+ ) => Promise<ModifyTenantDatabaseCommandOutput>;
1642
1702
  export declare const de_PromoteReadReplicaCommand: (
1643
1703
  output: __HttpResponse,
1644
1704
  context: __SerdeContext
@@ -6,3 +6,5 @@ export * from "./waitForDBInstanceAvailable";
6
6
  export * from "./waitForDBInstanceDeleted";
7
7
  export * from "./waitForDBSnapshotAvailable";
8
8
  export * from "./waitForDBSnapshotDeleted";
9
+ export * from "./waitForTenantDatabaseAvailable";
10
+ export * from "./waitForTenantDatabaseDeleted";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeTenantDatabasesCommandInput } from "../commands/DescribeTenantDatabasesCommand";
3
+ import { RDSClient } from "../RDSClient";
4
+ export declare const waitForTenantDatabaseAvailable: (
5
+ params: WaiterConfiguration<RDSClient>,
6
+ input: DescribeTenantDatabasesCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilTenantDatabaseAvailable: (
9
+ params: WaiterConfiguration<RDSClient>,
10
+ input: DescribeTenantDatabasesCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeTenantDatabasesCommandInput } from "../commands/DescribeTenantDatabasesCommand";
3
+ import { RDSClient } from "../RDSClient";
4
+ export declare const waitForTenantDatabaseDeleted: (
5
+ params: WaiterConfiguration<RDSClient>,
6
+ input: DescribeTenantDatabasesCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilTenantDatabaseDeleted: (
9
+ params: WaiterConfiguration<RDSClient>,
10
+ input: DescribeTenantDatabasesCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -6,3 +6,5 @@ export * from "./waitForDBInstanceAvailable";
6
6
  export * from "./waitForDBInstanceDeleted";
7
7
  export * from "./waitForDBSnapshotAvailable";
8
8
  export * from "./waitForDBSnapshotDeleted";
9
+ export * from "./waitForTenantDatabaseAvailable";
10
+ export * from "./waitForTenantDatabaseDeleted";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeTenantDatabasesCommandInput } from "../commands/DescribeTenantDatabasesCommand";
3
+ import { RDSClient } from "../RDSClient";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilTenantDatabaseAvailable instead. waitForTenantDatabaseAvailable does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForTenantDatabaseAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeTenantDatabasesCommand for polling.
13
+ */
14
+ export declare const waitUntilTenantDatabaseAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeTenantDatabasesCommandInput } from "../commands/DescribeTenantDatabasesCommand";
3
+ import { RDSClient } from "../RDSClient";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilTenantDatabaseDeleted instead. waitForTenantDatabaseDeleted does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForTenantDatabaseDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeTenantDatabasesCommand for polling.
13
+ */
14
+ export declare const waitUntilTenantDatabaseDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult>;
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.441.0",
4
+ "version": "3.445.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,9 +21,9 @@
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.441.0",
25
- "@aws-sdk/core": "3.441.0",
26
- "@aws-sdk/credential-provider-node": "3.441.0",
24
+ "@aws-sdk/client-sts": "3.445.0",
25
+ "@aws-sdk/core": "3.445.0",
26
+ "@aws-sdk/credential-provider-node": "3.445.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",