Skip to content

Commit

Permalink
feat(client-cost-optimization-hub): This release enables AWS Cost Opt…
Browse files Browse the repository at this point in the history
…imization Hub to show cost optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL.
  • Loading branch information
awstools committed Jun 20, 2024
1 parent 1048205 commit 52a0e8f
Show file tree
Hide file tree
Showing 6 changed files with 391 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons
* // costCalculationLookbackPeriodInDays: Number("int"),
* // estimatedSavingsPercentage: Number("double"),
* // estimatedSavingsOverCostCalculationLookbackPeriod: Number("double"),
* // currentResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
* // currentResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
* // region: "STRING_VALUE",
* // source: "ComputeOptimizer" || "CostExplorer",
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
Expand Down Expand Up @@ -403,6 +403,23 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons
* // },
* // },
* // },
* // rdsDbInstance: { // RdsDbInstance
* // configuration: { // RdsDbInstanceConfiguration
* // instance: { // DbInstanceConfiguration
* // dbInstanceClass: "STRING_VALUE",
* // },
* // },
* // costCalculation: "<ResourceCostCalculation>",
* // },
* // rdsDbInstanceStorage: { // RdsDbInstanceStorage
* // configuration: { // RdsDbInstanceStorageConfiguration
* // storageType: "STRING_VALUE",
* // allocatedStorageInGb: Number("double"),
* // iops: Number("double"),
* // storageThroughput: Number("double"),
* // },
* // costCalculation: "<ResourceCostCalculation>",
* // },
* // },
* // recommendedResourceDetails: {// Union: only one key present
* // lambdaFunction: {
Expand Down Expand Up @@ -596,6 +613,23 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons
* // },
* // costCalculation: "<SavingsPlansCostCalculation>",
* // },
* // rdsDbInstance: {
* // configuration: {
* // instance: {
* // dbInstanceClass: "STRING_VALUE",
* // },
* // },
* // costCalculation: "<ResourceCostCalculation>",
* // },
* // rdsDbInstanceStorage: {
* // configuration: {
* // storageType: "STRING_VALUE",
* // allocatedStorageInGb: Number("double"),
* // iops: Number("double"),
* // storageThroughput: Number("double"),
* // },
* // costCalculation: "<ResourceCostCalculation>",
* // },
* // },
* // tags: [ // TagList
* // { // Tag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface ListRecommendationSummariesCommandOutput
* "STRING_VALUE",
* ],
* resourceTypes: [ // ResourceTypeList
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
* ],
* actionTypes: [ // ActionTypeList
* "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface ListRecommendationsCommandOutput extends ListRecommendationsRes
* "STRING_VALUE",
* ],
* resourceTypes: [ // ResourceTypeList
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
* ],
* actionTypes: [ // ActionTypeList
* "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton",
Expand Down
Loading

0 comments on commit 52a0e8f

Please sign in to comment.