diff --git a/clients/client-cost-optimization-hub/src/commands/GetRecommendationCommand.ts b/clients/client-cost-optimization-hub/src/commands/GetRecommendationCommand.ts index 60ab06373d5f..536b448eb2d5 100644 --- a/clients/client-cost-optimization-hub/src/commands/GetRecommendationCommand.ts +++ b/clients/client-cost-optimization-hub/src/commands/GetRecommendationCommand.ts @@ -67,7 +67,7 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons * // estimatedMonthlyCost: Number("double"), * // implementationEffort: "VeryLow" || "Low" || "Medium" || "High" || "VeryHigh", * // restartNeeded: true || false, - * // actionType: "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton", + * // actionType: "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton" || "Delete", * // rollbackPossible: true || false, * // currentResourceDetails: { // ResourceDetails Union: only one key present * // lambdaFunction: { // LambdaFunction diff --git a/clients/client-cost-optimization-hub/src/commands/ListRecommendationSummariesCommand.ts b/clients/client-cost-optimization-hub/src/commands/ListRecommendationSummariesCommand.ts index 00b0eced1411..f6c77673e988 100644 --- a/clients/client-cost-optimization-hub/src/commands/ListRecommendationSummariesCommand.ts +++ b/clients/client-cost-optimization-hub/src/commands/ListRecommendationSummariesCommand.ts @@ -63,7 +63,7 @@ export interface ListRecommendationSummariesCommandOutput * "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance", * ], * actionTypes: [ // ActionTypeList - * "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton", + * "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton" || "Delete", * ], * tags: [ // TagList * { // Tag diff --git a/clients/client-cost-optimization-hub/src/commands/ListRecommendationsCommand.ts b/clients/client-cost-optimization-hub/src/commands/ListRecommendationsCommand.ts index f8c56c66a6a2..d4fa394466e6 100644 --- a/clients/client-cost-optimization-hub/src/commands/ListRecommendationsCommand.ts +++ b/clients/client-cost-optimization-hub/src/commands/ListRecommendationsCommand.ts @@ -56,7 +56,7 @@ export interface ListRecommendationsCommandOutput extends ListRecommendationsRes * "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance", * ], * actionTypes: [ // ActionTypeList - * "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton", + * "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton" || "Delete", * ], * tags: [ // TagList * { // Tag diff --git a/clients/client-cost-optimization-hub/src/models/models_0.ts b/clients/client-cost-optimization-hub/src/models/models_0.ts index c34b6bddd126..57f9b1222cea 100644 --- a/clients/client-cost-optimization-hub/src/models/models_0.ts +++ b/clients/client-cost-optimization-hub/src/models/models_0.ts @@ -73,6 +73,7 @@ export interface AccountEnrollmentStatus { * @enum */ export const ActionType = { + DELETE: "Delete", MIGRATE_TO_GRAVITON: "MigrateToGraviton", PURCHASE_RESERVED_INSTANCES: "PurchaseReservedInstances", PURCHASE_SAVINGS_PLANS: "PurchaseSavingsPlans", diff --git a/codegen/sdk-codegen/aws-models/cost-optimization-hub.json b/codegen/sdk-codegen/aws-models/cost-optimization-hub.json index 80143b476d21..b9bdb05f1b40 100644 --- a/codegen/sdk-codegen/aws-models/cost-optimization-hub.json +++ b/codegen/sdk-codegen/aws-models/cost-optimization-hub.json @@ -111,6 +111,13 @@ "traits": { "smithy.api#enumValue": "MigrateToGraviton" } + }, + "DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Delete", + "smithy.api#tags": ["idle"] + } } } }, @@ -2349,8 +2356,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the details of an Amazon RDS DB instance.

", - "smithy.api#tags": ["rds"] + "smithy.api#documentation": "

Contains the details of an Amazon RDS DB instance.

" } }, "com.amazonaws.costoptimizationhub#RdsDbInstanceConfiguration": { @@ -2381,8 +2387,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the details of an Amazon RDS DB instance storage.

", - "smithy.api#tags": ["rds"] + "smithy.api#documentation": "

Contains the details of an Amazon RDS DB instance storage.

" } }, "com.amazonaws.costoptimizationhub#RdsDbInstanceStorageConfiguration": { @@ -3011,15 +3016,13 @@ "rdsDbInstance": { "target": "com.amazonaws.costoptimizationhub#RdsDbInstance", "traits": { - "smithy.api#documentation": "

The DB instance recommendation details.

", - "smithy.api#tags": ["rds"] + "smithy.api#documentation": "

The DB instance recommendation details.

" } }, "rdsDbInstanceStorage": { "target": "com.amazonaws.costoptimizationhub#RdsDbInstanceStorage", "traits": { - "smithy.api#documentation": "

The DB instance storage recommendation details.

", - "smithy.api#tags": ["rds"] + "smithy.api#documentation": "

The DB instance storage recommendation details.

" } } }, @@ -3178,15 +3181,13 @@ "RDS_DB_INSTANCE_STORAGE": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "RdsDbInstanceStorage", - "smithy.api#tags": ["rds"] + "smithy.api#enumValue": "RdsDbInstanceStorage" } }, "RDS_DB_INSTANCE": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "RdsDbInstance", - "smithy.api#tags": ["rds"] + "smithy.api#enumValue": "RdsDbInstance" } } }