@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.
- 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 +653 -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 +637 -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/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/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/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/ListTagsForResourceCommand.d.ts +6 -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/RebootDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -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/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartDBInstanceCommand.d.ts +2 -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 +333 -388
- package/dist-types/models/models_1.d.ts +1132 -335
- 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/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 +97 -67
- package/dist-types/ts3.4/models/models_1.d.ts +129 -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
package/dist-es/waiters/index.js
CHANGED
|
@@ -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,84 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeTenantDatabasesCommand, } from "../commands/DescribeTenantDatabasesCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
const result = await client.send(new DescribeTenantDatabasesCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
const flat_1 = [].concat(...result.TenantDatabases);
|
|
11
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
12
|
+
return element_2.Status;
|
|
13
|
+
});
|
|
14
|
+
return projection_3;
|
|
15
|
+
};
|
|
16
|
+
let allStringEq_5 = returnComparator().length > 0;
|
|
17
|
+
for (const element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && element_4 == "available";
|
|
19
|
+
}
|
|
20
|
+
if (allStringEq_5) {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
catch (e) { }
|
|
25
|
+
try {
|
|
26
|
+
const returnComparator = () => {
|
|
27
|
+
const flat_1 = [].concat(...result.TenantDatabases);
|
|
28
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
29
|
+
return element_2.Status;
|
|
30
|
+
});
|
|
31
|
+
return projection_3;
|
|
32
|
+
};
|
|
33
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
34
|
+
if (anyStringEq_4 == "deleted") {
|
|
35
|
+
return { state: WaiterState.FAILURE, reason };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e) { }
|
|
40
|
+
try {
|
|
41
|
+
const returnComparator = () => {
|
|
42
|
+
const flat_1 = [].concat(...result.TenantDatabases);
|
|
43
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
44
|
+
return element_2.Status;
|
|
45
|
+
});
|
|
46
|
+
return projection_3;
|
|
47
|
+
};
|
|
48
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
49
|
+
if (anyStringEq_4 == "incompatible-parameters") {
|
|
50
|
+
return { state: WaiterState.FAILURE, reason };
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
catch (e) { }
|
|
55
|
+
try {
|
|
56
|
+
const returnComparator = () => {
|
|
57
|
+
const flat_1 = [].concat(...result.TenantDatabases);
|
|
58
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
59
|
+
return element_2.Status;
|
|
60
|
+
});
|
|
61
|
+
return projection_3;
|
|
62
|
+
};
|
|
63
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
64
|
+
if (anyStringEq_4 == "incompatible-restore") {
|
|
65
|
+
return { state: WaiterState.FAILURE, reason };
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
catch (e) { }
|
|
70
|
+
}
|
|
71
|
+
catch (exception) {
|
|
72
|
+
reason = exception;
|
|
73
|
+
}
|
|
74
|
+
return { state: WaiterState.RETRY, reason };
|
|
75
|
+
};
|
|
76
|
+
export const waitForTenantDatabaseAvailable = async (params, input) => {
|
|
77
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
78
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
79
|
+
};
|
|
80
|
+
export const waitUntilTenantDatabaseAvailable = async (params, input) => {
|
|
81
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
82
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
83
|
+
return checkExceptions(result);
|
|
84
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeTenantDatabasesCommand, } from "../commands/DescribeTenantDatabasesCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
const result = await client.send(new DescribeTenantDatabasesCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.TenantDatabases.length == 0.0;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() == true) {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
}
|
|
18
|
+
catch (exception) {
|
|
19
|
+
reason = exception;
|
|
20
|
+
if (exception.name && exception.name == "DBInstanceNotFoundFault") {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return { state: WaiterState.RETRY, reason };
|
|
25
|
+
};
|
|
26
|
+
export const waitForTenantDatabaseDeleted = async (params, input) => {
|
|
27
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
28
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
29
|
+
};
|
|
30
|
+
export const waitUntilTenantDatabaseDeleted = async (params, input) => {
|
|
31
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
32
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
33
|
+
return checkExceptions(result);
|
|
34
|
+
};
|
package/dist-types/RDS.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import { CreateEventSubscriptionCommandInput, CreateEventSubscriptionCommandOutp
|
|
|
30
30
|
import { CreateGlobalClusterCommandInput, CreateGlobalClusterCommandOutput } from "./commands/CreateGlobalClusterCommand";
|
|
31
31
|
import { CreateIntegrationCommandInput, CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
|
|
32
32
|
import { CreateOptionGroupCommandInput, CreateOptionGroupCommandOutput } from "./commands/CreateOptionGroupCommand";
|
|
33
|
+
import { CreateTenantDatabaseCommandInput, CreateTenantDatabaseCommandOutput } from "./commands/CreateTenantDatabaseCommand";
|
|
33
34
|
import { DeleteBlueGreenDeploymentCommandInput, DeleteBlueGreenDeploymentCommandOutput } from "./commands/DeleteBlueGreenDeploymentCommand";
|
|
34
35
|
import { DeleteCustomDBEngineVersionCommandInput, DeleteCustomDBEngineVersionCommandOutput } from "./commands/DeleteCustomDBEngineVersionCommand";
|
|
35
36
|
import { DeleteDBClusterAutomatedBackupCommandInput, DeleteDBClusterAutomatedBackupCommandOutput } from "./commands/DeleteDBClusterAutomatedBackupCommand";
|
|
@@ -49,6 +50,7 @@ import { DeleteEventSubscriptionCommandInput, DeleteEventSubscriptionCommandOutp
|
|
|
49
50
|
import { DeleteGlobalClusterCommandInput, DeleteGlobalClusterCommandOutput } from "./commands/DeleteGlobalClusterCommand";
|
|
50
51
|
import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
|
|
51
52
|
import { DeleteOptionGroupCommandInput, DeleteOptionGroupCommandOutput } from "./commands/DeleteOptionGroupCommand";
|
|
53
|
+
import { DeleteTenantDatabaseCommandInput, DeleteTenantDatabaseCommandOutput } from "./commands/DeleteTenantDatabaseCommand";
|
|
52
54
|
import { DeregisterDBProxyTargetsCommandInput, DeregisterDBProxyTargetsCommandOutput } from "./commands/DeregisterDBProxyTargetsCommand";
|
|
53
55
|
import { DescribeAccountAttributesCommandInput, DescribeAccountAttributesCommandOutput } from "./commands/DescribeAccountAttributesCommand";
|
|
54
56
|
import { DescribeBlueGreenDeploymentsCommandInput, DescribeBlueGreenDeploymentsCommandOutput } from "./commands/DescribeBlueGreenDeploymentsCommand";
|
|
@@ -74,6 +76,7 @@ import { DescribeDBProxyTargetsCommandInput, DescribeDBProxyTargetsCommandOutput
|
|
|
74
76
|
import { DescribeDBSecurityGroupsCommandInput, DescribeDBSecurityGroupsCommandOutput } from "./commands/DescribeDBSecurityGroupsCommand";
|
|
75
77
|
import { DescribeDBSnapshotAttributesCommandInput, DescribeDBSnapshotAttributesCommandOutput } from "./commands/DescribeDBSnapshotAttributesCommand";
|
|
76
78
|
import { DescribeDBSnapshotsCommandInput, DescribeDBSnapshotsCommandOutput } from "./commands/DescribeDBSnapshotsCommand";
|
|
79
|
+
import { DescribeDBSnapshotTenantDatabasesCommandInput, DescribeDBSnapshotTenantDatabasesCommandOutput } from "./commands/DescribeDBSnapshotTenantDatabasesCommand";
|
|
77
80
|
import { DescribeDBSubnetGroupsCommandInput, DescribeDBSubnetGroupsCommandOutput } from "./commands/DescribeDBSubnetGroupsCommand";
|
|
78
81
|
import { DescribeEngineDefaultClusterParametersCommandInput, DescribeEngineDefaultClusterParametersCommandOutput } from "./commands/DescribeEngineDefaultClusterParametersCommand";
|
|
79
82
|
import { DescribeEngineDefaultParametersCommandInput, DescribeEngineDefaultParametersCommandOutput } from "./commands/DescribeEngineDefaultParametersCommand";
|
|
@@ -90,6 +93,7 @@ import { DescribePendingMaintenanceActionsCommandInput, DescribePendingMaintenan
|
|
|
90
93
|
import { DescribeReservedDBInstancesCommandInput, DescribeReservedDBInstancesCommandOutput } from "./commands/DescribeReservedDBInstancesCommand";
|
|
91
94
|
import { DescribeReservedDBInstancesOfferingsCommandInput, DescribeReservedDBInstancesOfferingsCommandOutput } from "./commands/DescribeReservedDBInstancesOfferingsCommand";
|
|
92
95
|
import { DescribeSourceRegionsCommandInput, DescribeSourceRegionsCommandOutput } from "./commands/DescribeSourceRegionsCommand";
|
|
96
|
+
import { DescribeTenantDatabasesCommandInput, DescribeTenantDatabasesCommandOutput } from "./commands/DescribeTenantDatabasesCommand";
|
|
93
97
|
import { DescribeValidDBInstanceModificationsCommandInput, DescribeValidDBInstanceModificationsCommandOutput } from "./commands/DescribeValidDBInstanceModificationsCommand";
|
|
94
98
|
import { DownloadDBLogFilePortionCommandInput, DownloadDBLogFilePortionCommandOutput } from "./commands/DownloadDBLogFilePortionCommand";
|
|
95
99
|
import { FailoverDBClusterCommandInput, FailoverDBClusterCommandOutput } from "./commands/FailoverDBClusterCommand";
|
|
@@ -114,6 +118,7 @@ import { ModifyDBSubnetGroupCommandInput, ModifyDBSubnetGroupCommandOutput } fro
|
|
|
114
118
|
import { ModifyEventSubscriptionCommandInput, ModifyEventSubscriptionCommandOutput } from "./commands/ModifyEventSubscriptionCommand";
|
|
115
119
|
import { ModifyGlobalClusterCommandInput, ModifyGlobalClusterCommandOutput } from "./commands/ModifyGlobalClusterCommand";
|
|
116
120
|
import { ModifyOptionGroupCommandInput, ModifyOptionGroupCommandOutput } from "./commands/ModifyOptionGroupCommand";
|
|
121
|
+
import { ModifyTenantDatabaseCommandInput, ModifyTenantDatabaseCommandOutput } from "./commands/ModifyTenantDatabaseCommand";
|
|
117
122
|
import { PromoteReadReplicaCommandInput, PromoteReadReplicaCommandOutput } from "./commands/PromoteReadReplicaCommand";
|
|
118
123
|
import { PromoteReadReplicaDBClusterCommandInput, PromoteReadReplicaDBClusterCommandOutput } from "./commands/PromoteReadReplicaDBClusterCommand";
|
|
119
124
|
import { PurchaseReservedDBInstancesOfferingCommandInput, PurchaseReservedDBInstancesOfferingCommandOutput } from "./commands/PurchaseReservedDBInstancesOfferingCommand";
|
|
@@ -334,6 +339,12 @@ export interface RDS {
|
|
|
334
339
|
createOptionGroup(args: CreateOptionGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateOptionGroupCommandOutput>;
|
|
335
340
|
createOptionGroup(args: CreateOptionGroupCommandInput, cb: (err: any, data?: CreateOptionGroupCommandOutput) => void): void;
|
|
336
341
|
createOptionGroup(args: CreateOptionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOptionGroupCommandOutput) => void): void;
|
|
342
|
+
/**
|
|
343
|
+
* @see {@link CreateTenantDatabaseCommand}
|
|
344
|
+
*/
|
|
345
|
+
createTenantDatabase(args: CreateTenantDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateTenantDatabaseCommandOutput>;
|
|
346
|
+
createTenantDatabase(args: CreateTenantDatabaseCommandInput, cb: (err: any, data?: CreateTenantDatabaseCommandOutput) => void): void;
|
|
347
|
+
createTenantDatabase(args: CreateTenantDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTenantDatabaseCommandOutput) => void): void;
|
|
337
348
|
/**
|
|
338
349
|
* @see {@link DeleteBlueGreenDeploymentCommand}
|
|
339
350
|
*/
|
|
@@ -448,6 +459,12 @@ export interface RDS {
|
|
|
448
459
|
deleteOptionGroup(args: DeleteOptionGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOptionGroupCommandOutput>;
|
|
449
460
|
deleteOptionGroup(args: DeleteOptionGroupCommandInput, cb: (err: any, data?: DeleteOptionGroupCommandOutput) => void): void;
|
|
450
461
|
deleteOptionGroup(args: DeleteOptionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOptionGroupCommandOutput) => void): void;
|
|
462
|
+
/**
|
|
463
|
+
* @see {@link DeleteTenantDatabaseCommand}
|
|
464
|
+
*/
|
|
465
|
+
deleteTenantDatabase(args: DeleteTenantDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTenantDatabaseCommandOutput>;
|
|
466
|
+
deleteTenantDatabase(args: DeleteTenantDatabaseCommandInput, cb: (err: any, data?: DeleteTenantDatabaseCommandOutput) => void): void;
|
|
467
|
+
deleteTenantDatabase(args: DeleteTenantDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTenantDatabaseCommandOutput) => void): void;
|
|
451
468
|
/**
|
|
452
469
|
* @see {@link DeregisterDBProxyTargetsCommand}
|
|
453
470
|
*/
|
|
@@ -598,6 +615,12 @@ export interface RDS {
|
|
|
598
615
|
describeDBSnapshots(args: DescribeDBSnapshotsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDBSnapshotsCommandOutput>;
|
|
599
616
|
describeDBSnapshots(args: DescribeDBSnapshotsCommandInput, cb: (err: any, data?: DescribeDBSnapshotsCommandOutput) => void): void;
|
|
600
617
|
describeDBSnapshots(args: DescribeDBSnapshotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDBSnapshotsCommandOutput) => void): void;
|
|
618
|
+
/**
|
|
619
|
+
* @see {@link DescribeDBSnapshotTenantDatabasesCommand}
|
|
620
|
+
*/
|
|
621
|
+
describeDBSnapshotTenantDatabases(args: DescribeDBSnapshotTenantDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDBSnapshotTenantDatabasesCommandOutput>;
|
|
622
|
+
describeDBSnapshotTenantDatabases(args: DescribeDBSnapshotTenantDatabasesCommandInput, cb: (err: any, data?: DescribeDBSnapshotTenantDatabasesCommandOutput) => void): void;
|
|
623
|
+
describeDBSnapshotTenantDatabases(args: DescribeDBSnapshotTenantDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDBSnapshotTenantDatabasesCommandOutput) => void): void;
|
|
601
624
|
/**
|
|
602
625
|
* @see {@link DescribeDBSubnetGroupsCommand}
|
|
603
626
|
*/
|
|
@@ -694,6 +717,12 @@ export interface RDS {
|
|
|
694
717
|
describeSourceRegions(args: DescribeSourceRegionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSourceRegionsCommandOutput>;
|
|
695
718
|
describeSourceRegions(args: DescribeSourceRegionsCommandInput, cb: (err: any, data?: DescribeSourceRegionsCommandOutput) => void): void;
|
|
696
719
|
describeSourceRegions(args: DescribeSourceRegionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSourceRegionsCommandOutput) => void): void;
|
|
720
|
+
/**
|
|
721
|
+
* @see {@link DescribeTenantDatabasesCommand}
|
|
722
|
+
*/
|
|
723
|
+
describeTenantDatabases(args: DescribeTenantDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTenantDatabasesCommandOutput>;
|
|
724
|
+
describeTenantDatabases(args: DescribeTenantDatabasesCommandInput, cb: (err: any, data?: DescribeTenantDatabasesCommandOutput) => void): void;
|
|
725
|
+
describeTenantDatabases(args: DescribeTenantDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTenantDatabasesCommandOutput) => void): void;
|
|
697
726
|
/**
|
|
698
727
|
* @see {@link DescribeValidDBInstanceModificationsCommand}
|
|
699
728
|
*/
|
|
@@ -838,6 +867,12 @@ export interface RDS {
|
|
|
838
867
|
modifyOptionGroup(args: ModifyOptionGroupCommandInput, options?: __HttpHandlerOptions): Promise<ModifyOptionGroupCommandOutput>;
|
|
839
868
|
modifyOptionGroup(args: ModifyOptionGroupCommandInput, cb: (err: any, data?: ModifyOptionGroupCommandOutput) => void): void;
|
|
840
869
|
modifyOptionGroup(args: ModifyOptionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyOptionGroupCommandOutput) => void): void;
|
|
870
|
+
/**
|
|
871
|
+
* @see {@link ModifyTenantDatabaseCommand}
|
|
872
|
+
*/
|
|
873
|
+
modifyTenantDatabase(args: ModifyTenantDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<ModifyTenantDatabaseCommandOutput>;
|
|
874
|
+
modifyTenantDatabase(args: ModifyTenantDatabaseCommandInput, cb: (err: any, data?: ModifyTenantDatabaseCommandOutput) => void): void;
|
|
875
|
+
modifyTenantDatabase(args: ModifyTenantDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyTenantDatabaseCommandOutput) => void): void;
|
|
841
876
|
/**
|
|
842
877
|
* @see {@link PromoteReadReplicaCommand}
|
|
843
878
|
*/
|
|
@@ -39,6 +39,7 @@ import { CreateEventSubscriptionCommandInput, CreateEventSubscriptionCommandOutp
|
|
|
39
39
|
import { CreateGlobalClusterCommandInput, CreateGlobalClusterCommandOutput } from "./commands/CreateGlobalClusterCommand";
|
|
40
40
|
import { CreateIntegrationCommandInput, CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
|
|
41
41
|
import { CreateOptionGroupCommandInput, CreateOptionGroupCommandOutput } from "./commands/CreateOptionGroupCommand";
|
|
42
|
+
import { CreateTenantDatabaseCommandInput, CreateTenantDatabaseCommandOutput } from "./commands/CreateTenantDatabaseCommand";
|
|
42
43
|
import { DeleteBlueGreenDeploymentCommandInput, DeleteBlueGreenDeploymentCommandOutput } from "./commands/DeleteBlueGreenDeploymentCommand";
|
|
43
44
|
import { DeleteCustomDBEngineVersionCommandInput, DeleteCustomDBEngineVersionCommandOutput } from "./commands/DeleteCustomDBEngineVersionCommand";
|
|
44
45
|
import { DeleteDBClusterAutomatedBackupCommandInput, DeleteDBClusterAutomatedBackupCommandOutput } from "./commands/DeleteDBClusterAutomatedBackupCommand";
|
|
@@ -58,6 +59,7 @@ import { DeleteEventSubscriptionCommandInput, DeleteEventSubscriptionCommandOutp
|
|
|
58
59
|
import { DeleteGlobalClusterCommandInput, DeleteGlobalClusterCommandOutput } from "./commands/DeleteGlobalClusterCommand";
|
|
59
60
|
import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
|
|
60
61
|
import { DeleteOptionGroupCommandInput, DeleteOptionGroupCommandOutput } from "./commands/DeleteOptionGroupCommand";
|
|
62
|
+
import { DeleteTenantDatabaseCommandInput, DeleteTenantDatabaseCommandOutput } from "./commands/DeleteTenantDatabaseCommand";
|
|
61
63
|
import { DeregisterDBProxyTargetsCommandInput, DeregisterDBProxyTargetsCommandOutput } from "./commands/DeregisterDBProxyTargetsCommand";
|
|
62
64
|
import { DescribeAccountAttributesCommandInput, DescribeAccountAttributesCommandOutput } from "./commands/DescribeAccountAttributesCommand";
|
|
63
65
|
import { DescribeBlueGreenDeploymentsCommandInput, DescribeBlueGreenDeploymentsCommandOutput } from "./commands/DescribeBlueGreenDeploymentsCommand";
|
|
@@ -83,6 +85,7 @@ import { DescribeDBProxyTargetsCommandInput, DescribeDBProxyTargetsCommandOutput
|
|
|
83
85
|
import { DescribeDBSecurityGroupsCommandInput, DescribeDBSecurityGroupsCommandOutput } from "./commands/DescribeDBSecurityGroupsCommand";
|
|
84
86
|
import { DescribeDBSnapshotAttributesCommandInput, DescribeDBSnapshotAttributesCommandOutput } from "./commands/DescribeDBSnapshotAttributesCommand";
|
|
85
87
|
import { DescribeDBSnapshotsCommandInput, DescribeDBSnapshotsCommandOutput } from "./commands/DescribeDBSnapshotsCommand";
|
|
88
|
+
import { DescribeDBSnapshotTenantDatabasesCommandInput, DescribeDBSnapshotTenantDatabasesCommandOutput } from "./commands/DescribeDBSnapshotTenantDatabasesCommand";
|
|
86
89
|
import { DescribeDBSubnetGroupsCommandInput, DescribeDBSubnetGroupsCommandOutput } from "./commands/DescribeDBSubnetGroupsCommand";
|
|
87
90
|
import { DescribeEngineDefaultClusterParametersCommandInput, DescribeEngineDefaultClusterParametersCommandOutput } from "./commands/DescribeEngineDefaultClusterParametersCommand";
|
|
88
91
|
import { DescribeEngineDefaultParametersCommandInput, DescribeEngineDefaultParametersCommandOutput } from "./commands/DescribeEngineDefaultParametersCommand";
|
|
@@ -99,6 +102,7 @@ import { DescribePendingMaintenanceActionsCommandInput, DescribePendingMaintenan
|
|
|
99
102
|
import { DescribeReservedDBInstancesCommandInput, DescribeReservedDBInstancesCommandOutput } from "./commands/DescribeReservedDBInstancesCommand";
|
|
100
103
|
import { DescribeReservedDBInstancesOfferingsCommandInput, DescribeReservedDBInstancesOfferingsCommandOutput } from "./commands/DescribeReservedDBInstancesOfferingsCommand";
|
|
101
104
|
import { DescribeSourceRegionsCommandInput, DescribeSourceRegionsCommandOutput } from "./commands/DescribeSourceRegionsCommand";
|
|
105
|
+
import { DescribeTenantDatabasesCommandInput, DescribeTenantDatabasesCommandOutput } from "./commands/DescribeTenantDatabasesCommand";
|
|
102
106
|
import { DescribeValidDBInstanceModificationsCommandInput, DescribeValidDBInstanceModificationsCommandOutput } from "./commands/DescribeValidDBInstanceModificationsCommand";
|
|
103
107
|
import { DownloadDBLogFilePortionCommandInput, DownloadDBLogFilePortionCommandOutput } from "./commands/DownloadDBLogFilePortionCommand";
|
|
104
108
|
import { FailoverDBClusterCommandInput, FailoverDBClusterCommandOutput } from "./commands/FailoverDBClusterCommand";
|
|
@@ -123,6 +127,7 @@ import { ModifyDBSubnetGroupCommandInput, ModifyDBSubnetGroupCommandOutput } fro
|
|
|
123
127
|
import { ModifyEventSubscriptionCommandInput, ModifyEventSubscriptionCommandOutput } from "./commands/ModifyEventSubscriptionCommand";
|
|
124
128
|
import { ModifyGlobalClusterCommandInput, ModifyGlobalClusterCommandOutput } from "./commands/ModifyGlobalClusterCommand";
|
|
125
129
|
import { ModifyOptionGroupCommandInput, ModifyOptionGroupCommandOutput } from "./commands/ModifyOptionGroupCommand";
|
|
130
|
+
import { ModifyTenantDatabaseCommandInput, ModifyTenantDatabaseCommandOutput } from "./commands/ModifyTenantDatabaseCommand";
|
|
126
131
|
import { PromoteReadReplicaCommandInput, PromoteReadReplicaCommandOutput } from "./commands/PromoteReadReplicaCommand";
|
|
127
132
|
import { PromoteReadReplicaDBClusterCommandInput, PromoteReadReplicaDBClusterCommandOutput } from "./commands/PromoteReadReplicaDBClusterCommand";
|
|
128
133
|
import { PurchaseReservedDBInstancesOfferingCommandInput, PurchaseReservedDBInstancesOfferingCommandOutput } from "./commands/PurchaseReservedDBInstancesOfferingCommand";
|
|
@@ -161,11 +166,11 @@ export { __Client };
|
|
|
161
166
|
/**
|
|
162
167
|
* @public
|
|
163
168
|
*/
|
|
164
|
-
export type ServiceInputTypes = AddRoleToDBClusterCommandInput | AddRoleToDBInstanceCommandInput | AddSourceIdentifierToSubscriptionCommandInput | AddTagsToResourceCommandInput | ApplyPendingMaintenanceActionCommandInput | AuthorizeDBSecurityGroupIngressCommandInput | BacktrackDBClusterCommandInput | CancelExportTaskCommandInput | CopyDBClusterParameterGroupCommandInput | CopyDBClusterSnapshotCommandInput | CopyDBParameterGroupCommandInput | CopyDBSnapshotCommandInput | CopyOptionGroupCommandInput | CreateBlueGreenDeploymentCommandInput | CreateCustomDBEngineVersionCommandInput | CreateDBClusterCommandInput | CreateDBClusterEndpointCommandInput | CreateDBClusterParameterGroupCommandInput | CreateDBClusterSnapshotCommandInput | CreateDBInstanceCommandInput | CreateDBInstanceReadReplicaCommandInput | CreateDBParameterGroupCommandInput | CreateDBProxyCommandInput | CreateDBProxyEndpointCommandInput | CreateDBSecurityGroupCommandInput | CreateDBSnapshotCommandInput | CreateDBSubnetGroupCommandInput | CreateEventSubscriptionCommandInput | CreateGlobalClusterCommandInput | CreateIntegrationCommandInput | CreateOptionGroupCommandInput | DeleteBlueGreenDeploymentCommandInput | DeleteCustomDBEngineVersionCommandInput | DeleteDBClusterAutomatedBackupCommandInput | DeleteDBClusterCommandInput | DeleteDBClusterEndpointCommandInput | DeleteDBClusterParameterGroupCommandInput | DeleteDBClusterSnapshotCommandInput | DeleteDBInstanceAutomatedBackupCommandInput | DeleteDBInstanceCommandInput | DeleteDBParameterGroupCommandInput | DeleteDBProxyCommandInput | DeleteDBProxyEndpointCommandInput | DeleteDBSecurityGroupCommandInput | DeleteDBSnapshotCommandInput | DeleteDBSubnetGroupCommandInput | DeleteEventSubscriptionCommandInput | DeleteGlobalClusterCommandInput | DeleteIntegrationCommandInput | DeleteOptionGroupCommandInput | DeregisterDBProxyTargetsCommandInput | DescribeAccountAttributesCommandInput | DescribeBlueGreenDeploymentsCommandInput | DescribeCertificatesCommandInput | DescribeDBClusterAutomatedBackupsCommandInput | DescribeDBClusterBacktracksCommandInput | DescribeDBClusterEndpointsCommandInput | DescribeDBClusterParameterGroupsCommandInput | DescribeDBClusterParametersCommandInput | DescribeDBClusterSnapshotAttributesCommandInput | DescribeDBClusterSnapshotsCommandInput | DescribeDBClustersCommandInput | DescribeDBEngineVersionsCommandInput | DescribeDBInstanceAutomatedBackupsCommandInput | DescribeDBInstancesCommandInput | DescribeDBLogFilesCommandInput | DescribeDBParameterGroupsCommandInput | DescribeDBParametersCommandInput | DescribeDBProxiesCommandInput | DescribeDBProxyEndpointsCommandInput | DescribeDBProxyTargetGroupsCommandInput | DescribeDBProxyTargetsCommandInput | DescribeDBSecurityGroupsCommandInput | DescribeDBSnapshotAttributesCommandInput | DescribeDBSnapshotsCommandInput | DescribeDBSubnetGroupsCommandInput | DescribeEngineDefaultClusterParametersCommandInput | DescribeEngineDefaultParametersCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeExportTasksCommandInput | DescribeGlobalClustersCommandInput | DescribeIntegrationsCommandInput | DescribeOptionGroupOptionsCommandInput | DescribeOptionGroupsCommandInput | DescribeOrderableDBInstanceOptionsCommandInput | DescribePendingMaintenanceActionsCommandInput | DescribeReservedDBInstancesCommandInput | DescribeReservedDBInstancesOfferingsCommandInput | DescribeSourceRegionsCommandInput | DescribeValidDBInstanceModificationsCommandInput | DownloadDBLogFilePortionCommandInput | FailoverDBClusterCommandInput | FailoverGlobalClusterCommandInput | ListTagsForResourceCommandInput | ModifyActivityStreamCommandInput | ModifyCertificatesCommandInput | ModifyCurrentDBClusterCapacityCommandInput | ModifyCustomDBEngineVersionCommandInput | ModifyDBClusterCommandInput | ModifyDBClusterEndpointCommandInput | ModifyDBClusterParameterGroupCommandInput | ModifyDBClusterSnapshotAttributeCommandInput | ModifyDBInstanceCommandInput | ModifyDBParameterGroupCommandInput | ModifyDBProxyCommandInput | ModifyDBProxyEndpointCommandInput | ModifyDBProxyTargetGroupCommandInput | ModifyDBSnapshotAttributeCommandInput | ModifyDBSnapshotCommandInput | ModifyDBSubnetGroupCommandInput | ModifyEventSubscriptionCommandInput | ModifyGlobalClusterCommandInput | ModifyOptionGroupCommandInput | PromoteReadReplicaCommandInput | PromoteReadReplicaDBClusterCommandInput | PurchaseReservedDBInstancesOfferingCommandInput | RebootDBClusterCommandInput | RebootDBInstanceCommandInput | RegisterDBProxyTargetsCommandInput | RemoveFromGlobalClusterCommandInput | RemoveRoleFromDBClusterCommandInput | RemoveRoleFromDBInstanceCommandInput | RemoveSourceIdentifierFromSubscriptionCommandInput | RemoveTagsFromResourceCommandInput | ResetDBClusterParameterGroupCommandInput | ResetDBParameterGroupCommandInput | RestoreDBClusterFromS3CommandInput | RestoreDBClusterFromSnapshotCommandInput | RestoreDBClusterToPointInTimeCommandInput | RestoreDBInstanceFromDBSnapshotCommandInput | RestoreDBInstanceFromS3CommandInput | RestoreDBInstanceToPointInTimeCommandInput | RevokeDBSecurityGroupIngressCommandInput | StartActivityStreamCommandInput | StartDBClusterCommandInput | StartDBInstanceAutomatedBackupsReplicationCommandInput | StartDBInstanceCommandInput | StartExportTaskCommandInput | StopActivityStreamCommandInput | StopDBClusterCommandInput | StopDBInstanceAutomatedBackupsReplicationCommandInput | StopDBInstanceCommandInput | SwitchoverBlueGreenDeploymentCommandInput | SwitchoverGlobalClusterCommandInput | SwitchoverReadReplicaCommandInput;
|
|
169
|
+
export type ServiceInputTypes = AddRoleToDBClusterCommandInput | AddRoleToDBInstanceCommandInput | AddSourceIdentifierToSubscriptionCommandInput | AddTagsToResourceCommandInput | ApplyPendingMaintenanceActionCommandInput | AuthorizeDBSecurityGroupIngressCommandInput | BacktrackDBClusterCommandInput | CancelExportTaskCommandInput | CopyDBClusterParameterGroupCommandInput | CopyDBClusterSnapshotCommandInput | CopyDBParameterGroupCommandInput | CopyDBSnapshotCommandInput | CopyOptionGroupCommandInput | CreateBlueGreenDeploymentCommandInput | CreateCustomDBEngineVersionCommandInput | CreateDBClusterCommandInput | CreateDBClusterEndpointCommandInput | CreateDBClusterParameterGroupCommandInput | CreateDBClusterSnapshotCommandInput | CreateDBInstanceCommandInput | CreateDBInstanceReadReplicaCommandInput | CreateDBParameterGroupCommandInput | CreateDBProxyCommandInput | CreateDBProxyEndpointCommandInput | CreateDBSecurityGroupCommandInput | CreateDBSnapshotCommandInput | CreateDBSubnetGroupCommandInput | CreateEventSubscriptionCommandInput | CreateGlobalClusterCommandInput | CreateIntegrationCommandInput | CreateOptionGroupCommandInput | CreateTenantDatabaseCommandInput | DeleteBlueGreenDeploymentCommandInput | DeleteCustomDBEngineVersionCommandInput | DeleteDBClusterAutomatedBackupCommandInput | DeleteDBClusterCommandInput | DeleteDBClusterEndpointCommandInput | DeleteDBClusterParameterGroupCommandInput | DeleteDBClusterSnapshotCommandInput | DeleteDBInstanceAutomatedBackupCommandInput | DeleteDBInstanceCommandInput | DeleteDBParameterGroupCommandInput | DeleteDBProxyCommandInput | DeleteDBProxyEndpointCommandInput | DeleteDBSecurityGroupCommandInput | DeleteDBSnapshotCommandInput | DeleteDBSubnetGroupCommandInput | DeleteEventSubscriptionCommandInput | DeleteGlobalClusterCommandInput | DeleteIntegrationCommandInput | DeleteOptionGroupCommandInput | DeleteTenantDatabaseCommandInput | DeregisterDBProxyTargetsCommandInput | DescribeAccountAttributesCommandInput | DescribeBlueGreenDeploymentsCommandInput | DescribeCertificatesCommandInput | DescribeDBClusterAutomatedBackupsCommandInput | DescribeDBClusterBacktracksCommandInput | DescribeDBClusterEndpointsCommandInput | DescribeDBClusterParameterGroupsCommandInput | DescribeDBClusterParametersCommandInput | DescribeDBClusterSnapshotAttributesCommandInput | DescribeDBClusterSnapshotsCommandInput | DescribeDBClustersCommandInput | DescribeDBEngineVersionsCommandInput | DescribeDBInstanceAutomatedBackupsCommandInput | DescribeDBInstancesCommandInput | DescribeDBLogFilesCommandInput | DescribeDBParameterGroupsCommandInput | DescribeDBParametersCommandInput | DescribeDBProxiesCommandInput | DescribeDBProxyEndpointsCommandInput | DescribeDBProxyTargetGroupsCommandInput | DescribeDBProxyTargetsCommandInput | DescribeDBSecurityGroupsCommandInput | DescribeDBSnapshotAttributesCommandInput | DescribeDBSnapshotTenantDatabasesCommandInput | DescribeDBSnapshotsCommandInput | DescribeDBSubnetGroupsCommandInput | DescribeEngineDefaultClusterParametersCommandInput | DescribeEngineDefaultParametersCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeExportTasksCommandInput | DescribeGlobalClustersCommandInput | DescribeIntegrationsCommandInput | DescribeOptionGroupOptionsCommandInput | DescribeOptionGroupsCommandInput | DescribeOrderableDBInstanceOptionsCommandInput | DescribePendingMaintenanceActionsCommandInput | DescribeReservedDBInstancesCommandInput | DescribeReservedDBInstancesOfferingsCommandInput | DescribeSourceRegionsCommandInput | DescribeTenantDatabasesCommandInput | DescribeValidDBInstanceModificationsCommandInput | DownloadDBLogFilePortionCommandInput | FailoverDBClusterCommandInput | FailoverGlobalClusterCommandInput | ListTagsForResourceCommandInput | ModifyActivityStreamCommandInput | ModifyCertificatesCommandInput | ModifyCurrentDBClusterCapacityCommandInput | ModifyCustomDBEngineVersionCommandInput | ModifyDBClusterCommandInput | ModifyDBClusterEndpointCommandInput | ModifyDBClusterParameterGroupCommandInput | ModifyDBClusterSnapshotAttributeCommandInput | ModifyDBInstanceCommandInput | ModifyDBParameterGroupCommandInput | ModifyDBProxyCommandInput | ModifyDBProxyEndpointCommandInput | ModifyDBProxyTargetGroupCommandInput | ModifyDBSnapshotAttributeCommandInput | ModifyDBSnapshotCommandInput | ModifyDBSubnetGroupCommandInput | ModifyEventSubscriptionCommandInput | ModifyGlobalClusterCommandInput | ModifyOptionGroupCommandInput | ModifyTenantDatabaseCommandInput | PromoteReadReplicaCommandInput | PromoteReadReplicaDBClusterCommandInput | PurchaseReservedDBInstancesOfferingCommandInput | RebootDBClusterCommandInput | RebootDBInstanceCommandInput | RegisterDBProxyTargetsCommandInput | RemoveFromGlobalClusterCommandInput | RemoveRoleFromDBClusterCommandInput | RemoveRoleFromDBInstanceCommandInput | RemoveSourceIdentifierFromSubscriptionCommandInput | RemoveTagsFromResourceCommandInput | ResetDBClusterParameterGroupCommandInput | ResetDBParameterGroupCommandInput | RestoreDBClusterFromS3CommandInput | RestoreDBClusterFromSnapshotCommandInput | RestoreDBClusterToPointInTimeCommandInput | RestoreDBInstanceFromDBSnapshotCommandInput | RestoreDBInstanceFromS3CommandInput | RestoreDBInstanceToPointInTimeCommandInput | RevokeDBSecurityGroupIngressCommandInput | StartActivityStreamCommandInput | StartDBClusterCommandInput | StartDBInstanceAutomatedBackupsReplicationCommandInput | StartDBInstanceCommandInput | StartExportTaskCommandInput | StopActivityStreamCommandInput | StopDBClusterCommandInput | StopDBInstanceAutomatedBackupsReplicationCommandInput | StopDBInstanceCommandInput | SwitchoverBlueGreenDeploymentCommandInput | SwitchoverGlobalClusterCommandInput | SwitchoverReadReplicaCommandInput;
|
|
165
170
|
/**
|
|
166
171
|
* @public
|
|
167
172
|
*/
|
|
168
|
-
export type ServiceOutputTypes = AddRoleToDBClusterCommandOutput | AddRoleToDBInstanceCommandOutput | AddSourceIdentifierToSubscriptionCommandOutput | AddTagsToResourceCommandOutput | ApplyPendingMaintenanceActionCommandOutput | AuthorizeDBSecurityGroupIngressCommandOutput | BacktrackDBClusterCommandOutput | CancelExportTaskCommandOutput | CopyDBClusterParameterGroupCommandOutput | CopyDBClusterSnapshotCommandOutput | CopyDBParameterGroupCommandOutput | CopyDBSnapshotCommandOutput | CopyOptionGroupCommandOutput | CreateBlueGreenDeploymentCommandOutput | CreateCustomDBEngineVersionCommandOutput | CreateDBClusterCommandOutput | CreateDBClusterEndpointCommandOutput | CreateDBClusterParameterGroupCommandOutput | CreateDBClusterSnapshotCommandOutput | CreateDBInstanceCommandOutput | CreateDBInstanceReadReplicaCommandOutput | CreateDBParameterGroupCommandOutput | CreateDBProxyCommandOutput | CreateDBProxyEndpointCommandOutput | CreateDBSecurityGroupCommandOutput | CreateDBSnapshotCommandOutput | CreateDBSubnetGroupCommandOutput | CreateEventSubscriptionCommandOutput | CreateGlobalClusterCommandOutput | CreateIntegrationCommandOutput | CreateOptionGroupCommandOutput | DeleteBlueGreenDeploymentCommandOutput | DeleteCustomDBEngineVersionCommandOutput | DeleteDBClusterAutomatedBackupCommandOutput | DeleteDBClusterCommandOutput | DeleteDBClusterEndpointCommandOutput | DeleteDBClusterParameterGroupCommandOutput | DeleteDBClusterSnapshotCommandOutput | DeleteDBInstanceAutomatedBackupCommandOutput | DeleteDBInstanceCommandOutput | DeleteDBParameterGroupCommandOutput | DeleteDBProxyCommandOutput | DeleteDBProxyEndpointCommandOutput | DeleteDBSecurityGroupCommandOutput | DeleteDBSnapshotCommandOutput | DeleteDBSubnetGroupCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteGlobalClusterCommandOutput | DeleteIntegrationCommandOutput | DeleteOptionGroupCommandOutput | DeregisterDBProxyTargetsCommandOutput | DescribeAccountAttributesCommandOutput | DescribeBlueGreenDeploymentsCommandOutput | DescribeCertificatesCommandOutput | DescribeDBClusterAutomatedBackupsCommandOutput | DescribeDBClusterBacktracksCommandOutput | DescribeDBClusterEndpointsCommandOutput | DescribeDBClusterParameterGroupsCommandOutput | DescribeDBClusterParametersCommandOutput | DescribeDBClusterSnapshotAttributesCommandOutput | DescribeDBClusterSnapshotsCommandOutput | DescribeDBClustersCommandOutput | DescribeDBEngineVersionsCommandOutput | DescribeDBInstanceAutomatedBackupsCommandOutput | DescribeDBInstancesCommandOutput | DescribeDBLogFilesCommandOutput | DescribeDBParameterGroupsCommandOutput | DescribeDBParametersCommandOutput | DescribeDBProxiesCommandOutput | DescribeDBProxyEndpointsCommandOutput | DescribeDBProxyTargetGroupsCommandOutput | DescribeDBProxyTargetsCommandOutput | DescribeDBSecurityGroupsCommandOutput | DescribeDBSnapshotAttributesCommandOutput | DescribeDBSnapshotsCommandOutput | DescribeDBSubnetGroupsCommandOutput | DescribeEngineDefaultClusterParametersCommandOutput | DescribeEngineDefaultParametersCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeExportTasksCommandOutput | DescribeGlobalClustersCommandOutput | DescribeIntegrationsCommandOutput | DescribeOptionGroupOptionsCommandOutput | DescribeOptionGroupsCommandOutput | DescribeOrderableDBInstanceOptionsCommandOutput | DescribePendingMaintenanceActionsCommandOutput | DescribeReservedDBInstancesCommandOutput | DescribeReservedDBInstancesOfferingsCommandOutput | DescribeSourceRegionsCommandOutput | DescribeValidDBInstanceModificationsCommandOutput | DownloadDBLogFilePortionCommandOutput | FailoverDBClusterCommandOutput | FailoverGlobalClusterCommandOutput | ListTagsForResourceCommandOutput | ModifyActivityStreamCommandOutput | ModifyCertificatesCommandOutput | ModifyCurrentDBClusterCapacityCommandOutput | ModifyCustomDBEngineVersionCommandOutput | ModifyDBClusterCommandOutput | ModifyDBClusterEndpointCommandOutput | ModifyDBClusterParameterGroupCommandOutput | ModifyDBClusterSnapshotAttributeCommandOutput | ModifyDBInstanceCommandOutput | ModifyDBParameterGroupCommandOutput | ModifyDBProxyCommandOutput | ModifyDBProxyEndpointCommandOutput | ModifyDBProxyTargetGroupCommandOutput | ModifyDBSnapshotAttributeCommandOutput | ModifyDBSnapshotCommandOutput | ModifyDBSubnetGroupCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyGlobalClusterCommandOutput | ModifyOptionGroupCommandOutput | PromoteReadReplicaCommandOutput | PromoteReadReplicaDBClusterCommandOutput | PurchaseReservedDBInstancesOfferingCommandOutput | RebootDBClusterCommandOutput | RebootDBInstanceCommandOutput | RegisterDBProxyTargetsCommandOutput | RemoveFromGlobalClusterCommandOutput | RemoveRoleFromDBClusterCommandOutput | RemoveRoleFromDBInstanceCommandOutput | RemoveSourceIdentifierFromSubscriptionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetDBClusterParameterGroupCommandOutput | ResetDBParameterGroupCommandOutput | RestoreDBClusterFromS3CommandOutput | RestoreDBClusterFromSnapshotCommandOutput | RestoreDBClusterToPointInTimeCommandOutput | RestoreDBInstanceFromDBSnapshotCommandOutput | RestoreDBInstanceFromS3CommandOutput | RestoreDBInstanceToPointInTimeCommandOutput | RevokeDBSecurityGroupIngressCommandOutput | StartActivityStreamCommandOutput | StartDBClusterCommandOutput | StartDBInstanceAutomatedBackupsReplicationCommandOutput | StartDBInstanceCommandOutput | StartExportTaskCommandOutput | StopActivityStreamCommandOutput | StopDBClusterCommandOutput | StopDBInstanceAutomatedBackupsReplicationCommandOutput | StopDBInstanceCommandOutput | SwitchoverBlueGreenDeploymentCommandOutput | SwitchoverGlobalClusterCommandOutput | SwitchoverReadReplicaCommandOutput;
|
|
173
|
+
export type ServiceOutputTypes = AddRoleToDBClusterCommandOutput | AddRoleToDBInstanceCommandOutput | AddSourceIdentifierToSubscriptionCommandOutput | AddTagsToResourceCommandOutput | ApplyPendingMaintenanceActionCommandOutput | AuthorizeDBSecurityGroupIngressCommandOutput | BacktrackDBClusterCommandOutput | CancelExportTaskCommandOutput | CopyDBClusterParameterGroupCommandOutput | CopyDBClusterSnapshotCommandOutput | CopyDBParameterGroupCommandOutput | CopyDBSnapshotCommandOutput | CopyOptionGroupCommandOutput | CreateBlueGreenDeploymentCommandOutput | CreateCustomDBEngineVersionCommandOutput | CreateDBClusterCommandOutput | CreateDBClusterEndpointCommandOutput | CreateDBClusterParameterGroupCommandOutput | CreateDBClusterSnapshotCommandOutput | CreateDBInstanceCommandOutput | CreateDBInstanceReadReplicaCommandOutput | CreateDBParameterGroupCommandOutput | CreateDBProxyCommandOutput | CreateDBProxyEndpointCommandOutput | CreateDBSecurityGroupCommandOutput | CreateDBSnapshotCommandOutput | CreateDBSubnetGroupCommandOutput | CreateEventSubscriptionCommandOutput | CreateGlobalClusterCommandOutput | CreateIntegrationCommandOutput | CreateOptionGroupCommandOutput | CreateTenantDatabaseCommandOutput | DeleteBlueGreenDeploymentCommandOutput | DeleteCustomDBEngineVersionCommandOutput | DeleteDBClusterAutomatedBackupCommandOutput | DeleteDBClusterCommandOutput | DeleteDBClusterEndpointCommandOutput | DeleteDBClusterParameterGroupCommandOutput | DeleteDBClusterSnapshotCommandOutput | DeleteDBInstanceAutomatedBackupCommandOutput | DeleteDBInstanceCommandOutput | DeleteDBParameterGroupCommandOutput | DeleteDBProxyCommandOutput | DeleteDBProxyEndpointCommandOutput | DeleteDBSecurityGroupCommandOutput | DeleteDBSnapshotCommandOutput | DeleteDBSubnetGroupCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteGlobalClusterCommandOutput | DeleteIntegrationCommandOutput | DeleteOptionGroupCommandOutput | DeleteTenantDatabaseCommandOutput | DeregisterDBProxyTargetsCommandOutput | DescribeAccountAttributesCommandOutput | DescribeBlueGreenDeploymentsCommandOutput | DescribeCertificatesCommandOutput | DescribeDBClusterAutomatedBackupsCommandOutput | DescribeDBClusterBacktracksCommandOutput | DescribeDBClusterEndpointsCommandOutput | DescribeDBClusterParameterGroupsCommandOutput | DescribeDBClusterParametersCommandOutput | DescribeDBClusterSnapshotAttributesCommandOutput | DescribeDBClusterSnapshotsCommandOutput | DescribeDBClustersCommandOutput | DescribeDBEngineVersionsCommandOutput | DescribeDBInstanceAutomatedBackupsCommandOutput | DescribeDBInstancesCommandOutput | DescribeDBLogFilesCommandOutput | DescribeDBParameterGroupsCommandOutput | DescribeDBParametersCommandOutput | DescribeDBProxiesCommandOutput | DescribeDBProxyEndpointsCommandOutput | DescribeDBProxyTargetGroupsCommandOutput | DescribeDBProxyTargetsCommandOutput | DescribeDBSecurityGroupsCommandOutput | DescribeDBSnapshotAttributesCommandOutput | DescribeDBSnapshotTenantDatabasesCommandOutput | DescribeDBSnapshotsCommandOutput | DescribeDBSubnetGroupsCommandOutput | DescribeEngineDefaultClusterParametersCommandOutput | DescribeEngineDefaultParametersCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeExportTasksCommandOutput | DescribeGlobalClustersCommandOutput | DescribeIntegrationsCommandOutput | DescribeOptionGroupOptionsCommandOutput | DescribeOptionGroupsCommandOutput | DescribeOrderableDBInstanceOptionsCommandOutput | DescribePendingMaintenanceActionsCommandOutput | DescribeReservedDBInstancesCommandOutput | DescribeReservedDBInstancesOfferingsCommandOutput | DescribeSourceRegionsCommandOutput | DescribeTenantDatabasesCommandOutput | DescribeValidDBInstanceModificationsCommandOutput | DownloadDBLogFilePortionCommandOutput | FailoverDBClusterCommandOutput | FailoverGlobalClusterCommandOutput | ListTagsForResourceCommandOutput | ModifyActivityStreamCommandOutput | ModifyCertificatesCommandOutput | ModifyCurrentDBClusterCapacityCommandOutput | ModifyCustomDBEngineVersionCommandOutput | ModifyDBClusterCommandOutput | ModifyDBClusterEndpointCommandOutput | ModifyDBClusterParameterGroupCommandOutput | ModifyDBClusterSnapshotAttributeCommandOutput | ModifyDBInstanceCommandOutput | ModifyDBParameterGroupCommandOutput | ModifyDBProxyCommandOutput | ModifyDBProxyEndpointCommandOutput | ModifyDBProxyTargetGroupCommandOutput | ModifyDBSnapshotAttributeCommandOutput | ModifyDBSnapshotCommandOutput | ModifyDBSubnetGroupCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyGlobalClusterCommandOutput | ModifyOptionGroupCommandOutput | ModifyTenantDatabaseCommandOutput | PromoteReadReplicaCommandOutput | PromoteReadReplicaDBClusterCommandOutput | PurchaseReservedDBInstancesOfferingCommandOutput | RebootDBClusterCommandOutput | RebootDBInstanceCommandOutput | RegisterDBProxyTargetsCommandOutput | RemoveFromGlobalClusterCommandOutput | RemoveRoleFromDBClusterCommandOutput | RemoveRoleFromDBInstanceCommandOutput | RemoveSourceIdentifierFromSubscriptionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetDBClusterParameterGroupCommandOutput | ResetDBParameterGroupCommandOutput | RestoreDBClusterFromS3CommandOutput | RestoreDBClusterFromSnapshotCommandOutput | RestoreDBClusterToPointInTimeCommandOutput | RestoreDBInstanceFromDBSnapshotCommandOutput | RestoreDBInstanceFromS3CommandOutput | RestoreDBInstanceToPointInTimeCommandOutput | RevokeDBSecurityGroupIngressCommandOutput | StartActivityStreamCommandOutput | StartDBClusterCommandOutput | StartDBInstanceAutomatedBackupsReplicationCommandOutput | StartDBInstanceCommandOutput | StartExportTaskCommandOutput | StopActivityStreamCommandOutput | StopDBClusterCommandOutput | StopDBInstanceAutomatedBackupsReplicationCommandOutput | StopDBInstanceCommandOutput | SwitchoverBlueGreenDeploymentCommandOutput | SwitchoverGlobalClusterCommandOutput | SwitchoverReadReplicaCommandOutput;
|
|
169
174
|
/**
|
|
170
175
|
* @public
|
|
171
176
|
*/
|
|
@@ -75,9 +75,15 @@ export interface AddTagsToResourceCommandOutput extends __MetadataBearer {
|
|
|
75
75
|
* <p>
|
|
76
76
|
* <code>DBSnapshotIdentifier</code> doesn't refer to an existing DB snapshot.</p>
|
|
77
77
|
*
|
|
78
|
+
* @throws {@link DBSnapshotTenantDatabaseNotFoundFault} (client fault)
|
|
79
|
+
* <p>The specified snapshot tenant database wasn't found.</p>
|
|
80
|
+
*
|
|
78
81
|
* @throws {@link IntegrationNotFoundFault} (client fault)
|
|
79
82
|
* <p>The specified integration could not be found.</p>
|
|
80
83
|
*
|
|
84
|
+
* @throws {@link TenantDatabaseNotFoundFault} (client fault)
|
|
85
|
+
* <p>The specified tenant database wasn't found in the DB instance.</p>
|
|
86
|
+
*
|
|
81
87
|
* @throws {@link RDSServiceException}
|
|
82
88
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
83
89
|
*
|
|
@@ -101,6 +101,7 @@ export interface CopyDBSnapshotCommandOutput extends CopyDBSnapshotResult, __Met
|
|
|
101
101
|
* // StorageThroughput: Number("int"),
|
|
102
102
|
* // DBSystemId: "STRING_VALUE",
|
|
103
103
|
* // DedicatedLogVolume: true || false,
|
|
104
|
+
* // MultiTenant: true || false,
|
|
104
105
|
* // },
|
|
105
106
|
* // };
|
|
106
107
|
*
|
|
@@ -118,6 +118,7 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
|
|
|
118
118
|
* CACertificateIdentifier: "STRING_VALUE",
|
|
119
119
|
* DBSystemId: "STRING_VALUE",
|
|
120
120
|
* DedicatedLogVolume: true || false,
|
|
121
|
+
* MultiTenant: true || false,
|
|
121
122
|
* };
|
|
122
123
|
* const command = new CreateDBInstanceCommand(input);
|
|
123
124
|
* const response = await client.send(command);
|
|
@@ -215,6 +216,7 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
|
|
|
215
216
|
* // StorageThroughput: Number("int"),
|
|
216
217
|
* // Engine: "STRING_VALUE",
|
|
217
218
|
* // DedicatedLogVolume: true || false,
|
|
219
|
+
* // MultiTenant: true || false,
|
|
218
220
|
* // },
|
|
219
221
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
220
222
|
* // MultiAZ: true || false,
|
|
@@ -342,6 +344,7 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
|
|
|
342
344
|
* // PercentProgress: "STRING_VALUE",
|
|
343
345
|
* // DedicatedLogVolume: true || false,
|
|
344
346
|
* // IsStorageConfigUpgradeAvailable: true || false,
|
|
347
|
+
* // MultiTenant: true || false,
|
|
345
348
|
* // },
|
|
346
349
|
* // };
|
|
347
350
|
*
|
|
@@ -430,6 +433,10 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
|
|
|
430
433
|
* @throws {@link StorageTypeNotSupportedFault} (client fault)
|
|
431
434
|
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
|
|
432
435
|
*
|
|
436
|
+
* @throws {@link TenantDatabaseQuotaExceededFault} (client fault)
|
|
437
|
+
* <p>You attempted to create more tenant databases than are permitted in your Amazon Web Services
|
|
438
|
+
* account.</p>
|
|
439
|
+
*
|
|
433
440
|
* @throws {@link RDSServiceException}
|
|
434
441
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
435
442
|
*
|
|
@@ -200,6 +200,7 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan
|
|
|
200
200
|
* // StorageThroughput: Number("int"),
|
|
201
201
|
* // Engine: "STRING_VALUE",
|
|
202
202
|
* // DedicatedLogVolume: true || false,
|
|
203
|
+
* // MultiTenant: true || false,
|
|
203
204
|
* // },
|
|
204
205
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
205
206
|
* // MultiAZ: true || false,
|
|
@@ -327,6 +328,7 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan
|
|
|
327
328
|
* // PercentProgress: "STRING_VALUE",
|
|
328
329
|
* // DedicatedLogVolume: true || false,
|
|
329
330
|
* // IsStorageConfigUpgradeAvailable: true || false,
|
|
331
|
+
* // MultiTenant: true || false,
|
|
330
332
|
* // },
|
|
331
333
|
* // };
|
|
332
334
|
*
|
|
@@ -417,6 +419,10 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan
|
|
|
417
419
|
* @throws {@link StorageTypeNotSupportedFault} (client fault)
|
|
418
420
|
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
|
|
419
421
|
*
|
|
422
|
+
* @throws {@link TenantDatabaseQuotaExceededFault} (client fault)
|
|
423
|
+
* <p>You attempted to create more tenant databases than are permitted in your Amazon Web Services
|
|
424
|
+
* account.</p>
|
|
425
|
+
*
|
|
420
426
|
* @throws {@link RDSServiceException}
|
|
421
427
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
422
428
|
*
|
|
@@ -90,6 +90,7 @@ export interface CreateDBSnapshotCommandOutput extends CreateDBSnapshotResult, _
|
|
|
90
90
|
* // StorageThroughput: Number("int"),
|
|
91
91
|
* // DBSystemId: "STRING_VALUE",
|
|
92
92
|
* // DedicatedLogVolume: true || false,
|
|
93
|
+
* // MultiTenant: true || false,
|
|
93
94
|
* // },
|
|
94
95
|
* // };
|
|
95
96
|
*
|
|
@@ -0,0 +1,122 @@
|
|
|
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 { CreateTenantDatabaseMessage, CreateTenantDatabaseResult } 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 CreateTenantDatabaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateTenantDatabaseCommandInput extends CreateTenantDatabaseMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateTenantDatabaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTenantDatabaseCommandOutput extends CreateTenantDatabaseResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a tenant database in a DB instance that uses the multi-tenant configuration.
|
|
27
|
+
* Only RDS for Oracle container database (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, CreateTenantDatabaseCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
32
|
+
* // const { RDSClient, CreateTenantDatabaseCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
33
|
+
* const client = new RDSClient(config);
|
|
34
|
+
* const input = { // CreateTenantDatabaseMessage
|
|
35
|
+
* DBInstanceIdentifier: "STRING_VALUE", // required
|
|
36
|
+
* TenantDBName: "STRING_VALUE", // required
|
|
37
|
+
* MasterUsername: "STRING_VALUE", // required
|
|
38
|
+
* MasterUserPassword: "STRING_VALUE", // required
|
|
39
|
+
* CharacterSetName: "STRING_VALUE",
|
|
40
|
+
* NcharCharacterSetName: "STRING_VALUE",
|
|
41
|
+
* Tags: [ // TagList
|
|
42
|
+
* { // Tag
|
|
43
|
+
* Key: "STRING_VALUE",
|
|
44
|
+
* Value: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CreateTenantDatabaseCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateTenantDatabaseResult
|
|
51
|
+
* // TenantDatabase: { // TenantDatabase
|
|
52
|
+
* // TenantDatabaseCreateTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // DBInstanceIdentifier: "STRING_VALUE",
|
|
54
|
+
* // TenantDBName: "STRING_VALUE",
|
|
55
|
+
* // Status: "STRING_VALUE",
|
|
56
|
+
* // MasterUsername: "STRING_VALUE",
|
|
57
|
+
* // DbiResourceId: "STRING_VALUE",
|
|
58
|
+
* // TenantDatabaseResourceId: "STRING_VALUE",
|
|
59
|
+
* // TenantDatabaseARN: "STRING_VALUE",
|
|
60
|
+
* // CharacterSetName: "STRING_VALUE",
|
|
61
|
+
* // NcharCharacterSetName: "STRING_VALUE",
|
|
62
|
+
* // DeletionProtection: true || false,
|
|
63
|
+
* // PendingModifiedValues: { // TenantDatabasePendingModifiedValues
|
|
64
|
+
* // MasterUserPassword: "STRING_VALUE",
|
|
65
|
+
* // TenantDBName: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // TagList: [ // TagList
|
|
68
|
+
* // { // Tag
|
|
69
|
+
* // Key: "STRING_VALUE",
|
|
70
|
+
* // Value: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // },
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param CreateTenantDatabaseCommandInput - {@link CreateTenantDatabaseCommandInput}
|
|
79
|
+
* @returns {@link CreateTenantDatabaseCommandOutput}
|
|
80
|
+
* @see {@link CreateTenantDatabaseCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link CreateTenantDatabaseCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link DBInstanceNotFoundFault} (client fault)
|
|
85
|
+
* <p>
|
|
86
|
+
* <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InvalidDBInstanceStateFault} (client fault)
|
|
89
|
+
* <p>The DB instance isn't in a valid state.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link TenantDatabaseAlreadyExistsFault} (client fault)
|
|
92
|
+
* <p>You attempted to either create a tenant database that already exists or
|
|
93
|
+
* modify a tenant database to use the name of an existing tenant database.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link TenantDatabaseQuotaExceededFault} (client fault)
|
|
96
|
+
* <p>You attempted to create more tenant databases than are permitted in your Amazon Web Services
|
|
97
|
+
* account.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link RDSServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
export declare class CreateTenantDatabaseCommand extends $Command<CreateTenantDatabaseCommandInput, CreateTenantDatabaseCommandOutput, RDSClientResolvedConfig> {
|
|
104
|
+
readonly input: CreateTenantDatabaseCommandInput;
|
|
105
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
constructor(input: CreateTenantDatabaseCommandInput);
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTenantDatabaseCommandInput, CreateTenantDatabaseCommandOutput>;
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
private serialize;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
private deserialize;
|
|
122
|
+
}
|
|
@@ -75,6 +75,7 @@ export interface DeleteDBInstanceAutomatedBackupCommandOutput extends DeleteDBIn
|
|
|
75
75
|
* // StorageThroughput: Number("int"),
|
|
76
76
|
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
|
|
77
77
|
* // DedicatedLogVolume: true || false,
|
|
78
|
+
* // MultiTenant: true || false,
|
|
78
79
|
* // },
|
|
79
80
|
* // };
|
|
80
81
|
*
|
|
@@ -154,6 +154,7 @@ export interface DeleteDBInstanceCommandOutput extends DeleteDBInstanceResult, _
|
|
|
154
154
|
* // StorageThroughput: Number("int"),
|
|
155
155
|
* // Engine: "STRING_VALUE",
|
|
156
156
|
* // DedicatedLogVolume: true || false,
|
|
157
|
+
* // MultiTenant: true || false,
|
|
157
158
|
* // },
|
|
158
159
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
159
160
|
* // MultiAZ: true || false,
|
|
@@ -281,6 +282,7 @@ export interface DeleteDBInstanceCommandOutput extends DeleteDBInstanceResult, _
|
|
|
281
282
|
* // PercentProgress: "STRING_VALUE",
|
|
282
283
|
* // DedicatedLogVolume: true || false,
|
|
283
284
|
* // IsStorageConfigUpgradeAvailable: true || false,
|
|
285
|
+
* // MultiTenant: true || false,
|
|
284
286
|
* // },
|
|
285
287
|
* // };
|
|
286
288
|
*
|
|
@@ -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
|
*
|