@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
@@ -0,0 +1,111 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DeleteTenantDatabaseMessage, DeleteTenantDatabaseResult } from "../models/models_0";
5
+ import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteTenantDatabaseCommand}.
14
+ */
15
+ export interface DeleteTenantDatabaseCommandInput extends DeleteTenantDatabaseMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteTenantDatabaseCommand}.
21
+ */
22
+ export interface DeleteTenantDatabaseCommandOutput extends DeleteTenantDatabaseResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes a tenant database from your DB instance. This command only applies to RDS for
27
+ * Oracle container database (CDB) instances.</p>
28
+ * <p>You can't delete a tenant database when it is the only tenant in the DB
29
+ * instance.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { RDSClient, DeleteTenantDatabaseCommand } from "@aws-sdk/client-rds"; // ES Modules import
34
+ * // const { RDSClient, DeleteTenantDatabaseCommand } = require("@aws-sdk/client-rds"); // CommonJS import
35
+ * const client = new RDSClient(config);
36
+ * const input = { // DeleteTenantDatabaseMessage
37
+ * DBInstanceIdentifier: "STRING_VALUE", // required
38
+ * TenantDBName: "STRING_VALUE", // required
39
+ * SkipFinalSnapshot: true || false,
40
+ * FinalDBSnapshotIdentifier: "STRING_VALUE",
41
+ * };
42
+ * const command = new DeleteTenantDatabaseCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteTenantDatabaseResult
45
+ * // TenantDatabase: { // TenantDatabase
46
+ * // TenantDatabaseCreateTime: new Date("TIMESTAMP"),
47
+ * // DBInstanceIdentifier: "STRING_VALUE",
48
+ * // TenantDBName: "STRING_VALUE",
49
+ * // Status: "STRING_VALUE",
50
+ * // MasterUsername: "STRING_VALUE",
51
+ * // DbiResourceId: "STRING_VALUE",
52
+ * // TenantDatabaseResourceId: "STRING_VALUE",
53
+ * // TenantDatabaseARN: "STRING_VALUE",
54
+ * // CharacterSetName: "STRING_VALUE",
55
+ * // NcharCharacterSetName: "STRING_VALUE",
56
+ * // DeletionProtection: true || false,
57
+ * // PendingModifiedValues: { // TenantDatabasePendingModifiedValues
58
+ * // MasterUserPassword: "STRING_VALUE",
59
+ * // TenantDBName: "STRING_VALUE",
60
+ * // },
61
+ * // TagList: [ // TagList
62
+ * // { // Tag
63
+ * // Key: "STRING_VALUE",
64
+ * // Value: "STRING_VALUE",
65
+ * // },
66
+ * // ],
67
+ * // },
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param DeleteTenantDatabaseCommandInput - {@link DeleteTenantDatabaseCommandInput}
73
+ * @returns {@link DeleteTenantDatabaseCommandOutput}
74
+ * @see {@link DeleteTenantDatabaseCommandInput} for command's `input` shape.
75
+ * @see {@link DeleteTenantDatabaseCommandOutput} for command's `response` shape.
76
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
77
+ *
78
+ * @throws {@link DBInstanceNotFoundFault} (client fault)
79
+ * <p>
80
+ * <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
81
+ *
82
+ * @throws {@link InvalidDBInstanceStateFault} (client fault)
83
+ * <p>The DB instance isn't in a valid state.</p>
84
+ *
85
+ * @throws {@link TenantDatabaseNotFoundFault} (client fault)
86
+ * <p>The specified tenant database wasn't found in the DB instance.</p>
87
+ *
88
+ * @throws {@link RDSServiceException}
89
+ * <p>Base exception class for all service exceptions from RDS service.</p>
90
+ *
91
+ */
92
+ export declare class DeleteTenantDatabaseCommand extends $Command<DeleteTenantDatabaseCommandInput, DeleteTenantDatabaseCommandOutput, RDSClientResolvedConfig> {
93
+ readonly input: DeleteTenantDatabaseCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: DeleteTenantDatabaseCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTenantDatabaseCommandInput, DeleteTenantDatabaseCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }
@@ -1,7 +1,8 @@
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, DescribeDBClusterAutomatedBackupsMessage } from "../models/models_0";
4
+ import { DBClusterAutomatedBackupMessage } from "../models/models_0";
5
+ import { DescribeDBClusterAutomatedBackupsMessage } from "../models/models_1";
5
6
  import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
6
7
  /**
7
8
  * @public
@@ -1,7 +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 { DBClusterBacktrackMessage, DescribeDBClusterBacktracksMessage } from "../models/models_0";
4
+ import { DBClusterBacktrackMessage, DescribeDBClusterBacktracksMessage } from "../models/models_1";
5
5
  import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +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 { DBClusterEndpointMessage, DescribeDBClusterEndpointsMessage } from "../models/models_0";
4
+ import { DBClusterEndpointMessage, DescribeDBClusterEndpointsMessage } from "../models/models_1";
5
5
  import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +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 { DBClusterParameterGroupsMessage, DescribeDBClusterParameterGroupsMessage } from "../models/models_0";
4
+ import { DBClusterParameterGroupsMessage, DescribeDBClusterParameterGroupsMessage } from "../models/models_1";
5
5
  import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
6
6
  /**
7
7
  * @public
@@ -94,6 +94,7 @@ export interface DescribeDBInstanceAutomatedBackupsCommandOutput extends DBInsta
94
94
  * // StorageThroughput: Number("int"),
95
95
  * // AwsBackupRecoveryPointArn: "STRING_VALUE",
96
96
  * // DedicatedLogVolume: true || false,
97
+ * // MultiTenant: true || false,
97
98
  * // },
98
99
  * // ],
99
100
  * // };
@@ -144,6 +144,7 @@ export interface DescribeDBInstancesCommandOutput extends DBInstanceMessage, __M
144
144
  * // StorageThroughput: Number("int"),
145
145
  * // Engine: "STRING_VALUE",
146
146
  * // DedicatedLogVolume: true || false,
147
+ * // MultiTenant: true || false,
147
148
  * // },
148
149
  * // LatestRestorableTime: new Date("TIMESTAMP"),
149
150
  * // MultiAZ: true || false,
@@ -271,6 +272,7 @@ export interface DescribeDBInstancesCommandOutput extends DBInstanceMessage, __M
271
272
  * // PercentProgress: "STRING_VALUE",
272
273
  * // DedicatedLogVolume: true || false,
273
274
  * // IsStorageConfigUpgradeAvailable: true || false,
275
+ * // MultiTenant: true || false,
274
276
  * // },
275
277
  * // ],
276
278
  * // };
@@ -0,0 +1,117 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DBSnapshotTenantDatabasesMessage, DescribeDBSnapshotTenantDatabasesMessage } from "../models/models_1";
5
+ import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeDBSnapshotTenantDatabasesCommand}.
14
+ */
15
+ export interface DescribeDBSnapshotTenantDatabasesCommandInput extends DescribeDBSnapshotTenantDatabasesMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeDBSnapshotTenantDatabasesCommand}.
21
+ */
22
+ export interface DescribeDBSnapshotTenantDatabasesCommandOutput extends DBSnapshotTenantDatabasesMessage, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Describes the tenant databases that exist in a DB snapshot. This command only applies
27
+ * to RDS for Oracle DB instances in the multi-tenant configuration.</p>
28
+ * <p>You can use this command to inspect the tenant databases within a snapshot before
29
+ * restoring it. You can't directly interact with the tenant databases in a DB snapshot. If
30
+ * you restore a snapshot that was taken from DB instance using the multi-tenant
31
+ * configuration, you restore all its tenant databases.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { RDSClient, DescribeDBSnapshotTenantDatabasesCommand } from "@aws-sdk/client-rds"; // ES Modules import
36
+ * // const { RDSClient, DescribeDBSnapshotTenantDatabasesCommand } = require("@aws-sdk/client-rds"); // CommonJS import
37
+ * const client = new RDSClient(config);
38
+ * const input = { // DescribeDBSnapshotTenantDatabasesMessage
39
+ * DBInstanceIdentifier: "STRING_VALUE",
40
+ * DBSnapshotIdentifier: "STRING_VALUE",
41
+ * SnapshotType: "STRING_VALUE",
42
+ * Filters: [ // FilterList
43
+ * { // Filter
44
+ * Name: "STRING_VALUE", // required
45
+ * Values: [ // FilterValueList // required
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * ],
50
+ * MaxRecords: Number("int"),
51
+ * Marker: "STRING_VALUE",
52
+ * DbiResourceId: "STRING_VALUE",
53
+ * };
54
+ * const command = new DescribeDBSnapshotTenantDatabasesCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // DBSnapshotTenantDatabasesMessage
57
+ * // Marker: "STRING_VALUE",
58
+ * // DBSnapshotTenantDatabases: [ // DBSnapshotTenantDatabasesList
59
+ * // { // DBSnapshotTenantDatabase
60
+ * // DBSnapshotIdentifier: "STRING_VALUE",
61
+ * // DBInstanceIdentifier: "STRING_VALUE",
62
+ * // DbiResourceId: "STRING_VALUE",
63
+ * // EngineName: "STRING_VALUE",
64
+ * // SnapshotType: "STRING_VALUE",
65
+ * // TenantDatabaseCreateTime: new Date("TIMESTAMP"),
66
+ * // TenantDBName: "STRING_VALUE",
67
+ * // MasterUsername: "STRING_VALUE",
68
+ * // TenantDatabaseResourceId: "STRING_VALUE",
69
+ * // CharacterSetName: "STRING_VALUE",
70
+ * // DBSnapshotTenantDatabaseARN: "STRING_VALUE",
71
+ * // NcharCharacterSetName: "STRING_VALUE",
72
+ * // TagList: [ // TagList
73
+ * // { // Tag
74
+ * // Key: "STRING_VALUE",
75
+ * // Value: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // },
79
+ * // ],
80
+ * // };
81
+ *
82
+ * ```
83
+ *
84
+ * @param DescribeDBSnapshotTenantDatabasesCommandInput - {@link DescribeDBSnapshotTenantDatabasesCommandInput}
85
+ * @returns {@link DescribeDBSnapshotTenantDatabasesCommandOutput}
86
+ * @see {@link DescribeDBSnapshotTenantDatabasesCommandInput} for command's `input` shape.
87
+ * @see {@link DescribeDBSnapshotTenantDatabasesCommandOutput} for command's `response` shape.
88
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
89
+ *
90
+ * @throws {@link DBSnapshotNotFoundFault} (client fault)
91
+ * <p>
92
+ * <code>DBSnapshotIdentifier</code> doesn't refer to an existing DB snapshot.</p>
93
+ *
94
+ * @throws {@link RDSServiceException}
95
+ * <p>Base exception class for all service exceptions from RDS service.</p>
96
+ *
97
+ */
98
+ export declare class DescribeDBSnapshotTenantDatabasesCommand extends $Command<DescribeDBSnapshotTenantDatabasesCommandInput, DescribeDBSnapshotTenantDatabasesCommandOutput, RDSClientResolvedConfig> {
99
+ readonly input: DescribeDBSnapshotTenantDatabasesCommandInput;
100
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
+ /**
102
+ * @public
103
+ */
104
+ constructor(input: DescribeDBSnapshotTenantDatabasesCommandInput);
105
+ /**
106
+ * @internal
107
+ */
108
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDBSnapshotTenantDatabasesCommandInput, DescribeDBSnapshotTenantDatabasesCommandOutput>;
109
+ /**
110
+ * @internal
111
+ */
112
+ private serialize;
113
+ /**
114
+ * @internal
115
+ */
116
+ private deserialize;
117
+ }
@@ -99,6 +99,7 @@ export interface DescribeDBSnapshotsCommandOutput extends DBSnapshotMessage, __M
99
99
  * // StorageThroughput: Number("int"),
100
100
  * // DBSystemId: "STRING_VALUE",
101
101
  * // DedicatedLogVolume: true || false,
102
+ * // MultiTenant: true || false,
102
103
  * // },
103
104
  * // ],
104
105
  * // };
@@ -0,0 +1,114 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DescribeTenantDatabasesMessage, TenantDatabasesMessage } from "../models/models_1";
5
+ import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeTenantDatabasesCommand}.
14
+ */
15
+ export interface DescribeTenantDatabasesCommandInput extends DescribeTenantDatabasesMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeTenantDatabasesCommand}.
21
+ */
22
+ export interface DescribeTenantDatabasesCommandOutput extends TenantDatabasesMessage, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Describes the tenant databases in a DB instance that uses the multi-tenant
27
+ * configuration. Only RDS for Oracle CDB instances are supported.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { RDSClient, DescribeTenantDatabasesCommand } from "@aws-sdk/client-rds"; // ES Modules import
32
+ * // const { RDSClient, DescribeTenantDatabasesCommand } = require("@aws-sdk/client-rds"); // CommonJS import
33
+ * const client = new RDSClient(config);
34
+ * const input = { // DescribeTenantDatabasesMessage
35
+ * DBInstanceIdentifier: "STRING_VALUE",
36
+ * TenantDBName: "STRING_VALUE",
37
+ * Filters: [ // FilterList
38
+ * { // Filter
39
+ * Name: "STRING_VALUE", // required
40
+ * Values: [ // FilterValueList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * },
44
+ * ],
45
+ * Marker: "STRING_VALUE",
46
+ * MaxRecords: Number("int"),
47
+ * };
48
+ * const command = new DescribeTenantDatabasesCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // TenantDatabasesMessage
51
+ * // Marker: "STRING_VALUE",
52
+ * // TenantDatabases: [ // TenantDatabasesList
53
+ * // { // TenantDatabase
54
+ * // TenantDatabaseCreateTime: new Date("TIMESTAMP"),
55
+ * // DBInstanceIdentifier: "STRING_VALUE",
56
+ * // TenantDBName: "STRING_VALUE",
57
+ * // Status: "STRING_VALUE",
58
+ * // MasterUsername: "STRING_VALUE",
59
+ * // DbiResourceId: "STRING_VALUE",
60
+ * // TenantDatabaseResourceId: "STRING_VALUE",
61
+ * // TenantDatabaseARN: "STRING_VALUE",
62
+ * // CharacterSetName: "STRING_VALUE",
63
+ * // NcharCharacterSetName: "STRING_VALUE",
64
+ * // DeletionProtection: true || false,
65
+ * // PendingModifiedValues: { // TenantDatabasePendingModifiedValues
66
+ * // MasterUserPassword: "STRING_VALUE",
67
+ * // TenantDBName: "STRING_VALUE",
68
+ * // },
69
+ * // TagList: [ // TagList
70
+ * // { // Tag
71
+ * // Key: "STRING_VALUE",
72
+ * // Value: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // },
76
+ * // ],
77
+ * // };
78
+ *
79
+ * ```
80
+ *
81
+ * @param DescribeTenantDatabasesCommandInput - {@link DescribeTenantDatabasesCommandInput}
82
+ * @returns {@link DescribeTenantDatabasesCommandOutput}
83
+ * @see {@link DescribeTenantDatabasesCommandInput} for command's `input` shape.
84
+ * @see {@link DescribeTenantDatabasesCommandOutput} for command's `response` shape.
85
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
86
+ *
87
+ * @throws {@link DBInstanceNotFoundFault} (client fault)
88
+ * <p>
89
+ * <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
90
+ *
91
+ * @throws {@link RDSServiceException}
92
+ * <p>Base exception class for all service exceptions from RDS service.</p>
93
+ *
94
+ */
95
+ export declare class DescribeTenantDatabasesCommand extends $Command<DescribeTenantDatabasesCommandInput, DescribeTenantDatabasesCommandOutput, RDSClientResolvedConfig> {
96
+ readonly input: DescribeTenantDatabasesCommandInput;
97
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
101
+ constructor(input: DescribeTenantDatabasesCommandInput);
102
+ /**
103
+ * @internal
104
+ */
105
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTenantDatabasesCommandInput, DescribeTenantDatabasesCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
109
+ private serialize;
110
+ /**
111
+ * @internal
112
+ */
113
+ private deserialize;
114
+ }
@@ -85,9 +85,15 @@ export interface ListTagsForResourceCommandOutput extends TagListMessage, __Meta
85
85
  * <p>
86
86
  * <code>DBSnapshotIdentifier</code> doesn't refer to an existing DB snapshot.</p>
87
87
  *
88
+ * @throws {@link DBSnapshotTenantDatabaseNotFoundFault} (client fault)
89
+ * <p>The specified snapshot tenant database wasn't found.</p>
90
+ *
88
91
  * @throws {@link IntegrationNotFoundFault} (client fault)
89
92
  * <p>The specified integration could not be found.</p>
90
93
  *
94
+ * @throws {@link TenantDatabaseNotFoundFault} (client fault)
95
+ * <p>The specified tenant database wasn't found in the DB instance.</p>
96
+ *
91
97
  * @throws {@link RDSServiceException}
92
98
  * <p>Base exception class for all service exceptions from RDS service.</p>
93
99
  *
@@ -112,6 +112,7 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
112
112
  * MasterUserSecretKmsKeyId: "STRING_VALUE",
113
113
  * Engine: "STRING_VALUE",
114
114
  * DedicatedLogVolume: true || false,
115
+ * MultiTenant: true || false,
115
116
  * };
116
117
  * const command = new ModifyDBInstanceCommand(input);
117
118
  * const response = await client.send(command);
@@ -209,6 +210,7 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
209
210
  * // StorageThroughput: Number("int"),
210
211
  * // Engine: "STRING_VALUE",
211
212
  * // DedicatedLogVolume: true || false,
213
+ * // MultiTenant: true || false,
212
214
  * // },
213
215
  * // LatestRestorableTime: new Date("TIMESTAMP"),
214
216
  * // MultiAZ: true || false,
@@ -336,6 +338,7 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
336
338
  * // PercentProgress: "STRING_VALUE",
337
339
  * // DedicatedLogVolume: true || false,
338
340
  * // IsStorageConfigUpgradeAvailable: true || false,
341
+ * // MultiTenant: true || false,
339
342
  * // },
340
343
  * // };
341
344
  *
@@ -420,6 +423,10 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
420
423
  * @throws {@link StorageTypeNotSupportedFault} (client fault)
421
424
  * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
422
425
  *
426
+ * @throws {@link TenantDatabaseQuotaExceededFault} (client fault)
427
+ * <p>You attempted to create more tenant databases than are permitted in your Amazon Web Services
428
+ * account.</p>
429
+ *
423
430
  * @throws {@link RDSServiceException}
424
431
  * <p>Base exception class for all service exceptions from RDS service.</p>
425
432
  *
@@ -89,6 +89,7 @@ export interface ModifyDBSnapshotCommandOutput extends ModifyDBSnapshotResult, _
89
89
  * // StorageThroughput: Number("int"),
90
90
  * // DBSystemId: "STRING_VALUE",
91
91
  * // DedicatedLogVolume: true || false,
92
+ * // MultiTenant: true || false,
92
93
  * // },
93
94
  * // };
94
95
  *
@@ -0,0 +1,114 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ModifyTenantDatabaseMessage, ModifyTenantDatabaseResult } from "../models/models_1";
5
+ import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyTenantDatabaseCommand}.
14
+ */
15
+ export interface ModifyTenantDatabaseCommandInput extends ModifyTenantDatabaseMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyTenantDatabaseCommand}.
21
+ */
22
+ export interface ModifyTenantDatabaseCommandOutput extends ModifyTenantDatabaseResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Modifies an existing tenant database in a DB instance. You can change the tenant
27
+ * database name or the master user password. This operation is supported only for RDS for
28
+ * Oracle CDB instances using the multi-tenant configuration.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { RDSClient, ModifyTenantDatabaseCommand } from "@aws-sdk/client-rds"; // ES Modules import
33
+ * // const { RDSClient, ModifyTenantDatabaseCommand } = require("@aws-sdk/client-rds"); // CommonJS import
34
+ * const client = new RDSClient(config);
35
+ * const input = { // ModifyTenantDatabaseMessage
36
+ * DBInstanceIdentifier: "STRING_VALUE", // required
37
+ * TenantDBName: "STRING_VALUE", // required
38
+ * MasterUserPassword: "STRING_VALUE",
39
+ * NewTenantDBName: "STRING_VALUE",
40
+ * };
41
+ * const command = new ModifyTenantDatabaseCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ModifyTenantDatabaseResult
44
+ * // TenantDatabase: { // TenantDatabase
45
+ * // TenantDatabaseCreateTime: new Date("TIMESTAMP"),
46
+ * // DBInstanceIdentifier: "STRING_VALUE",
47
+ * // TenantDBName: "STRING_VALUE",
48
+ * // Status: "STRING_VALUE",
49
+ * // MasterUsername: "STRING_VALUE",
50
+ * // DbiResourceId: "STRING_VALUE",
51
+ * // TenantDatabaseResourceId: "STRING_VALUE",
52
+ * // TenantDatabaseARN: "STRING_VALUE",
53
+ * // CharacterSetName: "STRING_VALUE",
54
+ * // NcharCharacterSetName: "STRING_VALUE",
55
+ * // DeletionProtection: true || false,
56
+ * // PendingModifiedValues: { // TenantDatabasePendingModifiedValues
57
+ * // MasterUserPassword: "STRING_VALUE",
58
+ * // TenantDBName: "STRING_VALUE",
59
+ * // },
60
+ * // TagList: [ // TagList
61
+ * // { // Tag
62
+ * // Key: "STRING_VALUE",
63
+ * // Value: "STRING_VALUE",
64
+ * // },
65
+ * // ],
66
+ * // },
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param ModifyTenantDatabaseCommandInput - {@link ModifyTenantDatabaseCommandInput}
72
+ * @returns {@link ModifyTenantDatabaseCommandOutput}
73
+ * @see {@link ModifyTenantDatabaseCommandInput} for command's `input` shape.
74
+ * @see {@link ModifyTenantDatabaseCommandOutput} for command's `response` shape.
75
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
76
+ *
77
+ * @throws {@link DBInstanceNotFoundFault} (client fault)
78
+ * <p>
79
+ * <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
80
+ *
81
+ * @throws {@link InvalidDBInstanceStateFault} (client fault)
82
+ * <p>The DB instance isn't in a valid state.</p>
83
+ *
84
+ * @throws {@link TenantDatabaseAlreadyExistsFault} (client fault)
85
+ * <p>You attempted to either create a tenant database that already exists or
86
+ * modify a tenant database to use the name of an existing tenant database.</p>
87
+ *
88
+ * @throws {@link TenantDatabaseNotFoundFault} (client fault)
89
+ * <p>The specified tenant database wasn't found in the DB instance.</p>
90
+ *
91
+ * @throws {@link RDSServiceException}
92
+ * <p>Base exception class for all service exceptions from RDS service.</p>
93
+ *
94
+ */
95
+ export declare class ModifyTenantDatabaseCommand extends $Command<ModifyTenantDatabaseCommandInput, ModifyTenantDatabaseCommandOutput, RDSClientResolvedConfig> {
96
+ readonly input: ModifyTenantDatabaseCommandInput;
97
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
101
+ constructor(input: ModifyTenantDatabaseCommandInput);
102
+ /**
103
+ * @internal
104
+ */
105
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifyTenantDatabaseCommandInput, ModifyTenantDatabaseCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
109
+ private serialize;
110
+ /**
111
+ * @internal
112
+ */
113
+ private deserialize;
114
+ }
@@ -148,6 +148,7 @@ export interface PromoteReadReplicaCommandOutput extends PromoteReadReplicaResul
148
148
  * // StorageThroughput: Number("int"),
149
149
  * // Engine: "STRING_VALUE",
150
150
  * // DedicatedLogVolume: true || false,
151
+ * // MultiTenant: true || false,
151
152
  * // },
152
153
  * // LatestRestorableTime: new Date("TIMESTAMP"),
153
154
  * // MultiAZ: true || false,
@@ -275,6 +276,7 @@ export interface PromoteReadReplicaCommandOutput extends PromoteReadReplicaResul
275
276
  * // PercentProgress: "STRING_VALUE",
276
277
  * // DedicatedLogVolume: true || false,
277
278
  * // IsStorageConfigUpgradeAvailable: true || false,
279
+ * // MultiTenant: true || false,
278
280
  * // },
279
281
  * // };
280
282
  *
@@ -139,6 +139,7 @@ export interface RebootDBInstanceCommandOutput extends RebootDBInstanceResult, _
139
139
  * // StorageThroughput: Number("int"),
140
140
  * // Engine: "STRING_VALUE",
141
141
  * // DedicatedLogVolume: true || false,
142
+ * // MultiTenant: true || false,
142
143
  * // },
143
144
  * // LatestRestorableTime: new Date("TIMESTAMP"),
144
145
  * // MultiAZ: true || false,
@@ -266,6 +267,7 @@ export interface RebootDBInstanceCommandOutput extends RebootDBInstanceResult, _
266
267
  * // PercentProgress: "STRING_VALUE",
267
268
  * // DedicatedLogVolume: true || false,
268
269
  * // IsStorageConfigUpgradeAvailable: true || false,
270
+ * // MultiTenant: true || false,
269
271
  * // },
270
272
  * // };
271
273
  *
@@ -74,9 +74,15 @@ export interface RemoveTagsFromResourceCommandOutput extends __MetadataBearer {
74
74
  * <p>
75
75
  * <code>DBSnapshotIdentifier</code> doesn't refer to an existing DB snapshot.</p>
76
76
  *
77
+ * @throws {@link DBSnapshotTenantDatabaseNotFoundFault} (client fault)
78
+ * <p>The specified snapshot tenant database wasn't found.</p>
79
+ *
77
80
  * @throws {@link IntegrationNotFoundFault} (client fault)
78
81
  * <p>The specified integration could not be found.</p>
79
82
  *
83
+ * @throws {@link TenantDatabaseNotFoundFault} (client fault)
84
+ * <p>The specified tenant database wasn't found in the DB instance.</p>
85
+ *
80
86
  * @throws {@link RDSServiceException}
81
87
  * <p>Base exception class for all service exceptions from RDS service.</p>
82
88
  *