@aws-sdk/client-rds 3.439.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.
- package/README.md +40 -0
- package/dist-cjs/RDS.js +10 -0
- package/dist-cjs/commands/CreateTenantDatabaseCommand.js +52 -0
- package/dist-cjs/commands/DeleteTenantDatabaseCommand.js +52 -0
- package/dist-cjs/commands/DescribeDBSnapshotTenantDatabasesCommand.js +51 -0
- package/dist-cjs/commands/DescribeTenantDatabasesCommand.js +52 -0
- package/dist-cjs/commands/ModifyTenantDatabaseCommand.js +52 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +83 -20
- package/dist-cjs/models/models_1.js +37 -1
- package/dist-cjs/pagination/DescribeDBSnapshotTenantDatabasesPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeTenantDatabasesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_query.js +700 -7
- package/dist-cjs/waiters/index.js +2 -0
- package/dist-cjs/waiters/waitForTenantDatabaseAvailable.js +89 -0
- package/dist-cjs/waiters/waitForTenantDatabaseDeleted.js +39 -0
- package/dist-es/RDS.js +10 -0
- package/dist-es/commands/CreateTenantDatabaseCommand.js +48 -0
- package/dist-es/commands/DeleteTenantDatabaseCommand.js +48 -0
- package/dist-es/commands/DescribeDBSnapshotTenantDatabasesCommand.js +47 -0
- package/dist-es/commands/DescribeTenantDatabasesCommand.js +48 -0
- package/dist-es/commands/ModifyTenantDatabaseCommand.js +48 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +71 -16
- package/dist-es/models/models_1.js +32 -0
- package/dist-es/pagination/DescribeDBSnapshotTenantDatabasesPaginator.js +25 -0
- package/dist-es/pagination/DescribeTenantDatabasesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_query.js +684 -2
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForTenantDatabaseAvailable.js +84 -0
- package/dist-es/waiters/waitForTenantDatabaseDeleted.js +34 -0
- package/dist-types/RDS.d.ts +35 -0
- package/dist-types/RDSClient.d.ts +7 -2
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -0
- package/dist-types/commands/CopyDBSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CreateDBClusterCommand.d.ts +12 -0
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +7 -0
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +6 -0
- package/dist-types/commands/CreateDBSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CreateTenantDatabaseCommand.d.ts +122 -0
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +8 -0
- package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DeleteTenantDatabaseCommand.d.ts +111 -0
- package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +1 -2
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +8 -0
- package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBSnapshotTenantDatabasesCommand.d.ts +117 -0
- package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTenantDatabasesCommand.d.ts +114 -0
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +8 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +8 -0
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +7 -0
- package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/ModifyTenantDatabaseCommand.d.ts +114 -0
- package/dist-types/commands/PromoteReadReplicaCommand.d.ts +2 -0
- package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +8 -0
- package/dist-types/commands/RebootDBClusterCommand.d.ts +8 -0
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -0
- package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +8 -0
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +12 -0
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +12 -0
- package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +2 -0
- package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +6 -0
- package/dist-types/commands/StartDBClusterCommand.d.ts +8 -0
- package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/StopDBClusterCommand.d.ts +8 -0
- package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StopDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +364 -408
- package/dist-types/models/models_1.d.ts +944 -117
- package/dist-types/pagination/DescribeDBSnapshotTenantDatabasesPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeTenantDatabasesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_query.d.ts +45 -0
- package/dist-types/ts3.4/RDS.d.ts +91 -0
- package/dist-types/ts3.4/RDSClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateTenantDatabaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteTenantDatabaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeDBClusterBacktracksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBClusterEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeDBSnapshotTenantDatabasesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTenantDatabasesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyTenantDatabaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +104 -71
- package/dist-types/ts3.4/models/models_1.d.ts +136 -1
- package/dist-types/ts3.4/pagination/DescribeDBSnapshotTenantDatabasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeTenantDatabasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +60 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForTenantDatabaseAvailable.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForTenantDatabaseDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForTenantDatabaseAvailable.d.ts +14 -0
- package/dist-types/waiters/waitForTenantDatabaseDeleted.d.ts +14 -0
- package/package.json +4 -4
|
@@ -86,6 +86,7 @@ export interface DeleteDBSnapshotCommandOutput extends DeleteDBSnapshotResult, _
|
|
|
86
86
|
* // StorageThroughput: Number("int"),
|
|
87
87
|
* // DBSystemId: "STRING_VALUE",
|
|
88
88
|
* // DedicatedLogVolume: true || false,
|
|
89
|
+
* // MultiTenant: true || false,
|
|
89
90
|
* // },
|
|
90
91
|
* // };
|
|
91
92
|
*
|
|
@@ -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
|
|
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/
|
|
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/
|
|
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/
|
|
4
|
+
import { DBClusterParameterGroupsMessage, DescribeDBClusterParameterGroupsMessage } from "../models/models_1";
|
|
5
5
|
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -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 { DBClusterParameterGroupDetails } from "../models/
|
|
5
|
-
import { DescribeDBClusterParametersMessage } from "../models/models_1";
|
|
4
|
+
import { DBClusterParameterGroupDetails, DescribeDBClusterParametersMessage } from "../models/models_1";
|
|
6
5
|
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
@@ -139,6 +139,10 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
|
|
|
139
139
|
* // TimeoutAction: "STRING_VALUE",
|
|
140
140
|
* // SecondsBeforeTimeout: Number("int"),
|
|
141
141
|
* // },
|
|
142
|
+
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
|
|
143
|
+
* // InterconnectSubnetId: "STRING_VALUE",
|
|
144
|
+
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
142
146
|
* // DeletionProtection: true || false,
|
|
143
147
|
* // HttpEndpointEnabled: true || false,
|
|
144
148
|
* // ActivityStreamMode: "sync" || "async",
|
|
@@ -183,6 +187,10 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
|
|
|
183
187
|
* // EngineVersion: "STRING_VALUE",
|
|
184
188
|
* // BackupRetentionPeriod: Number("int"),
|
|
185
189
|
* // AllocatedStorage: Number("int"),
|
|
190
|
+
* // RdsCustomClusterConfiguration: {
|
|
191
|
+
* // InterconnectSubnetId: "STRING_VALUE",
|
|
192
|
+
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
|
|
193
|
+
* // },
|
|
186
194
|
* // Iops: Number("int"),
|
|
187
195
|
* // StorageType: "STRING_VALUE",
|
|
188
196
|
* // },
|
|
@@ -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
|
+
}
|
|
@@ -136,6 +136,10 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
|
|
|
136
136
|
* // TimeoutAction: "STRING_VALUE",
|
|
137
137
|
* // SecondsBeforeTimeout: Number("int"),
|
|
138
138
|
* // },
|
|
139
|
+
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
|
|
140
|
+
* // InterconnectSubnetId: "STRING_VALUE",
|
|
141
|
+
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
|
|
142
|
+
* // },
|
|
139
143
|
* // DeletionProtection: true || false,
|
|
140
144
|
* // HttpEndpointEnabled: true || false,
|
|
141
145
|
* // ActivityStreamMode: "sync" || "async",
|
|
@@ -180,6 +184,10 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
|
|
|
180
184
|
* // EngineVersion: "STRING_VALUE",
|
|
181
185
|
* // BackupRetentionPeriod: Number("int"),
|
|
182
186
|
* // AllocatedStorage: Number("int"),
|
|
187
|
+
* // RdsCustomClusterConfiguration: {
|
|
188
|
+
* // InterconnectSubnetId: "STRING_VALUE",
|
|
189
|
+
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
|
|
190
|
+
* // },
|
|
183
191
|
* // Iops: Number("int"),
|
|
184
192
|
* // StorageType: "STRING_VALUE",
|
|
185
193
|
* // },
|
|
@@ -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
|
*
|
|
@@ -188,6 +188,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
|
|
|
188
188
|
* // TimeoutAction: "STRING_VALUE",
|
|
189
189
|
* // SecondsBeforeTimeout: Number("int"),
|
|
190
190
|
* // },
|
|
191
|
+
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
|
|
192
|
+
* // InterconnectSubnetId: "STRING_VALUE",
|
|
193
|
+
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
|
|
194
|
+
* // },
|
|
191
195
|
* // DeletionProtection: true || false,
|
|
192
196
|
* // HttpEndpointEnabled: true || false,
|
|
193
197
|
* // ActivityStreamMode: "sync" || "async",
|
|
@@ -232,6 +236,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
|
|
|
232
236
|
* // EngineVersion: "STRING_VALUE",
|
|
233
237
|
* // BackupRetentionPeriod: Number("int"),
|
|
234
238
|
* // AllocatedStorage: Number("int"),
|
|
239
|
+
* // RdsCustomClusterConfiguration: {
|
|
240
|
+
* // InterconnectSubnetId: "STRING_VALUE",
|
|
241
|
+
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
|
|
242
|
+
* // },
|
|
235
243
|
* // Iops: Number("int"),
|
|
236
244
|
* // StorageType: "STRING_VALUE",
|
|
237
245
|
* // },
|
|
@@ -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
|
*
|