diff --git a/clients/client-cost-explorer/src/commands/GetReservationPurchaseRecommendationCommand.ts b/clients/client-cost-explorer/src/commands/GetReservationPurchaseRecommendationCommand.ts index 49ef3518b71b..ca48afb98222 100644 --- a/clients/client-cost-explorer/src/commands/GetReservationPurchaseRecommendationCommand.ts +++ b/clients/client-cost-explorer/src/commands/GetReservationPurchaseRecommendationCommand.ts @@ -231,6 +231,16 @@ export interface GetReservationPurchaseRecommendationCommandOutput * // EstimatedReservationCostForLookbackPeriod: "STRING_VALUE", * // UpfrontCost: "STRING_VALUE", * // RecurringStandardMonthlyCost: "STRING_VALUE", + * // ReservedCapacityDetails: { // ReservedCapacityDetails + * // DynamoDBCapacityDetails: { // DynamoDBCapacityDetails + * // CapacityUnits: "STRING_VALUE", + * // Region: "STRING_VALUE", + * // }, + * // }, + * // RecommendedNumberOfCapacityUnitsToPurchase: "STRING_VALUE", + * // MinimumNumberOfCapacityUnitsUsedPerHour: "STRING_VALUE", + * // MaximumNumberOfCapacityUnitsUsedPerHour: "STRING_VALUE", + * // AverageNumberOfCapacityUnitsUsedPerHour: "STRING_VALUE", * // }, * // ], * // RecommendationSummary: { // ReservationPurchaseRecommendationSummary diff --git a/clients/client-cost-explorer/src/models/models_0.ts b/clients/client-cost-explorer/src/models/models_0.ts index 23e95fed3e4c..f417a5a2fca5 100644 --- a/clients/client-cost-explorer/src/models/models_0.ts +++ b/clients/client-cost-explorer/src/models/models_0.ts @@ -93,14 +93,14 @@ export interface Impact { } /** - *

The combination of Amazon Web Service, linked account, linked account name, + *

The combination of Amazon Web Servicesservice, linked account, linked account name, * Region, and usage type where a cost anomaly is observed. The linked account name will * only be available when the account name can be identified.

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

The Amazon Web Service name that's associated with the cost anomaly.

+ *

The Amazon Web Servicesservice name that's associated with the cost anomaly.

* @public */ Service?: string; @@ -155,7 +155,7 @@ export interface Anomaly { AnomalyEndDate?: string; /** - *

The dimension for the anomaly (for example, an Amazon Web Service in a service + *

The dimension for the anomaly (for example, an Amazon Web Servicesservice in a service * monitor).

* @public */ @@ -2397,6 +2397,37 @@ export interface InstanceDetails { MemoryDBInstanceDetails?: MemoryDBInstanceDetails; } +/** + *

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

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

The capacity unit of the recommended reservation.

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

The Amazon Web Services Region of the recommended reservation.

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

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

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

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

+ * @public + */ + DynamoDBCapacityDetails?: DynamoDBCapacityDetails; +} + /** *

Details about your recommended reservation purchase.

* @public @@ -2477,22 +2508,22 @@ export interface ReservationPurchaseRecommendationDetail { AverageNormalizedUnitsUsedPerHour?: string; /** - *

The average utilization of your instances. Amazon Web Services uses this to calculate - * your recommended reservation purchases.

+ *

The average utilization of your recommendations. Amazon Web Services uses this to + * calculate your recommended reservation purchases.

* @public */ AverageUtilization?: string; /** - *

How long Amazon Web Services estimates that it takes for this instance to start saving - * you money, in months.

+ *

How long Amazon Web Services estimates that it takes for this recommendation to start + * saving you money, in months.

* @public */ EstimatedBreakEvenInMonths?: string; /** *

The currency code that Amazon Web Services used to calculate the costs for this - * instance.

+ * recommendation.

* @public */ CurrencyCode?: string; @@ -2526,16 +2557,54 @@ export interface ReservationPurchaseRecommendationDetail { EstimatedReservationCostForLookbackPeriod?: string; /** - *

How much purchasing this instance costs you upfront.

+ *

How much purchasing this recommendation costs you upfront.

* @public */ UpfrontCost?: string; /** - *

How much purchasing this instance costs you on a monthly basis.

+ *

How much purchasing this recommendation costs you on a monthly basis.

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

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

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

The number of reserved capacity units that Amazon Web Services recommends that you + * purchase.

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

The minimum number of provisioned capacity units that you used in an hour during the + * historical period. Amazon Web Services uses this to calculate your recommended + * reservation purchases.

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

The maximum number of provisioned capacity units that you used in an hour during the + * historical period. Amazon Web Services uses this to calculate your recommended + * reservation purchases.

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

The average number of provisioned capacity units that you used in an hour during the + * historical period. Amazon Web Services uses this to calculate your recommended + * reservation purchases.

+ * @public + */ + AverageNumberOfCapacityUnitsUsedPerHour?: string; } /** @@ -6421,9 +6490,9 @@ export interface GetDimensionValuesRequest { *
  • *

    BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible * values are the following:

    - *

    - Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services.

    + *

    - Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Servicesservices.

    *

    - AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting - * reseller for Amazon Web Services in India.

    + * reseller for Amazon Web Servicesservices in India.

    *

    - Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on * Amazon Web Services by third-party software providers.

    *
  • 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 1ab886b64d0e..1e72d047d8b9 100644 --- a/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts +++ b/clients/client-cost-explorer/src/protocols/Aws_json1_1.ts @@ -2615,6 +2615,8 @@ const de_DescribeCostCategoryDefinitionResponse = ( // de_DiskResourceUtilization omitted. +// de_DynamoDBCapacityDetails omitted. + // de_EBSResourceUtilization omitted. // de_EC2InstanceDetails omitted. @@ -2822,6 +2824,8 @@ const de_Impact = (output: any, context: __SerdeContext): Impact => { // de_ReservationUtilizationGroups omitted. +// de_ReservedCapacityDetails omitted. + // de_ResourceDetails omitted. // de_ResourceNotFoundException omitted. diff --git a/codegen/sdk-codegen/aws-models/cost-explorer.json b/codegen/sdk-codegen/aws-models/cost-explorer.json index e4feed911c5e..665b1e7df12b 100644 --- a/codegen/sdk-codegen/aws-models/cost-explorer.json +++ b/codegen/sdk-codegen/aws-models/cost-explorer.json @@ -1020,7 +1020,7 @@ "DimensionValue": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

    The dimension for the anomaly (for example, an Amazon Web Service in a service\n monitor).

    " + "smithy.api#documentation": "

    The dimension for the anomaly (for example, an Amazon Web Servicesservice in a service\n monitor).

    " } }, "RootCauses": { @@ -3021,6 +3021,26 @@ "smithy.api#documentation": "

    The field that contains a list of disk (local storage) metrics that are associated\n with the current instance.

    " } }, + "com.amazonaws.costexplorer#DynamoDBCapacityDetails": { + "type": "structure", + "members": { + "CapacityUnits": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "

    The capacity unit of the recommended reservation.

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

    The Amazon Web Services Region of the recommended reservation.

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

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

    " + } + }, "com.amazonaws.costexplorer#EBSResourceUtilization": { "type": "structure", "members": { @@ -4398,7 +4418,7 @@ "Context": { "target": "com.amazonaws.costexplorer#Context", "traits": { - "smithy.api#documentation": "

    The context for the call to GetDimensionValues. This can be\n RESERVATIONS or COST_AND_USAGE. The default value is\n COST_AND_USAGE. If the context is set to RESERVATIONS, the\n resulting dimension values can be used in the GetReservationUtilization\n operation. If the context is set to COST_AND_USAGE, the resulting dimension\n values can be used in the GetCostAndUsage operation.

    \n

    If you set the context to COST_AND_USAGE, you can use the following\n dimensions for searching:

    \n \n

    If you set the context to RESERVATIONS, you can use the following\n dimensions for searching:

    \n \n

    If you set the context to SAVINGS_PLANS, you can use the following\n dimensions for searching:

    \n " + "smithy.api#documentation": "

    The context for the call to GetDimensionValues. This can be\n RESERVATIONS or COST_AND_USAGE. The default value is\n COST_AND_USAGE. If the context is set to RESERVATIONS, the\n resulting dimension values can be used in the GetReservationUtilization\n operation. If the context is set to COST_AND_USAGE, the resulting dimension\n values can be used in the GetCostAndUsage operation.

    \n

    If you set the context to COST_AND_USAGE, you can use the following\n dimensions for searching:

    \n \n

    If you set the context to RESERVATIONS, you can use the following\n dimensions for searching:

    \n \n

    If you set the context to SAVINGS_PLANS, you can use the following\n dimensions for searching:

    \n " } }, "Filter": { @@ -7304,19 +7324,19 @@ "AverageUtilization": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

    The average utilization of your instances. Amazon Web Services uses this to calculate\n your recommended reservation purchases.

    " + "smithy.api#documentation": "

    The average utilization of your recommendations. Amazon Web Services uses this to\n calculate your recommended reservation purchases.

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

    How long Amazon Web Services estimates that it takes for this instance to start saving\n you money, in months.

    " + "smithy.api#documentation": "

    How long Amazon Web Services estimates that it takes for this recommendation to start\n saving you money, in months.

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

    The currency code that Amazon Web Services used to calculate the costs for this\n instance.

    " + "smithy.api#documentation": "

    The currency code that Amazon Web Services used to calculate the costs for this\n recommendation.

    " } }, "EstimatedMonthlySavingsAmount": { @@ -7346,13 +7366,43 @@ "UpfrontCost": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

    How much purchasing this instance costs you upfront.

    " + "smithy.api#documentation": "

    How much purchasing this recommendation costs you upfront.

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

    How much purchasing this instance costs you on a monthly basis.

    " + "smithy.api#documentation": "

    How much purchasing this recommendation costs you on a monthly basis.

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

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

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

    The number of reserved capacity units that Amazon Web Services recommends that you\n purchase.

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

    The minimum number of provisioned capacity units that you used in an hour during the\n historical period. Amazon Web Services uses this to calculate your recommended\n reservation purchases.

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

    The maximum number of provisioned capacity units that you used in an hour during the\n historical period. Amazon Web Services uses this to calculate your recommended\n reservation purchases.

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

    The average number of provisioned capacity units that you used in an hour during the\n historical period. Amazon Web Services uses this to calculate your recommended\n reservation purchases.

    " } } }, @@ -7462,6 +7512,20 @@ "target": "com.amazonaws.costexplorer#ReservationUtilizationGroup" } }, + "com.amazonaws.costexplorer#ReservedCapacityDetails": { + "type": "structure", + "members": { + "DynamoDBCapacityDetails": { + "target": "com.amazonaws.costexplorer#DynamoDBCapacityDetails", + "traits": { + "smithy.api#documentation": "

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

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

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

    " + } + }, "com.amazonaws.costexplorer#ReservedHours": { "type": "string" }, @@ -7777,7 +7841,7 @@ "Service": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

    The Amazon Web Service name that's associated with the cost anomaly.

    " + "smithy.api#documentation": "

    The Amazon Web Servicesservice name that's associated with the cost anomaly.

    " } }, "Region": { @@ -7806,7 +7870,7 @@ } }, "traits": { - "smithy.api#documentation": "

    The combination of Amazon Web Service, linked account, linked account name,\n Region, and usage type where a cost anomaly is observed. The linked account name will\n only be available when the account name can be identified.

    " + "smithy.api#documentation": "

    The combination of Amazon Web Servicesservice, linked account, linked account name,\n Region, and usage type where a cost anomaly is observed. The linked account name will\n only be available when the account name can be identified.

    " } }, "com.amazonaws.costexplorer#RootCauses": {