@aws-sdk/client-rds 3.476.0 → 3.477.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 +16 -0
- package/dist-cjs/RDS.js +4 -0
- package/dist-cjs/commands/DescribeDBRecommendationsCommand.js +51 -0
- package/dist-cjs/commands/ModifyDBRecommendationCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/pagination/DescribeDBRecommendationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +6427 -5124
- package/dist-es/RDS.js +4 -0
- package/dist-es/commands/DescribeDBRecommendationsCommand.js +47 -0
- package/dist-es/commands/ModifyDBRecommendationCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/pagination/DescribeDBRecommendationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +6417 -5118
- package/dist-types/RDS.d.ts +14 -0
- package/dist-types/RDSClient.d.ts +4 -2
- package/dist-types/commands/DescribeDBRecommendationsCommand.d.ts +204 -0
- package/dist-types/commands/ModifyDBRecommendationCommand.d.ts +197 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +798 -0
- package/dist-types/pagination/DescribeDBRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_query.d.ts +18 -0
- package/dist-types/ts3.4/RDS.d.ts +34 -0
- package/dist-types/ts3.4/RDSClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeDBRecommendationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyDBRecommendationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +107 -0
- package/dist-types/ts3.4/pagination/DescribeDBRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
- package/package.json +4 -4
package/dist-types/RDS.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ import { DescribeDBProxiesCommandInput, DescribeDBProxiesCommandOutput } from ".
|
|
|
73
73
|
import { DescribeDBProxyEndpointsCommandInput, DescribeDBProxyEndpointsCommandOutput } from "./commands/DescribeDBProxyEndpointsCommand";
|
|
74
74
|
import { DescribeDBProxyTargetGroupsCommandInput, DescribeDBProxyTargetGroupsCommandOutput } from "./commands/DescribeDBProxyTargetGroupsCommand";
|
|
75
75
|
import { DescribeDBProxyTargetsCommandInput, DescribeDBProxyTargetsCommandOutput } from "./commands/DescribeDBProxyTargetsCommand";
|
|
76
|
+
import { DescribeDBRecommendationsCommandInput, DescribeDBRecommendationsCommandOutput } from "./commands/DescribeDBRecommendationsCommand";
|
|
76
77
|
import { DescribeDBSecurityGroupsCommandInput, DescribeDBSecurityGroupsCommandOutput } from "./commands/DescribeDBSecurityGroupsCommand";
|
|
77
78
|
import { DescribeDBSnapshotAttributesCommandInput, DescribeDBSnapshotAttributesCommandOutput } from "./commands/DescribeDBSnapshotAttributesCommand";
|
|
78
79
|
import { DescribeDBSnapshotsCommandInput, DescribeDBSnapshotsCommandOutput } from "./commands/DescribeDBSnapshotsCommand";
|
|
@@ -112,6 +113,7 @@ import { ModifyDBParameterGroupCommandInput, ModifyDBParameterGroupCommandOutput
|
|
|
112
113
|
import { ModifyDBProxyCommandInput, ModifyDBProxyCommandOutput } from "./commands/ModifyDBProxyCommand";
|
|
113
114
|
import { ModifyDBProxyEndpointCommandInput, ModifyDBProxyEndpointCommandOutput } from "./commands/ModifyDBProxyEndpointCommand";
|
|
114
115
|
import { ModifyDBProxyTargetGroupCommandInput, ModifyDBProxyTargetGroupCommandOutput } from "./commands/ModifyDBProxyTargetGroupCommand";
|
|
116
|
+
import { ModifyDBRecommendationCommandInput, ModifyDBRecommendationCommandOutput } from "./commands/ModifyDBRecommendationCommand";
|
|
115
117
|
import { ModifyDBSnapshotAttributeCommandInput, ModifyDBSnapshotAttributeCommandOutput } from "./commands/ModifyDBSnapshotAttributeCommand";
|
|
116
118
|
import { ModifyDBSnapshotCommandInput, ModifyDBSnapshotCommandOutput } from "./commands/ModifyDBSnapshotCommand";
|
|
117
119
|
import { ModifyDBSubnetGroupCommandInput, ModifyDBSubnetGroupCommandOutput } from "./commands/ModifyDBSubnetGroupCommand";
|
|
@@ -597,6 +599,12 @@ export interface RDS {
|
|
|
597
599
|
describeDBProxyTargets(args: DescribeDBProxyTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDBProxyTargetsCommandOutput>;
|
|
598
600
|
describeDBProxyTargets(args: DescribeDBProxyTargetsCommandInput, cb: (err: any, data?: DescribeDBProxyTargetsCommandOutput) => void): void;
|
|
599
601
|
describeDBProxyTargets(args: DescribeDBProxyTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDBProxyTargetsCommandOutput) => void): void;
|
|
602
|
+
/**
|
|
603
|
+
* @see {@link DescribeDBRecommendationsCommand}
|
|
604
|
+
*/
|
|
605
|
+
describeDBRecommendations(args: DescribeDBRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDBRecommendationsCommandOutput>;
|
|
606
|
+
describeDBRecommendations(args: DescribeDBRecommendationsCommandInput, cb: (err: any, data?: DescribeDBRecommendationsCommandOutput) => void): void;
|
|
607
|
+
describeDBRecommendations(args: DescribeDBRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDBRecommendationsCommandOutput) => void): void;
|
|
600
608
|
/**
|
|
601
609
|
* @see {@link DescribeDBSecurityGroupsCommand}
|
|
602
610
|
*/
|
|
@@ -831,6 +839,12 @@ export interface RDS {
|
|
|
831
839
|
modifyDBProxyTargetGroup(args: ModifyDBProxyTargetGroupCommandInput, options?: __HttpHandlerOptions): Promise<ModifyDBProxyTargetGroupCommandOutput>;
|
|
832
840
|
modifyDBProxyTargetGroup(args: ModifyDBProxyTargetGroupCommandInput, cb: (err: any, data?: ModifyDBProxyTargetGroupCommandOutput) => void): void;
|
|
833
841
|
modifyDBProxyTargetGroup(args: ModifyDBProxyTargetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyDBProxyTargetGroupCommandOutput) => void): void;
|
|
842
|
+
/**
|
|
843
|
+
* @see {@link ModifyDBRecommendationCommand}
|
|
844
|
+
*/
|
|
845
|
+
modifyDBRecommendation(args: ModifyDBRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<ModifyDBRecommendationCommandOutput>;
|
|
846
|
+
modifyDBRecommendation(args: ModifyDBRecommendationCommandInput, cb: (err: any, data?: ModifyDBRecommendationCommandOutput) => void): void;
|
|
847
|
+
modifyDBRecommendation(args: ModifyDBRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyDBRecommendationCommandOutput) => void): void;
|
|
834
848
|
/**
|
|
835
849
|
* @see {@link ModifyDBSnapshotCommand}
|
|
836
850
|
*/
|
|
@@ -82,6 +82,7 @@ import { DescribeDBProxiesCommandInput, DescribeDBProxiesCommandOutput } from ".
|
|
|
82
82
|
import { DescribeDBProxyEndpointsCommandInput, DescribeDBProxyEndpointsCommandOutput } from "./commands/DescribeDBProxyEndpointsCommand";
|
|
83
83
|
import { DescribeDBProxyTargetGroupsCommandInput, DescribeDBProxyTargetGroupsCommandOutput } from "./commands/DescribeDBProxyTargetGroupsCommand";
|
|
84
84
|
import { DescribeDBProxyTargetsCommandInput, DescribeDBProxyTargetsCommandOutput } from "./commands/DescribeDBProxyTargetsCommand";
|
|
85
|
+
import { DescribeDBRecommendationsCommandInput, DescribeDBRecommendationsCommandOutput } from "./commands/DescribeDBRecommendationsCommand";
|
|
85
86
|
import { DescribeDBSecurityGroupsCommandInput, DescribeDBSecurityGroupsCommandOutput } from "./commands/DescribeDBSecurityGroupsCommand";
|
|
86
87
|
import { DescribeDBSnapshotAttributesCommandInput, DescribeDBSnapshotAttributesCommandOutput } from "./commands/DescribeDBSnapshotAttributesCommand";
|
|
87
88
|
import { DescribeDBSnapshotsCommandInput, DescribeDBSnapshotsCommandOutput } from "./commands/DescribeDBSnapshotsCommand";
|
|
@@ -121,6 +122,7 @@ import { ModifyDBParameterGroupCommandInput, ModifyDBParameterGroupCommandOutput
|
|
|
121
122
|
import { ModifyDBProxyCommandInput, ModifyDBProxyCommandOutput } from "./commands/ModifyDBProxyCommand";
|
|
122
123
|
import { ModifyDBProxyEndpointCommandInput, ModifyDBProxyEndpointCommandOutput } from "./commands/ModifyDBProxyEndpointCommand";
|
|
123
124
|
import { ModifyDBProxyTargetGroupCommandInput, ModifyDBProxyTargetGroupCommandOutput } from "./commands/ModifyDBProxyTargetGroupCommand";
|
|
125
|
+
import { ModifyDBRecommendationCommandInput, ModifyDBRecommendationCommandOutput } from "./commands/ModifyDBRecommendationCommand";
|
|
124
126
|
import { ModifyDBSnapshotAttributeCommandInput, ModifyDBSnapshotAttributeCommandOutput } from "./commands/ModifyDBSnapshotAttributeCommand";
|
|
125
127
|
import { ModifyDBSnapshotCommandInput, ModifyDBSnapshotCommandOutput } from "./commands/ModifyDBSnapshotCommand";
|
|
126
128
|
import { ModifyDBSubnetGroupCommandInput, ModifyDBSubnetGroupCommandOutput } from "./commands/ModifyDBSubnetGroupCommand";
|
|
@@ -166,11 +168,11 @@ export { __Client };
|
|
|
166
168
|
/**
|
|
167
169
|
* @public
|
|
168
170
|
*/
|
|
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;
|
|
171
|
+
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 | DescribeDBRecommendationsCommandInput | 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 | ModifyDBRecommendationCommandInput | 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;
|
|
170
172
|
/**
|
|
171
173
|
* @public
|
|
172
174
|
*/
|
|
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;
|
|
175
|
+
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 | DescribeDBRecommendationsCommandOutput | 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 | ModifyDBRecommendationCommandOutput | 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;
|
|
174
176
|
/**
|
|
175
177
|
* @public
|
|
176
178
|
*/
|
|
@@ -0,0 +1,204 @@
|
|
|
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 { DBRecommendationsMessage, DescribeDBRecommendationsMessage } 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 DescribeDBRecommendationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeDBRecommendationsCommandInput extends DescribeDBRecommendationsMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeDBRecommendationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeDBRecommendationsCommandOutput extends DBRecommendationsMessage, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Describes the recommendations to resolve the issues for your DB instances, DB clusters, and DB parameter groups.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { RDSClient, DescribeDBRecommendationsCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
31
|
+
* // const { RDSClient, DescribeDBRecommendationsCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
32
|
+
* const client = new RDSClient(config);
|
|
33
|
+
* const input = { // DescribeDBRecommendationsMessage
|
|
34
|
+
* LastUpdatedAfter: new Date("TIMESTAMP"),
|
|
35
|
+
* LastUpdatedBefore: new Date("TIMESTAMP"),
|
|
36
|
+
* Locale: "STRING_VALUE",
|
|
37
|
+
* Filters: [ // FilterList
|
|
38
|
+
* { // Filter
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* Values: [ // FilterValueList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* MaxRecords: Number("int"),
|
|
46
|
+
* Marker: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new DescribeDBRecommendationsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // DBRecommendationsMessage
|
|
51
|
+
* // DBRecommendations: [ // DBRecommendationList
|
|
52
|
+
* // { // DBRecommendation
|
|
53
|
+
* // RecommendationId: "STRING_VALUE",
|
|
54
|
+
* // TypeId: "STRING_VALUE",
|
|
55
|
+
* // Severity: "STRING_VALUE",
|
|
56
|
+
* // ResourceArn: "STRING_VALUE",
|
|
57
|
+
* // Status: "STRING_VALUE",
|
|
58
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
59
|
+
* // UpdatedTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // Detection: "STRING_VALUE",
|
|
61
|
+
* // Recommendation: "STRING_VALUE",
|
|
62
|
+
* // Description: "STRING_VALUE",
|
|
63
|
+
* // Reason: "STRING_VALUE",
|
|
64
|
+
* // RecommendedActions: [ // RecommendedActionList
|
|
65
|
+
* // { // RecommendedAction
|
|
66
|
+
* // ActionId: "STRING_VALUE",
|
|
67
|
+
* // Title: "STRING_VALUE",
|
|
68
|
+
* // Description: "STRING_VALUE",
|
|
69
|
+
* // Operation: "STRING_VALUE",
|
|
70
|
+
* // Parameters: [ // RecommendedActionParameterList
|
|
71
|
+
* // { // RecommendedActionParameter
|
|
72
|
+
* // Key: "STRING_VALUE",
|
|
73
|
+
* // Value: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // ApplyModes: [ // StringList
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // Status: "STRING_VALUE",
|
|
80
|
+
* // IssueDetails: { // IssueDetails
|
|
81
|
+
* // PerformanceIssueDetails: { // PerformanceIssueDetails
|
|
82
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
83
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
84
|
+
* // Metrics: [ // MetricList
|
|
85
|
+
* // { // Metric
|
|
86
|
+
* // Name: "STRING_VALUE",
|
|
87
|
+
* // References: [ // MetricReferenceList
|
|
88
|
+
* // { // MetricReference
|
|
89
|
+
* // Name: "STRING_VALUE",
|
|
90
|
+
* // ReferenceDetails: { // ReferenceDetails
|
|
91
|
+
* // ScalarReferenceDetails: { // ScalarReferenceDetails
|
|
92
|
+
* // Value: Number("double"),
|
|
93
|
+
* // },
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // StatisticsDetails: "STRING_VALUE",
|
|
98
|
+
* // MetricQuery: { // MetricQuery
|
|
99
|
+
* // PerformanceInsightsMetricQuery: { // PerformanceInsightsMetricQuery
|
|
100
|
+
* // GroupBy: { // PerformanceInsightsMetricDimensionGroup
|
|
101
|
+
* // Dimensions: [
|
|
102
|
+
* // "STRING_VALUE",
|
|
103
|
+
* // ],
|
|
104
|
+
* // Group: "STRING_VALUE",
|
|
105
|
+
* // Limit: Number("int"),
|
|
106
|
+
* // },
|
|
107
|
+
* // Metric: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // Analysis: "STRING_VALUE",
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // ContextAttributes: [ // ContextAttributeList
|
|
116
|
+
* // { // ContextAttribute
|
|
117
|
+
* // Key: "STRING_VALUE",
|
|
118
|
+
* // Value: "STRING_VALUE",
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // Category: "STRING_VALUE",
|
|
124
|
+
* // Source: "STRING_VALUE",
|
|
125
|
+
* // TypeDetection: "STRING_VALUE",
|
|
126
|
+
* // TypeRecommendation: "STRING_VALUE",
|
|
127
|
+
* // Impact: "STRING_VALUE",
|
|
128
|
+
* // AdditionalInfo: "STRING_VALUE",
|
|
129
|
+
* // Links: [ // DocLinkList
|
|
130
|
+
* // { // DocLink
|
|
131
|
+
* // Text: "STRING_VALUE",
|
|
132
|
+
* // Url: "STRING_VALUE",
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // IssueDetails: {
|
|
136
|
+
* // PerformanceIssueDetails: {
|
|
137
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
138
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
139
|
+
* // Metrics: [
|
|
140
|
+
* // {
|
|
141
|
+
* // Name: "STRING_VALUE",
|
|
142
|
+
* // References: [
|
|
143
|
+
* // {
|
|
144
|
+
* // Name: "STRING_VALUE",
|
|
145
|
+
* // ReferenceDetails: {
|
|
146
|
+
* // ScalarReferenceDetails: {
|
|
147
|
+
* // Value: Number("double"),
|
|
148
|
+
* // },
|
|
149
|
+
* // },
|
|
150
|
+
* // },
|
|
151
|
+
* // ],
|
|
152
|
+
* // StatisticsDetails: "STRING_VALUE",
|
|
153
|
+
* // MetricQuery: {
|
|
154
|
+
* // PerformanceInsightsMetricQuery: {
|
|
155
|
+
* // GroupBy: {
|
|
156
|
+
* // Dimensions: "<StringList>",
|
|
157
|
+
* // Group: "STRING_VALUE",
|
|
158
|
+
* // Limit: Number("int"),
|
|
159
|
+
* // },
|
|
160
|
+
* // Metric: "STRING_VALUE",
|
|
161
|
+
* // },
|
|
162
|
+
* // },
|
|
163
|
+
* // },
|
|
164
|
+
* // ],
|
|
165
|
+
* // Analysis: "STRING_VALUE",
|
|
166
|
+
* // },
|
|
167
|
+
* // },
|
|
168
|
+
* // },
|
|
169
|
+
* // ],
|
|
170
|
+
* // Marker: "STRING_VALUE",
|
|
171
|
+
* // };
|
|
172
|
+
*
|
|
173
|
+
* ```
|
|
174
|
+
*
|
|
175
|
+
* @param DescribeDBRecommendationsCommandInput - {@link DescribeDBRecommendationsCommandInput}
|
|
176
|
+
* @returns {@link DescribeDBRecommendationsCommandOutput}
|
|
177
|
+
* @see {@link DescribeDBRecommendationsCommandInput} for command's `input` shape.
|
|
178
|
+
* @see {@link DescribeDBRecommendationsCommandOutput} for command's `response` shape.
|
|
179
|
+
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link RDSServiceException}
|
|
182
|
+
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
183
|
+
*
|
|
184
|
+
*/
|
|
185
|
+
export declare class DescribeDBRecommendationsCommand extends $Command<DescribeDBRecommendationsCommandInput, DescribeDBRecommendationsCommandOutput, RDSClientResolvedConfig> {
|
|
186
|
+
readonly input: DescribeDBRecommendationsCommandInput;
|
|
187
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
constructor(input: DescribeDBRecommendationsCommandInput);
|
|
192
|
+
/**
|
|
193
|
+
* @internal
|
|
194
|
+
*/
|
|
195
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDBRecommendationsCommandInput, DescribeDBRecommendationsCommandOutput>;
|
|
196
|
+
/**
|
|
197
|
+
* @internal
|
|
198
|
+
*/
|
|
199
|
+
private serialize;
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
private deserialize;
|
|
204
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
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 { DBRecommendationMessage, ModifyDBRecommendationMessage } 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 ModifyDBRecommendationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ModifyDBRecommendationCommandInput extends ModifyDBRecommendationMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ModifyDBRecommendationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ModifyDBRecommendationCommandOutput extends DBRecommendationMessage, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates the recommendation status and recommended action status for the specified recommendation.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { RDSClient, ModifyDBRecommendationCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
31
|
+
* // const { RDSClient, ModifyDBRecommendationCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
32
|
+
* const client = new RDSClient(config);
|
|
33
|
+
* const input = { // ModifyDBRecommendationMessage
|
|
34
|
+
* RecommendationId: "STRING_VALUE", // required
|
|
35
|
+
* Locale: "STRING_VALUE",
|
|
36
|
+
* Status: "STRING_VALUE",
|
|
37
|
+
* RecommendedActionUpdates: [ // RecommendedActionUpdateList
|
|
38
|
+
* { // RecommendedActionUpdate
|
|
39
|
+
* ActionId: "STRING_VALUE", // required
|
|
40
|
+
* Status: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ModifyDBRecommendationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DBRecommendationMessage
|
|
47
|
+
* // DBRecommendation: { // DBRecommendation
|
|
48
|
+
* // RecommendationId: "STRING_VALUE",
|
|
49
|
+
* // TypeId: "STRING_VALUE",
|
|
50
|
+
* // Severity: "STRING_VALUE",
|
|
51
|
+
* // ResourceArn: "STRING_VALUE",
|
|
52
|
+
* // Status: "STRING_VALUE",
|
|
53
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // UpdatedTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // Detection: "STRING_VALUE",
|
|
56
|
+
* // Recommendation: "STRING_VALUE",
|
|
57
|
+
* // Description: "STRING_VALUE",
|
|
58
|
+
* // Reason: "STRING_VALUE",
|
|
59
|
+
* // RecommendedActions: [ // RecommendedActionList
|
|
60
|
+
* // { // RecommendedAction
|
|
61
|
+
* // ActionId: "STRING_VALUE",
|
|
62
|
+
* // Title: "STRING_VALUE",
|
|
63
|
+
* // Description: "STRING_VALUE",
|
|
64
|
+
* // Operation: "STRING_VALUE",
|
|
65
|
+
* // Parameters: [ // RecommendedActionParameterList
|
|
66
|
+
* // { // RecommendedActionParameter
|
|
67
|
+
* // Key: "STRING_VALUE",
|
|
68
|
+
* // Value: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // ApplyModes: [ // StringList
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // Status: "STRING_VALUE",
|
|
75
|
+
* // IssueDetails: { // IssueDetails
|
|
76
|
+
* // PerformanceIssueDetails: { // PerformanceIssueDetails
|
|
77
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
78
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
79
|
+
* // Metrics: [ // MetricList
|
|
80
|
+
* // { // Metric
|
|
81
|
+
* // Name: "STRING_VALUE",
|
|
82
|
+
* // References: [ // MetricReferenceList
|
|
83
|
+
* // { // MetricReference
|
|
84
|
+
* // Name: "STRING_VALUE",
|
|
85
|
+
* // ReferenceDetails: { // ReferenceDetails
|
|
86
|
+
* // ScalarReferenceDetails: { // ScalarReferenceDetails
|
|
87
|
+
* // Value: Number("double"),
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // StatisticsDetails: "STRING_VALUE",
|
|
93
|
+
* // MetricQuery: { // MetricQuery
|
|
94
|
+
* // PerformanceInsightsMetricQuery: { // PerformanceInsightsMetricQuery
|
|
95
|
+
* // GroupBy: { // PerformanceInsightsMetricDimensionGroup
|
|
96
|
+
* // Dimensions: [
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // Group: "STRING_VALUE",
|
|
100
|
+
* // Limit: Number("int"),
|
|
101
|
+
* // },
|
|
102
|
+
* // Metric: "STRING_VALUE",
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // Analysis: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // ContextAttributes: [ // ContextAttributeList
|
|
111
|
+
* // { // ContextAttribute
|
|
112
|
+
* // Key: "STRING_VALUE",
|
|
113
|
+
* // Value: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // },
|
|
117
|
+
* // ],
|
|
118
|
+
* // Category: "STRING_VALUE",
|
|
119
|
+
* // Source: "STRING_VALUE",
|
|
120
|
+
* // TypeDetection: "STRING_VALUE",
|
|
121
|
+
* // TypeRecommendation: "STRING_VALUE",
|
|
122
|
+
* // Impact: "STRING_VALUE",
|
|
123
|
+
* // AdditionalInfo: "STRING_VALUE",
|
|
124
|
+
* // Links: [ // DocLinkList
|
|
125
|
+
* // { // DocLink
|
|
126
|
+
* // Text: "STRING_VALUE",
|
|
127
|
+
* // Url: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // IssueDetails: {
|
|
131
|
+
* // PerformanceIssueDetails: {
|
|
132
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
133
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
134
|
+
* // Metrics: [
|
|
135
|
+
* // {
|
|
136
|
+
* // Name: "STRING_VALUE",
|
|
137
|
+
* // References: [
|
|
138
|
+
* // {
|
|
139
|
+
* // Name: "STRING_VALUE",
|
|
140
|
+
* // ReferenceDetails: {
|
|
141
|
+
* // ScalarReferenceDetails: {
|
|
142
|
+
* // Value: Number("double"),
|
|
143
|
+
* // },
|
|
144
|
+
* // },
|
|
145
|
+
* // },
|
|
146
|
+
* // ],
|
|
147
|
+
* // StatisticsDetails: "STRING_VALUE",
|
|
148
|
+
* // MetricQuery: {
|
|
149
|
+
* // PerformanceInsightsMetricQuery: {
|
|
150
|
+
* // GroupBy: {
|
|
151
|
+
* // Dimensions: "<StringList>",
|
|
152
|
+
* // Group: "STRING_VALUE",
|
|
153
|
+
* // Limit: Number("int"),
|
|
154
|
+
* // },
|
|
155
|
+
* // Metric: "STRING_VALUE",
|
|
156
|
+
* // },
|
|
157
|
+
* // },
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // Analysis: "STRING_VALUE",
|
|
161
|
+
* // },
|
|
162
|
+
* // },
|
|
163
|
+
* // },
|
|
164
|
+
* // };
|
|
165
|
+
*
|
|
166
|
+
* ```
|
|
167
|
+
*
|
|
168
|
+
* @param ModifyDBRecommendationCommandInput - {@link ModifyDBRecommendationCommandInput}
|
|
169
|
+
* @returns {@link ModifyDBRecommendationCommandOutput}
|
|
170
|
+
* @see {@link ModifyDBRecommendationCommandInput} for command's `input` shape.
|
|
171
|
+
* @see {@link ModifyDBRecommendationCommandOutput} for command's `response` shape.
|
|
172
|
+
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link RDSServiceException}
|
|
175
|
+
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
176
|
+
*
|
|
177
|
+
*/
|
|
178
|
+
export declare class ModifyDBRecommendationCommand extends $Command<ModifyDBRecommendationCommandInput, ModifyDBRecommendationCommandOutput, RDSClientResolvedConfig> {
|
|
179
|
+
readonly input: ModifyDBRecommendationCommandInput;
|
|
180
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
constructor(input: ModifyDBRecommendationCommandInput);
|
|
185
|
+
/**
|
|
186
|
+
* @internal
|
|
187
|
+
*/
|
|
188
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifyDBRecommendationCommandInput, ModifyDBRecommendationCommandOutput>;
|
|
189
|
+
/**
|
|
190
|
+
* @internal
|
|
191
|
+
*/
|
|
192
|
+
private serialize;
|
|
193
|
+
/**
|
|
194
|
+
* @internal
|
|
195
|
+
*/
|
|
196
|
+
private deserialize;
|
|
197
|
+
}
|
|
@@ -72,6 +72,7 @@ export * from "./DescribeDBProxiesCommand";
|
|
|
72
72
|
export * from "./DescribeDBProxyEndpointsCommand";
|
|
73
73
|
export * from "./DescribeDBProxyTargetGroupsCommand";
|
|
74
74
|
export * from "./DescribeDBProxyTargetsCommand";
|
|
75
|
+
export * from "./DescribeDBRecommendationsCommand";
|
|
75
76
|
export * from "./DescribeDBSecurityGroupsCommand";
|
|
76
77
|
export * from "./DescribeDBSnapshotAttributesCommand";
|
|
77
78
|
export * from "./DescribeDBSnapshotTenantDatabasesCommand";
|
|
@@ -111,6 +112,7 @@ export * from "./ModifyDBParameterGroupCommand";
|
|
|
111
112
|
export * from "./ModifyDBProxyCommand";
|
|
112
113
|
export * from "./ModifyDBProxyEndpointCommand";
|
|
113
114
|
export * from "./ModifyDBProxyTargetGroupCommand";
|
|
115
|
+
export * from "./ModifyDBRecommendationCommand";
|
|
114
116
|
export * from "./ModifyDBSnapshotAttributeCommand";
|
|
115
117
|
export * from "./ModifyDBSnapshotCommand";
|
|
116
118
|
export * from "./ModifyDBSubnetGroupCommand";
|
|
@@ -11928,6 +11928,11 @@ export interface DescribeAccountAttributesMessage {
|
|
|
11928
11928
|
* </li>
|
|
11929
11929
|
* <li>
|
|
11930
11930
|
* <p>
|
|
11931
|
+
* <code>DescribeDBRecommendations</code>
|
|
11932
|
+
* </p>
|
|
11933
|
+
* </li>
|
|
11934
|
+
* <li>
|
|
11935
|
+
* <p>
|
|
11931
11936
|
* <code>DescribePendingMaintenanceActions</code>
|
|
11932
11937
|
* </p>
|
|
11933
11938
|
* </li>
|