Skip to content

Commit

Permalink
feat(client-rds): This Amazon RDS release adds support for the multi-…
Browse files Browse the repository at this point in the history
…tenant configuration. In this configuration, an RDS DB instance can contain multiple tenant databases. In RDS for Oracle, a tenant database is a pluggable database (PDB).
  • Loading branch information
awstools committed Nov 7, 2023
1 parent aa2e38f commit c28ec75
Show file tree
Hide file tree
Showing 48 changed files with 5,022 additions and 879 deletions.
40 changes: 40 additions & 0 deletions clients/client-rds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,14 @@ CreateOptionGroup

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/createoptiongroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/createoptiongroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/createoptiongroupcommandoutput.html)

</details>
<details>
<summary>
CreateTenantDatabase
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/createtenantdatabasecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/createtenantdatabasecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/createtenantdatabasecommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -655,6 +663,14 @@ DeleteOptionGroup

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/deleteoptiongroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/deleteoptiongroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/deleteoptiongroupcommandoutput.html)

</details>
<details>
<summary>
DeleteTenantDatabase
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/deletetenantdatabasecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/deletetenantdatabasecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/deletetenantdatabasecommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -855,6 +871,14 @@ DescribeDBSnapshots

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/describedbsnapshotscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/describedbsnapshotscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/describedbsnapshotscommandoutput.html)

</details>
<details>
<summary>
DescribeDBSnapshotTenantDatabases
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/describedbsnapshottenantdatabasescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/describedbsnapshottenantdatabasescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/describedbsnapshottenantdatabasescommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -983,6 +1007,14 @@ DescribeSourceRegions

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/describesourceregionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/describesourceregionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/describesourceregionscommandoutput.html)

</details>
<details>
<summary>
DescribeTenantDatabases
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/describetenantdatabasescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/describetenantdatabasescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/describetenantdatabasescommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1175,6 +1207,14 @@ ModifyOptionGroup

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/modifyoptiongroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/modifyoptiongroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/modifyoptiongroupcommandoutput.html)

</details>
<details>
<summary>
ModifyTenantDatabase
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/classes/modifytenantdatabasecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/modifytenantdatabasecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rds/interfaces/modifytenantdatabasecommandoutput.html)

</details>
<details>
<summary>
Expand Down
115 changes: 115 additions & 0 deletions clients/client-rds/src/RDS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ import {
CreateOptionGroupCommandInput,
CreateOptionGroupCommandOutput,
} from "./commands/CreateOptionGroupCommand";
import {
CreateTenantDatabaseCommand,
CreateTenantDatabaseCommandInput,
CreateTenantDatabaseCommandOutput,
} from "./commands/CreateTenantDatabaseCommand";
import {
DeleteBlueGreenDeploymentCommand,
DeleteBlueGreenDeploymentCommandInput,
Expand Down Expand Up @@ -252,6 +257,11 @@ import {
DeleteOptionGroupCommandInput,
DeleteOptionGroupCommandOutput,
} from "./commands/DeleteOptionGroupCommand";
import {
DeleteTenantDatabaseCommand,
DeleteTenantDatabaseCommandInput,
DeleteTenantDatabaseCommandOutput,
} from "./commands/DeleteTenantDatabaseCommand";
import {
DeregisterDBProxyTargetsCommand,
DeregisterDBProxyTargetsCommandInput,
Expand Down Expand Up @@ -377,6 +387,11 @@ import {
DescribeDBSnapshotsCommandInput,
DescribeDBSnapshotsCommandOutput,
} from "./commands/DescribeDBSnapshotsCommand";
import {
DescribeDBSnapshotTenantDatabasesCommand,
DescribeDBSnapshotTenantDatabasesCommandInput,
DescribeDBSnapshotTenantDatabasesCommandOutput,
} from "./commands/DescribeDBSnapshotTenantDatabasesCommand";
import {
DescribeDBSubnetGroupsCommand,
DescribeDBSubnetGroupsCommandInput,
Expand Down Expand Up @@ -457,6 +472,11 @@ import {
DescribeSourceRegionsCommandInput,
DescribeSourceRegionsCommandOutput,
} from "./commands/DescribeSourceRegionsCommand";
import {
DescribeTenantDatabasesCommand,
DescribeTenantDatabasesCommandInput,
DescribeTenantDatabasesCommandOutput,
} from "./commands/DescribeTenantDatabasesCommand";
import {
DescribeValidDBInstanceModificationsCommand,
DescribeValidDBInstanceModificationsCommandInput,
Expand Down Expand Up @@ -577,6 +597,11 @@ import {
ModifyOptionGroupCommandInput,
ModifyOptionGroupCommandOutput,
} from "./commands/ModifyOptionGroupCommand";
import {
ModifyTenantDatabaseCommand,
ModifyTenantDatabaseCommandInput,
ModifyTenantDatabaseCommandOutput,
} from "./commands/ModifyTenantDatabaseCommand";
import {
PromoteReadReplicaCommand,
PromoteReadReplicaCommandInput,
Expand Down Expand Up @@ -771,6 +796,7 @@ const commands = {
CreateGlobalClusterCommand,
CreateIntegrationCommand,
CreateOptionGroupCommand,
CreateTenantDatabaseCommand,
DeleteBlueGreenDeploymentCommand,
DeleteCustomDBEngineVersionCommand,
DeleteDBClusterCommand,
Expand All @@ -790,6 +816,7 @@ const commands = {
DeleteGlobalClusterCommand,
DeleteIntegrationCommand,
DeleteOptionGroupCommand,
DeleteTenantDatabaseCommand,
DeregisterDBProxyTargetsCommand,
DescribeAccountAttributesCommand,
DescribeBlueGreenDeploymentsCommand,
Expand All @@ -815,6 +842,7 @@ const commands = {
DescribeDBSecurityGroupsCommand,
DescribeDBSnapshotAttributesCommand,
DescribeDBSnapshotsCommand,
DescribeDBSnapshotTenantDatabasesCommand,
DescribeDBSubnetGroupsCommand,
DescribeEngineDefaultClusterParametersCommand,
DescribeEngineDefaultParametersCommand,
Expand All @@ -831,6 +859,7 @@ const commands = {
DescribeReservedDBInstancesCommand,
DescribeReservedDBInstancesOfferingsCommand,
DescribeSourceRegionsCommand,
DescribeTenantDatabasesCommand,
DescribeValidDBInstanceModificationsCommand,
DownloadDBLogFilePortionCommand,
FailoverDBClusterCommand,
Expand All @@ -855,6 +884,7 @@ const commands = {
ModifyEventSubscriptionCommand,
ModifyGlobalClusterCommand,
ModifyOptionGroupCommand,
ModifyTenantDatabaseCommand,
PromoteReadReplicaCommand,
PromoteReadReplicaDBClusterCommand,
PurchaseReservedDBInstancesOfferingCommand,
Expand Down Expand Up @@ -1402,6 +1432,23 @@ export interface RDS {
cb: (err: any, data?: CreateOptionGroupCommandOutput) => void
): void;

/**
* @see {@link CreateTenantDatabaseCommand}
*/
createTenantDatabase(
args: CreateTenantDatabaseCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateTenantDatabaseCommandOutput>;
createTenantDatabase(
args: CreateTenantDatabaseCommandInput,
cb: (err: any, data?: CreateTenantDatabaseCommandOutput) => void
): void;
createTenantDatabase(
args: CreateTenantDatabaseCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateTenantDatabaseCommandOutput) => void
): void;

/**
* @see {@link DeleteBlueGreenDeploymentCommand}
*/
Expand Down Expand Up @@ -1716,6 +1763,23 @@ export interface RDS {
cb: (err: any, data?: DeleteOptionGroupCommandOutput) => void
): void;

/**
* @see {@link DeleteTenantDatabaseCommand}
*/
deleteTenantDatabase(
args: DeleteTenantDatabaseCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteTenantDatabaseCommandOutput>;
deleteTenantDatabase(
args: DeleteTenantDatabaseCommandInput,
cb: (err: any, data?: DeleteTenantDatabaseCommandOutput) => void
): void;
deleteTenantDatabase(
args: DeleteTenantDatabaseCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteTenantDatabaseCommandOutput) => void
): void;

/**
* @see {@link DeregisterDBProxyTargetsCommand}
*/
Expand Down Expand Up @@ -2141,6 +2205,23 @@ export interface RDS {
cb: (err: any, data?: DescribeDBSnapshotsCommandOutput) => void
): void;

/**
* @see {@link DescribeDBSnapshotTenantDatabasesCommand}
*/
describeDBSnapshotTenantDatabases(
args: DescribeDBSnapshotTenantDatabasesCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeDBSnapshotTenantDatabasesCommandOutput>;
describeDBSnapshotTenantDatabases(
args: DescribeDBSnapshotTenantDatabasesCommandInput,
cb: (err: any, data?: DescribeDBSnapshotTenantDatabasesCommandOutput) => void
): void;
describeDBSnapshotTenantDatabases(
args: DescribeDBSnapshotTenantDatabasesCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeDBSnapshotTenantDatabasesCommandOutput) => void
): void;

/**
* @see {@link DescribeDBSubnetGroupsCommand}
*/
Expand Down Expand Up @@ -2410,6 +2491,23 @@ export interface RDS {
cb: (err: any, data?: DescribeSourceRegionsCommandOutput) => void
): void;

/**
* @see {@link DescribeTenantDatabasesCommand}
*/
describeTenantDatabases(
args: DescribeTenantDatabasesCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeTenantDatabasesCommandOutput>;
describeTenantDatabases(
args: DescribeTenantDatabasesCommandInput,
cb: (err: any, data?: DescribeTenantDatabasesCommandOutput) => void
): void;
describeTenantDatabases(
args: DescribeTenantDatabasesCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeTenantDatabasesCommandOutput) => void
): void;

/**
* @see {@link DescribeValidDBInstanceModificationsCommand}
*/
Expand Down Expand Up @@ -2809,6 +2907,23 @@ export interface RDS {
cb: (err: any, data?: ModifyOptionGroupCommandOutput) => void
): void;

/**
* @see {@link ModifyTenantDatabaseCommand}
*/
modifyTenantDatabase(
args: ModifyTenantDatabaseCommandInput,
options?: __HttpHandlerOptions
): Promise<ModifyTenantDatabaseCommandOutput>;
modifyTenantDatabase(
args: ModifyTenantDatabaseCommandInput,
cb: (err: any, data?: ModifyTenantDatabaseCommandOutput) => void
): void;
modifyTenantDatabase(
args: ModifyTenantDatabaseCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ModifyTenantDatabaseCommandOutput) => void
): void;

/**
* @see {@link PromoteReadReplicaCommand}
*/
Expand Down
Loading

0 comments on commit c28ec75

Please sign in to comment.