diff --git a/clients/client-cost-explorer/src/commands/GetReservationPurchaseRecommendationCommand.ts b/clients/client-cost-explorer/src/commands/GetReservationPurchaseRecommendationCommand.ts index 56dcea702548..0b40eff85339 100644 --- a/clients/client-cost-explorer/src/commands/GetReservationPurchaseRecommendationCommand.ts +++ b/clients/client-cost-explorer/src/commands/GetReservationPurchaseRecommendationCommand.ts @@ -214,6 +214,13 @@ export interface GetReservationPurchaseRecommendationCommandOutput * // CurrentGeneration: true || false, * // SizeFlexEligible: true || false, * // }, + * // MemoryDBInstanceDetails: { // MemoryDBInstanceDetails + * // Family: "STRING_VALUE", + * // NodeType: "STRING_VALUE", + * // Region: "STRING_VALUE", + * // CurrentGeneration: true || false, + * // SizeFlexEligible: true || false, + * // }, * // }, * // RecommendedNumberOfInstancesToPurchase: "STRING_VALUE", * // RecommendedNormalizedUnitsToPurchase: "STRING_VALUE", diff --git a/clients/client-cost-explorer/src/models/models_0.ts b/clients/client-cost-explorer/src/models/models_0.ts index 30618e0fe8c0..ad38b5d5f2bb 100644 --- a/clients/client-cost-explorer/src/models/models_0.ts +++ b/clients/client-cost-explorer/src/models/models_0.ts @@ -2009,7 +2009,7 @@ export interface ReservationPurchaseRecommendationMetadata { /** * @public - *

Details about the Amazon EC2 instances that Amazon Web Services recommends that you + *

Details about the Amazon EC2 reservations that Amazon Web Services recommends that you * purchase.

*/ export interface EC2InstanceDetails { @@ -2065,8 +2065,8 @@ export interface EC2InstanceDetails { /** * @public - *

Details about the Amazon ElastiCache instances that Amazon Web Services recommends that - * you purchase.

+ *

Details about the Amazon ElastiCache reservations that Amazon Web Services recommends + * that you purchase.

*/ export interface ElastiCacheInstanceDetails { /** @@ -2108,8 +2108,8 @@ export interface ElastiCacheInstanceDetails { /** * @public - *

Details about the Amazon OpenSearch Service instances that Amazon Web Services recommends - * that you purchase.

+ *

Details about the Amazon OpenSearch Service reservations that Amazon Web Services + * recommends that you purchase.

*/ export interface ESInstanceDetails { /** @@ -2145,7 +2145,44 @@ export interface ESInstanceDetails { /** * @public - *

Details about the Amazon RDS instances that Amazon Web Services recommends that you + *

Details about the MemoryDB reservations that Amazon Web Services recommends that you + * purchase.

+ */ +export interface MemoryDBInstanceDetails { + /** + * @public + *

The instance family of the recommended reservation.

+ */ + Family?: string; + + /** + * @public + *

The node type of the recommended reservation.

+ */ + NodeType?: string; + + /** + * @public + *

The Amazon Web Services Region of the recommended reservation.

+ */ + Region?: string; + + /** + * @public + *

Determines whether the recommendation is for a current generation instance.

+ */ + CurrentGeneration?: boolean; + + /** + * @public + *

Determines whether the recommended reservation is size flexible.

+ */ + SizeFlexEligible?: boolean; +} + +/** + * @public + *

Details about the Amazon RDS reservations that Amazon Web Services recommends that you * purchase.

*/ export interface RDSInstanceDetails { @@ -2207,7 +2244,7 @@ export interface RDSInstanceDetails { /** * @public - *

Details about the Amazon Redshift instances that Amazon Web Services recommends that + *

Details about the Amazon Redshift reservations that Amazon Web Services recommends that * you purchase.

*/ export interface RedshiftInstanceDetails { @@ -2244,41 +2281,50 @@ export interface RedshiftInstanceDetails { /** * @public - *

Details about the instances that Amazon Web Services recommends that you + *

Details about the reservations that Amazon Web Services recommends that you * purchase.

*/ export interface InstanceDetails { /** * @public - *

The Amazon EC2 instances that Amazon Web Services recommends that you purchase.

+ *

The Amazon EC2 reservations that Amazon Web Services recommends that you + * purchase.

*/ EC2InstanceDetails?: EC2InstanceDetails; /** * @public - *

The Amazon RDS instances that Amazon Web Services recommends that you purchase.

+ *

The Amazon RDS reservations that Amazon Web Services recommends that you + * purchase.

*/ RDSInstanceDetails?: RDSInstanceDetails; /** * @public - *

The Amazon Redshift instances that Amazon Web Services recommends that you + *

The Amazon Redshift reservations that Amazon Web Services recommends that you * purchase.

*/ RedshiftInstanceDetails?: RedshiftInstanceDetails; /** * @public - *

The ElastiCache instances that Amazon Web Services recommends that you purchase.

+ *

The ElastiCache reservations that Amazon Web Services recommends that you + * purchase.

*/ ElastiCacheInstanceDetails?: ElastiCacheInstanceDetails; /** * @public - *

The Amazon OpenSearch Service instances that Amazon Web Services recommends that you + *

The Amazon OpenSearch Service reservations that Amazon Web Services recommends that you * purchase.

*/ ESInstanceDetails?: ESInstanceDetails; + + /** + * @public + *

The MemoryDB reservations that Amazon Web Services recommends that you purchase.

+ */ + MemoryDBInstanceDetails?: MemoryDBInstanceDetails; } /** @@ -2294,7 +2340,7 @@ export interface ReservationPurchaseRecommendationDetail { /** * @public - *

Details about the instances that Amazon Web Services recommends that you + *

Details about the reservations that Amazon Web Services recommends that you * purchase.

*/ InstanceDetails?: InstanceDetails; diff --git a/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts b/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts index 0e9d6ad295e3..0f7d22ce1108 100644 --- a/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts +++ b/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts @@ -3738,6 +3738,8 @@ const de_Impact = (output: any, context: __SerdeContext): Impact => { // de_MatchOptions omitted. +// de_MemoryDBInstanceDetails omitted. + // de_Metrics omitted. // de_MetricsOverLookbackPeriod omitted. diff --git a/codegen/sdk-codegen/aws-models/cost-explorer.json b/codegen/sdk-codegen/aws-models/cost-explorer.json index adca56902741..03d757886064 100644 --- a/codegen/sdk-codegen/aws-models/cost-explorer.json +++ b/codegen/sdk-codegen/aws-models/cost-explorer.json @@ -2987,7 +2987,7 @@ } }, "traits": { - "smithy.api#documentation": "

Details about the Amazon EC2 instances that Amazon Web Services recommends that you\n purchase.

" + "smithy.api#documentation": "

Details about the Amazon EC2 reservations that Amazon Web Services recommends that you\n purchase.

" } }, "com.amazonaws.costexplorer#EC2ResourceDetails": { @@ -3147,7 +3147,7 @@ } }, "traits": { - "smithy.api#documentation": "

Details about the Amazon OpenSearch Service instances that Amazon Web Services recommends\n that you purchase.

" + "smithy.api#documentation": "

Details about the Amazon OpenSearch Service reservations that Amazon Web Services\n recommends that you purchase.

" } }, "com.amazonaws.costexplorer#ElastiCacheInstanceDetails": { @@ -3193,7 +3193,7 @@ } }, "traits": { - "smithy.api#documentation": "

Details about the Amazon ElastiCache instances that Amazon Web Services recommends that\n you purchase.

" + "smithy.api#documentation": "

Details about the Amazon ElastiCache reservations that Amazon Web Services recommends\n that you purchase.

" } }, "com.amazonaws.costexplorer#Entity": { @@ -5485,36 +5485,42 @@ "EC2InstanceDetails": { "target": "com.amazonaws.costexplorer#EC2InstanceDetails", "traits": { - "smithy.api#documentation": "

The Amazon EC2 instances that Amazon Web Services recommends that you purchase.

" + "smithy.api#documentation": "

The Amazon EC2 reservations that Amazon Web Services recommends that you\n purchase.

" } }, "RDSInstanceDetails": { "target": "com.amazonaws.costexplorer#RDSInstanceDetails", "traits": { - "smithy.api#documentation": "

The Amazon RDS instances that Amazon Web Services recommends that you purchase.

" + "smithy.api#documentation": "

The Amazon RDS reservations that Amazon Web Services recommends that you\n purchase.

" } }, "RedshiftInstanceDetails": { "target": "com.amazonaws.costexplorer#RedshiftInstanceDetails", "traits": { - "smithy.api#documentation": "

The Amazon Redshift instances that Amazon Web Services recommends that you\n purchase.

" + "smithy.api#documentation": "

The Amazon Redshift reservations that Amazon Web Services recommends that you\n purchase.

" } }, "ElastiCacheInstanceDetails": { "target": "com.amazonaws.costexplorer#ElastiCacheInstanceDetails", "traits": { - "smithy.api#documentation": "

The ElastiCache instances that Amazon Web Services recommends that you purchase.

" + "smithy.api#documentation": "

The ElastiCache reservations that Amazon Web Services recommends that you\n purchase.

" } }, "ESInstanceDetails": { "target": "com.amazonaws.costexplorer#ESInstanceDetails", "traits": { - "smithy.api#documentation": "

The Amazon OpenSearch Service instances that Amazon Web Services recommends that you\n purchase.

" + "smithy.api#documentation": "

The Amazon OpenSearch Service reservations that Amazon Web Services recommends that you\n purchase.

" + } + }, + "MemoryDBInstanceDetails": { + "target": "com.amazonaws.costexplorer#MemoryDBInstanceDetails", + "traits": { + "smithy.api#documentation": "

The MemoryDB reservations that Amazon Web Services recommends that you purchase.

" } } }, "traits": { - "smithy.api#documentation": "

Details about the instances that Amazon Web Services recommends that you\n purchase.

" + "smithy.api#documentation": "

Details about the reservations that Amazon Web Services recommends that you\n purchase.

" } }, "com.amazonaws.costexplorer#InvalidNextTokenException": { @@ -5916,6 +5922,46 @@ } } }, + "com.amazonaws.costexplorer#MemoryDBInstanceDetails": { + "type": "structure", + "members": { + "Family": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "

The instance family of the recommended reservation.

" + } + }, + "NodeType": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "

The node type of the recommended reservation.

" + } + }, + "Region": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Region of the recommended reservation.

" + } + }, + "CurrentGeneration": { + "target": "com.amazonaws.costexplorer#GenericBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Determines whether the recommendation is for a current generation instance.

" + } + }, + "SizeFlexEligible": { + "target": "com.amazonaws.costexplorer#GenericBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Determines whether the recommended reservation is size flexible.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the MemoryDB reservations that Amazon Web Services recommends that you\n purchase.

" + } + }, "com.amazonaws.costexplorer#Metric": { "type": "enum", "members": { @@ -6126,7 +6172,7 @@ "type": "double", "traits": { "smithy.api#range": { - "min": 0 + "min": 0.0 } } }, @@ -6415,7 +6461,7 @@ } }, "traits": { - "smithy.api#documentation": "

Details about the Amazon RDS instances that Amazon Web Services recommends that you\n purchase.

" + "smithy.api#documentation": "

Details about the Amazon RDS reservations that Amazon Web Services recommends that you\n purchase.

" } }, "com.amazonaws.costexplorer#RICostForUnusedHours": { @@ -6715,7 +6761,7 @@ } }, "traits": { - "smithy.api#documentation": "

Details about the Amazon Redshift instances that Amazon Web Services recommends that\n you purchase.

" + "smithy.api#documentation": "

Details about the Amazon Redshift reservations that Amazon Web Services recommends that\n you purchase.

" } }, "com.amazonaws.costexplorer#RequestChangedException": { @@ -6934,7 +6980,7 @@ "InstanceDetails": { "target": "com.amazonaws.costexplorer#InstanceDetails", "traits": { - "smithy.api#documentation": "

Details about the instances that Amazon Web Services recommends that you\n purchase.

" + "smithy.api#documentation": "

Details about the reservations that Amazon Web Services recommends that you\n purchase.

" } }, "RecommendedNumberOfInstancesToPurchase": {