Skip to content

Commit

Permalink
feat(client-rds): RDS - The release adds two new APIs: DescribeDBReco…
Browse files Browse the repository at this point in the history
…mmendations and ModifyDBRecommendation
  • Loading branch information
awstools committed Dec 19, 2023
1 parent a69d6cf commit ba936d1
Show file tree
Hide file tree
Showing 12 changed files with 2,868 additions and 5 deletions.
16 changes: 16 additions & 0 deletions clients/client-rds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,14 @@ DescribeDBProxyTargets

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/DescribeDBProxyTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeDBProxyTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeDBProxyTargetsCommandOutput/)

</details>
<details>
<summary>
DescribeDBRecommendations
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/DescribeDBRecommendationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeDBRecommendationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeDBRecommendationsCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1159,6 +1167,14 @@ ModifyDBProxyTargetGroup

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/ModifyDBProxyTargetGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/ModifyDBProxyTargetGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/ModifyDBProxyTargetGroupCommandOutput/)

</details>
<details>
<summary>
ModifyDBRecommendation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/ModifyDBRecommendationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/ModifyDBRecommendationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/ModifyDBRecommendationCommandOutput/)

</details>
<details>
<summary>
Expand Down
46 changes: 46 additions & 0 deletions clients/client-rds/src/RDS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@ import {
DescribeDBProxyTargetsCommandInput,
DescribeDBProxyTargetsCommandOutput,
} from "./commands/DescribeDBProxyTargetsCommand";
import {
DescribeDBRecommendationsCommand,
DescribeDBRecommendationsCommandInput,
DescribeDBRecommendationsCommandOutput,
} from "./commands/DescribeDBRecommendationsCommand";
import {
DescribeDBSecurityGroupsCommand,
DescribeDBSecurityGroupsCommandInput,
Expand Down Expand Up @@ -567,6 +572,11 @@ import {
ModifyDBProxyTargetGroupCommandInput,
ModifyDBProxyTargetGroupCommandOutput,
} from "./commands/ModifyDBProxyTargetGroupCommand";
import {
ModifyDBRecommendationCommand,
ModifyDBRecommendationCommandInput,
ModifyDBRecommendationCommandOutput,
} from "./commands/ModifyDBRecommendationCommand";
import {
ModifyDBSnapshotAttributeCommand,
ModifyDBSnapshotAttributeCommandInput,
Expand Down Expand Up @@ -839,6 +849,7 @@ const commands = {
DescribeDBProxyEndpointsCommand,
DescribeDBProxyTargetGroupsCommand,
DescribeDBProxyTargetsCommand,
DescribeDBRecommendationsCommand,
DescribeDBSecurityGroupsCommand,
DescribeDBSnapshotAttributesCommand,
DescribeDBSnapshotsCommand,
Expand Down Expand Up @@ -878,6 +889,7 @@ const commands = {
ModifyDBProxyCommand,
ModifyDBProxyEndpointCommand,
ModifyDBProxyTargetGroupCommand,
ModifyDBRecommendationCommand,
ModifyDBSnapshotCommand,
ModifyDBSnapshotAttributeCommand,
ModifyDBSubnetGroupCommand,
Expand Down Expand Up @@ -2154,6 +2166,23 @@ export interface RDS {
cb: (err: any, data?: DescribeDBProxyTargetsCommandOutput) => void
): void;

/**
* @see {@link DescribeDBRecommendationsCommand}
*/
describeDBRecommendations(
args: DescribeDBRecommendationsCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeDBRecommendationsCommandOutput>;
describeDBRecommendations(
args: DescribeDBRecommendationsCommandInput,
cb: (err: any, data?: DescribeDBRecommendationsCommandOutput) => void
): void;
describeDBRecommendations(
args: DescribeDBRecommendationsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeDBRecommendationsCommandOutput) => void
): void;

/**
* @see {@link DescribeDBSecurityGroupsCommand}
*/
Expand Down Expand Up @@ -2805,6 +2834,23 @@ export interface RDS {
cb: (err: any, data?: ModifyDBProxyTargetGroupCommandOutput) => void
): void;

/**
* @see {@link ModifyDBRecommendationCommand}
*/
modifyDBRecommendation(
args: ModifyDBRecommendationCommandInput,
options?: __HttpHandlerOptions
): Promise<ModifyDBRecommendationCommandOutput>;
modifyDBRecommendation(
args: ModifyDBRecommendationCommandInput,
cb: (err: any, data?: ModifyDBRecommendationCommandOutput) => void
): void;
modifyDBRecommendation(
args: ModifyDBRecommendationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ModifyDBRecommendationCommandOutput) => void
): void;

/**
* @see {@link ModifyDBSnapshotCommand}
*/
Expand Down
12 changes: 12 additions & 0 deletions clients/client-rds/src/RDSClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,10 @@ import {
DescribeDBProxyTargetsCommandInput,
DescribeDBProxyTargetsCommandOutput,
} from "./commands/DescribeDBProxyTargetsCommand";
import {
DescribeDBRecommendationsCommandInput,
DescribeDBRecommendationsCommandOutput,
} from "./commands/DescribeDBRecommendationsCommand";
import {
DescribeDBSecurityGroupsCommandInput,
DescribeDBSecurityGroupsCommandOutput,
Expand Down Expand Up @@ -419,6 +423,10 @@ import {
ModifyDBProxyTargetGroupCommandInput,
ModifyDBProxyTargetGroupCommandOutput,
} from "./commands/ModifyDBProxyTargetGroupCommand";
import {
ModifyDBRecommendationCommandInput,
ModifyDBRecommendationCommandOutput,
} from "./commands/ModifyDBRecommendationCommand";
import {
ModifyDBSnapshotAttributeCommandInput,
ModifyDBSnapshotAttributeCommandOutput,
Expand Down Expand Up @@ -631,6 +639,7 @@ export type ServiceInputTypes =
| DescribeDBProxyEndpointsCommandInput
| DescribeDBProxyTargetGroupsCommandInput
| DescribeDBProxyTargetsCommandInput
| DescribeDBRecommendationsCommandInput
| DescribeDBSecurityGroupsCommandInput
| DescribeDBSnapshotAttributesCommandInput
| DescribeDBSnapshotTenantDatabasesCommandInput
Expand Down Expand Up @@ -670,6 +679,7 @@ export type ServiceInputTypes =
| ModifyDBProxyCommandInput
| ModifyDBProxyEndpointCommandInput
| ModifyDBProxyTargetGroupCommandInput
| ModifyDBRecommendationCommandInput
| ModifyDBSnapshotAttributeCommandInput
| ModifyDBSnapshotCommandInput
| ModifyDBSubnetGroupCommandInput
Expand Down Expand Up @@ -788,6 +798,7 @@ export type ServiceOutputTypes =
| DescribeDBProxyEndpointsCommandOutput
| DescribeDBProxyTargetGroupsCommandOutput
| DescribeDBProxyTargetsCommandOutput
| DescribeDBRecommendationsCommandOutput
| DescribeDBSecurityGroupsCommandOutput
| DescribeDBSnapshotAttributesCommandOutput
| DescribeDBSnapshotTenantDatabasesCommandOutput
Expand Down Expand Up @@ -827,6 +838,7 @@ export type ServiceOutputTypes =
| ModifyDBProxyCommandOutput
| ModifyDBProxyEndpointCommandOutput
| ModifyDBProxyTargetGroupCommandOutput
| ModifyDBRecommendationCommandOutput
| ModifyDBSnapshotAttributeCommandOutput
| ModifyDBSnapshotCommandOutput
| ModifyDBSubnetGroupCommandOutput
Expand Down
Loading

0 comments on commit ba936d1

Please sign in to comment.