Skip to content

Commit 52a0e8f

Browse files
author
awstools
committed
feat(client-cost-optimization-hub): This release enables AWS Cost Optimization Hub to show cost optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL.
1 parent 1048205 commit 52a0e8f

File tree

6 files changed

+391
-8
lines changed

6 files changed

+391
-8
lines changed

clients/client-cost-optimization-hub/src/commands/GetRecommendationCommand.ts

+36-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons
5858
* // costCalculationLookbackPeriodInDays: Number("int"),
5959
* // estimatedSavingsPercentage: Number("double"),
6060
* // estimatedSavingsOverCostCalculationLookbackPeriod: Number("double"),
61-
* // currentResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
62-
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
61+
* // currentResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
62+
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
6363
* // region: "STRING_VALUE",
6464
* // source: "ComputeOptimizer" || "CostExplorer",
6565
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
@@ -403,6 +403,23 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons
403403
* // },
404404
* // },
405405
* // },
406+
* // rdsDbInstance: { // RdsDbInstance
407+
* // configuration: { // RdsDbInstanceConfiguration
408+
* // instance: { // DbInstanceConfiguration
409+
* // dbInstanceClass: "STRING_VALUE",
410+
* // },
411+
* // },
412+
* // costCalculation: "<ResourceCostCalculation>",
413+
* // },
414+
* // rdsDbInstanceStorage: { // RdsDbInstanceStorage
415+
* // configuration: { // RdsDbInstanceStorageConfiguration
416+
* // storageType: "STRING_VALUE",
417+
* // allocatedStorageInGb: Number("double"),
418+
* // iops: Number("double"),
419+
* // storageThroughput: Number("double"),
420+
* // },
421+
* // costCalculation: "<ResourceCostCalculation>",
422+
* // },
406423
* // },
407424
* // recommendedResourceDetails: {// Union: only one key present
408425
* // lambdaFunction: {
@@ -596,6 +613,23 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons
596613
* // },
597614
* // costCalculation: "<SavingsPlansCostCalculation>",
598615
* // },
616+
* // rdsDbInstance: {
617+
* // configuration: {
618+
* // instance: {
619+
* // dbInstanceClass: "STRING_VALUE",
620+
* // },
621+
* // },
622+
* // costCalculation: "<ResourceCostCalculation>",
623+
* // },
624+
* // rdsDbInstanceStorage: {
625+
* // configuration: {
626+
* // storageType: "STRING_VALUE",
627+
* // allocatedStorageInGb: Number("double"),
628+
* // iops: Number("double"),
629+
* // storageThroughput: Number("double"),
630+
* // },
631+
* // costCalculation: "<ResourceCostCalculation>",
632+
* // },
599633
* // },
600634
* // tags: [ // TagList
601635
* // { // Tag

clients/client-cost-optimization-hub/src/commands/ListRecommendationSummariesCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export interface ListRecommendationSummariesCommandOutput
6060
* "STRING_VALUE",
6161
* ],
6262
* resourceTypes: [ // ResourceTypeList
63-
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
63+
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
6464
* ],
6565
* actionTypes: [ // ActionTypeList
6666
* "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton",

clients/client-cost-optimization-hub/src/commands/ListRecommendationsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface ListRecommendationsCommandOutput extends ListRecommendationsRes
5353
* "STRING_VALUE",
5454
* ],
5555
* resourceTypes: [ // ResourceTypeList
56-
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
56+
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
5757
* ],
5858
* actionTypes: [ // ActionTypeList
5959
* "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton",

0 commit comments

Comments
 (0)