@aws-sdk/client-compute-optimizer 3.451.0 → 3.458.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,6 +95,41 @@ export interface AutoScalingGroupConfiguration {
95
95
  */
96
96
  instanceType?: string;
97
97
  }
98
+ /**
99
+ * @public
100
+ * @enum
101
+ */
102
+ export declare const Currency: {
103
+ readonly CNY: "CNY";
104
+ readonly USD: "USD";
105
+ };
106
+ /**
107
+ * @public
108
+ */
109
+ export type Currency = (typeof Currency)[keyof typeof Currency];
110
+ /**
111
+ * @public
112
+ * <p>
113
+ * An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations. This is based on the
114
+ * Savings Plans and Reserved Instances discounts.
115
+ * </p>
116
+ */
117
+ export interface AutoScalingGroupEstimatedMonthlySavings {
118
+ /**
119
+ * @public
120
+ * <p>
121
+ * The currency of the estimated monthly savings.
122
+ * </p>
123
+ */
124
+ currency?: Currency;
125
+ /**
126
+ * @public
127
+ * <p>
128
+ * The value of the estimated monthly savings.
129
+ * </p>
130
+ */
131
+ value?: number;
132
+ }
98
133
  /**
99
134
  * @public
100
135
  * <p>
@@ -208,6 +243,184 @@ export declare const InferredWorkloadTypesPreference: {
208
243
  * @public
209
244
  */
210
245
  export type InferredWorkloadTypesPreference = (typeof InferredWorkloadTypesPreference)[keyof typeof InferredWorkloadTypesPreference];
246
+ /**
247
+ * @public
248
+ * @enum
249
+ */
250
+ export declare const LookBackPeriodPreference: {
251
+ readonly DAYS_14: "DAYS_14";
252
+ readonly DAYS_32: "DAYS_32";
253
+ readonly DAYS_93: "DAYS_93";
254
+ };
255
+ /**
256
+ * @public
257
+ */
258
+ export type LookBackPeriodPreference = (typeof LookBackPeriodPreference)[keyof typeof LookBackPeriodPreference];
259
+ /**
260
+ * @public
261
+ * @enum
262
+ */
263
+ export declare const PreferredResourceName: {
264
+ readonly EC2_INSTANCE_TYPES: "Ec2InstanceTypes";
265
+ };
266
+ /**
267
+ * @public
268
+ */
269
+ export type PreferredResourceName = (typeof PreferredResourceName)[keyof typeof PreferredResourceName];
270
+ /**
271
+ * @public
272
+ * <p>
273
+ * Describes the effective preferred resources that Compute Optimizer considers as rightsizing recommendation candidates.
274
+ * </p>
275
+ * <note>
276
+ * <p>Compute Optimizer only supports Amazon EC2 instance types.</p>
277
+ * </note>
278
+ */
279
+ export interface EffectivePreferredResource {
280
+ /**
281
+ * @public
282
+ * <p>
283
+ * The name of the preferred resource list.
284
+ * </p>
285
+ */
286
+ name?: PreferredResourceName;
287
+ /**
288
+ * @public
289
+ * <p>
290
+ * The list of preferred resource values that you want considered as rightsizing recommendation candidates.
291
+ * </p>
292
+ */
293
+ includeList?: string[];
294
+ /**
295
+ * @public
296
+ * <p>
297
+ * The expanded version of your preferred resource's include list.
298
+ * </p>
299
+ */
300
+ effectiveIncludeList?: string[];
301
+ /**
302
+ * @public
303
+ * <p>
304
+ * The list of preferred resources values that you want excluded from rightsizing recommendation candidates.
305
+ * </p>
306
+ */
307
+ excludeList?: string[];
308
+ }
309
+ /**
310
+ * @public
311
+ * @enum
312
+ */
313
+ export declare const InstanceSavingsEstimationModeSource: {
314
+ readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
315
+ readonly COST_OPTIMIZATION_HUB: "CostOptimizationHub";
316
+ readonly PUBLIC_PRICING: "PublicPricing";
317
+ };
318
+ /**
319
+ * @public
320
+ */
321
+ export type InstanceSavingsEstimationModeSource = (typeof InstanceSavingsEstimationModeSource)[keyof typeof InstanceSavingsEstimationModeSource];
322
+ /**
323
+ * @public
324
+ * <p>
325
+ * Describes the savings estimation mode used for calculating savings opportunity for Amazon EC2 instances.
326
+ * </p>
327
+ */
328
+ export interface InstanceSavingsEstimationMode {
329
+ /**
330
+ * @public
331
+ * <p>
332
+ * Describes the source for calculating the savings opportunity for Amazon EC2 instances.
333
+ * </p>
334
+ */
335
+ source?: InstanceSavingsEstimationModeSource;
336
+ }
337
+ /**
338
+ * @public
339
+ * @enum
340
+ */
341
+ export declare const CustomizableMetricName: {
342
+ readonly CPU_UTILIZATION: "CpuUtilization";
343
+ };
344
+ /**
345
+ * @public
346
+ */
347
+ export type CustomizableMetricName = (typeof CustomizableMetricName)[keyof typeof CustomizableMetricName];
348
+ /**
349
+ * @public
350
+ * @enum
351
+ */
352
+ export declare const CustomizableMetricHeadroom: {
353
+ readonly PERCENT_0: "PERCENT_0";
354
+ readonly PERCENT_20: "PERCENT_20";
355
+ readonly PERCENT_30: "PERCENT_30";
356
+ };
357
+ /**
358
+ * @public
359
+ */
360
+ export type CustomizableMetricHeadroom = (typeof CustomizableMetricHeadroom)[keyof typeof CustomizableMetricHeadroom];
361
+ /**
362
+ * @public
363
+ * @enum
364
+ */
365
+ export declare const CustomizableMetricThreshold: {
366
+ readonly P90: "P90";
367
+ readonly P95: "P95";
368
+ readonly P99_5: "P99_5";
369
+ };
370
+ /**
371
+ * @public
372
+ */
373
+ export type CustomizableMetricThreshold = (typeof CustomizableMetricThreshold)[keyof typeof CustomizableMetricThreshold];
374
+ /**
375
+ * @public
376
+ * <p>
377
+ * Defines the various metric parameters that can be customized, such as threshold and headroom.
378
+ * </p>
379
+ */
380
+ export interface CustomizableMetricParameters {
381
+ /**
382
+ * @public
383
+ * <p>
384
+ * The threshold value used for the specified metric parameter.
385
+ * </p>
386
+ */
387
+ threshold?: CustomizableMetricThreshold;
388
+ /**
389
+ * @public
390
+ * <p>
391
+ * The headroom threshold value in percentage used for the specified metric parameter.
392
+ * </p>
393
+ */
394
+ headroom?: CustomizableMetricHeadroom;
395
+ }
396
+ /**
397
+ * @public
398
+ * <p>
399
+ * The preference to control the resource’s CPU utilization thresholds - threshold and headroom.
400
+ * </p>
401
+ * <note>
402
+ * <p>This preference is only available for the Amazon EC2 instance resource type.</p>
403
+ * </note>
404
+ */
405
+ export interface UtilizationPreference {
406
+ /**
407
+ * @public
408
+ * <p>
409
+ * The name of the resource utilization metric name to customize.
410
+ * </p>
411
+ * <note>
412
+ * <p>Compute Optimizer only supports <code>CpuUtilization</code>.</p>
413
+ * </note>
414
+ */
415
+ metricName?: CustomizableMetricName;
416
+ /**
417
+ * @public
418
+ * <p>
419
+ * The parameters to set when customizing the resource utilization thresholds.
420
+ * </p>
421
+ */
422
+ metricParameters?: CustomizableMetricParameters;
423
+ }
211
424
  /**
212
425
  * @public
213
426
  * <p>Describes the effective recommendation preferences for a resource.</p>
@@ -262,6 +475,38 @@ export interface EffectiveRecommendationPreferences {
262
475
  * to the recommendations already, then this object doesn't appear in the response. </p>
263
476
  */
264
477
  externalMetricsPreference?: ExternalMetricsPreference;
478
+ /**
479
+ * @public
480
+ * <p>
481
+ * The number of days the utilization metrics of the Amazon Web Services resource are analyzed.
482
+ * </p>
483
+ */
484
+ lookBackPeriod?: LookBackPeriodPreference;
485
+ /**
486
+ * @public
487
+ * <p>
488
+ * The resource’s CPU utilization threshold preferences, such as threshold and headroom, that
489
+ * are used to generate rightsizing recommendations.
490
+ * </p>
491
+ * <note>
492
+ * <p>This preference is only available for the Amazon EC2 instance resource type.</p>
493
+ * </note>
494
+ */
495
+ utilizationPreferences?: UtilizationPreference[];
496
+ /**
497
+ * @public
498
+ * <p>
499
+ * The resource type values that are considered as candidates when generating rightsizing recommendations.
500
+ * </p>
501
+ */
502
+ preferredResources?: EffectivePreferredResource[];
503
+ /**
504
+ * @public
505
+ * <p>
506
+ * Describes the savings estimation mode applied for calculating savings opportunity for a resource.
507
+ * </p>
508
+ */
509
+ savingsEstimationMode?: InstanceSavingsEstimationMode;
265
510
  }
266
511
  /**
267
512
  * @public
@@ -508,18 +753,6 @@ export interface UtilizationMetric {
508
753
  */
509
754
  value?: number;
510
755
  }
511
- /**
512
- * @public
513
- * @enum
514
- */
515
- export declare const Currency: {
516
- readonly CNY: "CNY";
517
- readonly USD: "USD";
518
- };
519
- /**
520
- * @public
521
- */
522
- export type Currency = (typeof Currency)[keyof typeof Currency];
523
756
  /**
524
757
  * @public
525
758
  * <p>Describes the estimated monthly savings amount possible, based on On-Demand instance
@@ -573,6 +806,31 @@ export interface SavingsOpportunity {
573
806
  */
574
807
  estimatedMonthlySavings?: EstimatedMonthlySavings;
575
808
  }
809
+ /**
810
+ * @public
811
+ * <p>
812
+ * Describes the savings opportunity for Auto Scaling group recommendations after applying the Savings Plans and Reserved Instances discounts.
813
+ * </p>
814
+ * <p>Savings opportunity represents the estimated monthly savings you can achieve by implementing Compute Optimizer recommendations.</p>
815
+ */
816
+ export interface AutoScalingGroupSavingsOpportunityAfterDiscounts {
817
+ /**
818
+ * @public
819
+ * <p>
820
+ * The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be
821
+ * achieved by adopting Compute Optimizer’s Auto Scaling group recommendations.
822
+ * </p>
823
+ */
824
+ savingsOpportunityPercentage?: number;
825
+ /**
826
+ * @public
827
+ * <p>
828
+ * An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations. This is based on the
829
+ * Savings Plans and Reserved Instances pricing discounts.
830
+ * </p>
831
+ */
832
+ estimatedMonthlySavings?: AutoScalingGroupEstimatedMonthlySavings;
833
+ }
576
834
  /**
577
835
  * @public
578
836
  * <p>Describes a recommendation option for an Auto Scaling group.</p>
@@ -646,6 +904,14 @@ export interface AutoScalingGroupRecommendationOption {
646
904
  * </p>
647
905
  */
648
906
  instanceGpuInfo?: GpuInfo;
907
+ /**
908
+ * @public
909
+ * <p>
910
+ * An object that describes the savings opportunity for the Auto Scaling group recommendation option that includes Savings Plans and Reserved Instances discounts.
911
+ * Savings opportunity includes the estimated monthly savings and percentage.
912
+ * </p>
913
+ */
914
+ savingsOpportunityAfterDiscounts?: AutoScalingGroupSavingsOpportunityAfterDiscounts;
649
915
  }
650
916
  /**
651
917
  * @public
@@ -804,6 +1070,9 @@ export declare const RecommendationPreferenceName: {
804
1070
  readonly ENHANCED_INFRASTRUCTURE_METRICS: "EnhancedInfrastructureMetrics";
805
1071
  readonly EXTERNAL_METRICS_PREFERENCE: "ExternalMetricsPreference";
806
1072
  readonly INFERRED_WORKLOAD_TYPES: "InferredWorkloadTypes";
1073
+ readonly LOOKBACK_PERIOD_PREFERENCE: "LookBackPeriodPreference";
1074
+ readonly PREFERRED_RESOURCES: "PreferredResources";
1075
+ readonly UTILIZATION_PREFERENCES: "UtilizationPreferences";
807
1076
  };
808
1077
  /**
809
1078
  * @public
@@ -1250,6 +1519,9 @@ export declare const ExportableAutoScalingGroupField: {
1250
1519
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES: "EffectiveRecommendationPreferencesCpuVendorArchitectures";
1251
1520
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS: "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
1252
1521
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES: "EffectiveRecommendationPreferencesInferredWorkloadTypes";
1522
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_LOOKBACK_PERIOD: "EffectiveRecommendationPreferencesLookBackPeriod";
1523
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_PREFERRED_RESOURCES: "EffectiveRecommendationPreferencesPreferredResources";
1524
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
1253
1525
  readonly FINDING: "Finding";
1254
1526
  readonly INFERRED_WORKLOAD_TYPES: "InferredWorkloadTypes";
1255
1527
  readonly LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp";
@@ -1259,7 +1531,9 @@ export declare const ExportableAutoScalingGroupField: {
1259
1531
  readonly RECOMMENDATION_OPTIONS_CONFIGURATION_MAX_SIZE: "RecommendationOptionsConfigurationMaxSize";
1260
1532
  readonly RECOMMENDATION_OPTIONS_CONFIGURATION_MIN_SIZE: "RecommendationOptionsConfigurationMinSize";
1261
1533
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
1534
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
1262
1535
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
1536
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
1263
1537
  readonly RECOMMENDATION_OPTIONS_INSTANCE_GPU_INFO: "RecommendationOptionsInstanceGpuInfo";
1264
1538
  readonly RECOMMENDATION_OPTIONS_MEMORY: "RecommendationOptionsMemory";
1265
1539
  readonly RECOMMENDATION_OPTIONS_MIGRATION_EFFORT: "RecommendationOptionsMigrationEffort";
@@ -1270,6 +1544,7 @@ export declare const ExportableAutoScalingGroupField: {
1270
1544
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum";
1271
1545
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_MEMORY_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum";
1272
1546
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_MEMORY_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum";
1547
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
1273
1548
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
1274
1549
  readonly RECOMMENDATION_OPTIONS_STANDARD_ONE_YEAR_NO_UPFRONT_RESERVED_PRICE: "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice";
1275
1550
  readonly RECOMMENDATION_OPTIONS_STANDARD_THREE_YEAR_NO_UPFRONT_RESERVED_PRICE: "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice";
@@ -1692,6 +1967,7 @@ export declare const ExportableVolumeField: {
1692
1967
  readonly CURRENT_CONFIGURATION_VOLUME_TYPE: "CurrentConfigurationVolumeType";
1693
1968
  readonly CURRENT_MONTHLY_PRICE: "CurrentMonthlyPrice";
1694
1969
  readonly CURRENT_PERFORMANCE_RISK: "CurrentPerformanceRisk";
1970
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
1695
1971
  readonly FINDING: "Finding";
1696
1972
  readonly LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp";
1697
1973
  readonly LOOKBACK_PERIOD_IN_DAYS: "LookbackPeriodInDays";
@@ -1702,9 +1978,12 @@ export declare const ExportableVolumeField: {
1702
1978
  readonly RECOMMENDATION_OPTIONS_CONFIGURATION_VOLUME_SIZE: "RecommendationOptionsConfigurationVolumeSize";
1703
1979
  readonly RECOMMENDATION_OPTIONS_CONFIGURATION_VOLUME_TYPE: "RecommendationOptionsConfigurationVolumeType";
1704
1980
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
1981
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
1705
1982
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
1983
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
1706
1984
  readonly RECOMMENDATION_OPTIONS_MONTHLY_PRICE: "RecommendationOptionsMonthlyPrice";
1707
1985
  readonly RECOMMENDATION_OPTIONS_PERFORMANCE_RISK: "RecommendationOptionsPerformanceRisk";
1986
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
1708
1987
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
1709
1988
  readonly ROOT_VOLUME: "RootVolume";
1710
1989
  readonly TAGS: "Tags";
@@ -1867,6 +2146,10 @@ export declare const ExportableInstanceField: {
1867
2146
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS: "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
1868
2147
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_EXTERNAL_METRICS_SOURCE: "EffectiveRecommendationPreferencesExternalMetricsSource";
1869
2148
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES: "EffectiveRecommendationPreferencesInferredWorkloadTypes";
2149
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_LOOKBACK_PERIOD: "EffectiveRecommendationPreferencesLookBackPeriod";
2150
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_PREFERRED_RESOURCES: "EffectiveRecommendationPreferencesPreferredResources";
2151
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
2152
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_UTILIZATION_PREFERENCES: "EffectiveRecommendationPreferencesUtilizationPreferences";
1870
2153
  readonly EXTERNAL_METRIC_STATUS_CODE: "ExternalMetricStatusCode";
1871
2154
  readonly EXTERNAL_METRIC_STATUS_REASON: "ExternalMetricStatusReason";
1872
2155
  readonly FINDING: "Finding";
@@ -1881,7 +2164,9 @@ export declare const ExportableInstanceField: {
1881
2164
  readonly RECOMMENDATIONS_SOURCES_RECOMMENDATION_SOURCE_ARN: "RecommendationsSourcesRecommendationSourceArn";
1882
2165
  readonly RECOMMENDATIONS_SOURCES_RECOMMENDATION_SOURCE_TYPE: "RecommendationsSourcesRecommendationSourceType";
1883
2166
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
2167
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
1884
2168
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
2169
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
1885
2170
  readonly RECOMMENDATION_OPTIONS_INSTANCE_GPU_INFO: "RecommendationOptionsInstanceGpuInfo";
1886
2171
  readonly RECOMMENDATION_OPTIONS_INSTANCE_TYPE: "RecommendationOptionsInstanceType";
1887
2172
  readonly RECOMMENDATION_OPTIONS_MEMORY: "RecommendationOptionsMemory";
@@ -1894,6 +2179,7 @@ export declare const ExportableInstanceField: {
1894
2179
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_MEMORY_PERCENTAGE_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum";
1895
2180
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_PERCENTAGE_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum";
1896
2181
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_MEMORY_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum";
2182
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
1897
2183
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
1898
2184
  readonly RECOMMENDATION_OPTIONS_STANDARD_ONE_YEAR_NO_UPFRONT_RESERVED_PRICE: "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice";
1899
2185
  readonly RECOMMENDATION_OPTIONS_STANDARD_THREE_YEAR_NO_UPFRONT_RESERVED_PRICE: "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice";
@@ -2022,6 +2308,7 @@ export declare const ExportableECSServiceField: {
2022
2308
  readonly CURRENT_SERVICE_CONFIGURATION_MEMORY: "CurrentServiceConfigurationMemory";
2023
2309
  readonly CURRENT_SERVICE_CONFIGURATION_TASK_DEFINITION_ARN: "CurrentServiceConfigurationTaskDefinitionArn";
2024
2310
  readonly CURRENT_SERVICE_CONTAINER_CONFIGURATIONS: "CurrentServiceContainerConfigurations";
2311
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
2025
2312
  readonly FINDING: "Finding";
2026
2313
  readonly FINDING_REASON_CODES: "FindingReasonCodes";
2027
2314
  readonly LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp";
@@ -2030,10 +2317,13 @@ export declare const ExportableECSServiceField: {
2030
2317
  readonly RECOMMENDATION_OPTIONS_CONTAINER_RECOMMENDATIONS: "RecommendationOptionsContainerRecommendations";
2031
2318
  readonly RECOMMENDATION_OPTIONS_CPU: "RecommendationOptionsCpu";
2032
2319
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
2320
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
2033
2321
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
2322
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
2034
2323
  readonly RECOMMENDATION_OPTIONS_MEMORY: "RecommendationOptionsMemory";
2035
2324
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_CPU_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum";
2036
2325
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_MEMORY_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum";
2326
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
2037
2327
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
2038
2328
  readonly SERVICE_ARN: "ServiceArn";
2039
2329
  readonly TAGS: "Tags";
@@ -2212,6 +2502,7 @@ export declare const ExportableLambdaFunctionField: {
2212
2502
  readonly CURRENT_COST_AVERAGE: "CurrentCostAverage";
2213
2503
  readonly CURRENT_COST_TOTAL: "CurrentCostTotal";
2214
2504
  readonly CURRENT_PERFORMANCE_RISK: "CurrentPerformanceRisk";
2505
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
2215
2506
  readonly FINDING: "Finding";
2216
2507
  readonly FINDING_REASON_CODES: "FindingReasonCodes";
2217
2508
  readonly FUNCTION_ARN: "FunctionArn";
@@ -2223,10 +2514,13 @@ export declare const ExportableLambdaFunctionField: {
2223
2514
  readonly RECOMMENDATION_OPTIONS_COST_HIGH: "RecommendationOptionsCostHigh";
2224
2515
  readonly RECOMMENDATION_OPTIONS_COST_LOW: "RecommendationOptionsCostLow";
2225
2516
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
2517
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
2226
2518
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
2519
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
2227
2520
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_DURATION_EXPECTED: "RecommendationOptionsProjectedUtilizationMetricsDurationExpected";
2228
2521
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_DURATION_LOWER_BOUND: "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound";
2229
2522
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_DURATION_UPPER_BOUND: "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound";
2523
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
2230
2524
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
2231
2525
  readonly TAGS: "Tags";
2232
2526
  readonly UTILIZATION_METRICS_DURATION_AVERAGE: "UtilizationMetricsDurationAverage";
@@ -2744,6 +3038,49 @@ export interface VolumeConfiguration {
2744
3038
  */
2745
3039
  rootVolume?: boolean;
2746
3040
  }
3041
+ /**
3042
+ * @public
3043
+ * @enum
3044
+ */
3045
+ export declare const EBSSavingsEstimationModeSource: {
3046
+ readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
3047
+ readonly COST_OPTIMIZATION_HUB: "CostOptimizationHub";
3048
+ readonly PUBLIC_PRICING: "PublicPricing";
3049
+ };
3050
+ /**
3051
+ * @public
3052
+ */
3053
+ export type EBSSavingsEstimationModeSource = (typeof EBSSavingsEstimationModeSource)[keyof typeof EBSSavingsEstimationModeSource];
3054
+ /**
3055
+ * @public
3056
+ * <p>
3057
+ * Describes the savings estimation mode used for calculating savings opportunity for Amazon EBS volumes.
3058
+ * </p>
3059
+ */
3060
+ export interface EBSSavingsEstimationMode {
3061
+ /**
3062
+ * @public
3063
+ * <p>
3064
+ * Describes the source for calculating the savings opportunity for Amazon EBS volumes.
3065
+ * </p>
3066
+ */
3067
+ source?: EBSSavingsEstimationModeSource;
3068
+ }
3069
+ /**
3070
+ * @public
3071
+ * <p>
3072
+ * Describes the effective recommendation preferences for Amazon EBS volumes.
3073
+ * </p>
3074
+ */
3075
+ export interface EBSEffectiveRecommendationPreferences {
3076
+ /**
3077
+ * @public
3078
+ * <p>
3079
+ * Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon EBS volumes.
3080
+ * </p>
3081
+ */
3082
+ savingsEstimationMode?: EBSSavingsEstimationMode;
3083
+ }
2747
3084
  /**
2748
3085
  * @public
2749
3086
  * @enum
@@ -2857,6 +3194,53 @@ export interface EBSUtilizationMetric {
2857
3194
  */
2858
3195
  value?: number;
2859
3196
  }
3197
+ /**
3198
+ * @public
3199
+ * <p>
3200
+ * An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EBS volume
3201
+ * recommendations. This includes any applicable discounts.
3202
+ * </p>
3203
+ */
3204
+ export interface EBSEstimatedMonthlySavings {
3205
+ /**
3206
+ * @public
3207
+ * <p>
3208
+ * The currency of the estimated monthly savings.
3209
+ * </p>
3210
+ */
3211
+ currency?: Currency;
3212
+ /**
3213
+ * @public
3214
+ * <p>
3215
+ * The value of the estimated monthly savings.
3216
+ * </p>
3217
+ */
3218
+ value?: number;
3219
+ }
3220
+ /**
3221
+ * @public
3222
+ * <p>
3223
+ * Describes the savings opportunity for Amazon EBS volume recommendations after applying specific discounts.
3224
+ * </p>
3225
+ */
3226
+ export interface EBSSavingsOpportunityAfterDiscounts {
3227
+ /**
3228
+ * @public
3229
+ * <p>
3230
+ * The estimated monthly savings possible as a percentage of monthly cost after applying the specific discounts.
3231
+ * This saving can be achieved by adopting Compute Optimizer’s Amazon EBS volume recommendations.
3232
+ * </p>
3233
+ */
3234
+ savingsOpportunityPercentage?: number;
3235
+ /**
3236
+ * @public
3237
+ * <p>
3238
+ * The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume
3239
+ * recommendations. This saving includes any applicable discounts.
3240
+ * </p>
3241
+ */
3242
+ estimatedMonthlySavings?: EBSEstimatedMonthlySavings;
3243
+ }
2860
3244
  /**
2861
3245
  * @public
2862
3246
  * <p>Describes a recommendation option for an Amazon Elastic Block Store (Amazon EBS)
@@ -2893,6 +3277,14 @@ export interface VolumeRecommendationOption {
2893
3277
  * percentage.</p>
2894
3278
  */
2895
3279
  savingsOpportunity?: SavingsOpportunity;
3280
+ /**
3281
+ * @public
3282
+ * <p>
3283
+ * An object that describes the savings opportunity for the Amazon EBS volume recommendation option with specific discounts. Savings
3284
+ * opportunity includes the estimated monthly savings and percentage.
3285
+ * </p>
3286
+ */
3287
+ savingsOpportunityAfterDiscounts?: EBSSavingsOpportunityAfterDiscounts;
2896
3288
  }
2897
3289
  /**
2898
3290
  * @public
@@ -2974,6 +3366,13 @@ export interface VolumeRecommendation {
2974
3366
  * </p>
2975
3367
  */
2976
3368
  tags?: Tag[];
3369
+ /**
3370
+ * @public
3371
+ * <p>
3372
+ * Describes the effective recommendation preferences for Amazon EBS volume.
3373
+ * </p>
3374
+ */
3375
+ effectiveRecommendationPreferences?: EBSEffectiveRecommendationPreferences;
2977
3376
  }
2978
3377
  /**
2979
3378
  * @public
@@ -3159,6 +3558,55 @@ export declare const PlatformDifference: {
3159
3558
  * @public
3160
3559
  */
3161
3560
  export type PlatformDifference = (typeof PlatformDifference)[keyof typeof PlatformDifference];
3561
+ /**
3562
+ * @public
3563
+ * <p>
3564
+ * An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance
3565
+ * recommendations. This is based on the Savings Plans and Reserved Instances pricing discounts.
3566
+ * </p>
3567
+ */
3568
+ export interface InstanceEstimatedMonthlySavings {
3569
+ /**
3570
+ * @public
3571
+ * <p>
3572
+ * The currency of the estimated monthly savings.
3573
+ * </p>
3574
+ */
3575
+ currency?: Currency;
3576
+ /**
3577
+ * @public
3578
+ * <p>
3579
+ * The value of the estimated monthly savings.
3580
+ * </p>
3581
+ */
3582
+ value?: number;
3583
+ }
3584
+ /**
3585
+ * @public
3586
+ * <p>
3587
+ * Describes the savings opportunity for instance recommendations after applying the Savings Plans and Reserved Instances discounts.
3588
+ * </p>
3589
+ * <p>Savings opportunity after discounts represents the estimated monthly savings you can achieve by
3590
+ * implementing Compute Optimizer recommendations.</p>
3591
+ */
3592
+ export interface InstanceSavingsOpportunityAfterDiscounts {
3593
+ /**
3594
+ * @public
3595
+ * <p>
3596
+ * The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts.
3597
+ * This saving can be achieved by adopting Compute Optimizer’s EC2 instance recommendations.
3598
+ * </p>
3599
+ */
3600
+ savingsOpportunityPercentage?: number;
3601
+ /**
3602
+ * @public
3603
+ * <p>
3604
+ * An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is
3605
+ * based on pricing after applying the Savings Plans and Reserved Instances discounts.
3606
+ * </p>
3607
+ */
3608
+ estimatedMonthlySavings?: InstanceEstimatedMonthlySavings;
3609
+ }
3162
3610
  /**
3163
3611
  * @public
3164
3612
  * <p>Describes a recommendation option for an Amazon EC2 instance.</p>
@@ -3328,10 +3776,18 @@ export interface InstanceRecommendationOption {
3328
3776
  /**
3329
3777
  * @public
3330
3778
  * <p>
3331
- * Describes the GPU accelerator settings for the recommended instance type.
3779
+ * Describes the GPU accelerator settings for the recommended instance type.
3780
+ * </p>
3781
+ */
3782
+ instanceGpuInfo?: GpuInfo;
3783
+ /**
3784
+ * @public
3785
+ * <p>
3786
+ * An object that describes the savings opportunity for the instance recommendation option that includes Savings Plans and Reserved Instances
3787
+ * discounts. Savings opportunity includes the estimated monthly savings and percentage.
3332
3788
  * </p>
3333
3789
  */
3334
- instanceGpuInfo?: GpuInfo;
3790
+ savingsOpportunityAfterDiscounts?: InstanceSavingsOpportunityAfterDiscounts;
3335
3791
  }
3336
3792
  /**
3337
3793
  * @public
@@ -4256,6 +4712,49 @@ export interface ServiceConfiguration {
4256
4712
  */
4257
4713
  taskDefinitionArn?: string;
4258
4714
  }
4715
+ /**
4716
+ * @public
4717
+ * @enum
4718
+ */
4719
+ export declare const ECSSavingsEstimationModeSource: {
4720
+ readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
4721
+ readonly COST_OPTIMIZATION_HUB: "CostOptimizationHub";
4722
+ readonly PUBLIC_PRICING: "PublicPricing";
4723
+ };
4724
+ /**
4725
+ * @public
4726
+ */
4727
+ export type ECSSavingsEstimationModeSource = (typeof ECSSavingsEstimationModeSource)[keyof typeof ECSSavingsEstimationModeSource];
4728
+ /**
4729
+ * @public
4730
+ * <p>
4731
+ * Describes the savings estimation mode used for calculating savings opportunity for Amazon ECS services.
4732
+ * </p>
4733
+ */
4734
+ export interface ECSSavingsEstimationMode {
4735
+ /**
4736
+ * @public
4737
+ * <p>
4738
+ * Describes the source for calculating the savings opportunity for Amazon ECS services.
4739
+ * </p>
4740
+ */
4741
+ source?: ECSSavingsEstimationModeSource;
4742
+ }
4743
+ /**
4744
+ * @public
4745
+ * <p>
4746
+ * Describes the effective recommendation preferences for Amazon ECS services.
4747
+ * </p>
4748
+ */
4749
+ export interface ECSEffectiveRecommendationPreferences {
4750
+ /**
4751
+ * @public
4752
+ * <p>
4753
+ * Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon ECS services.
4754
+ * </p>
4755
+ */
4756
+ savingsEstimationMode?: ECSSavingsEstimationMode;
4757
+ }
4259
4758
  /**
4260
4759
  * @public
4261
4760
  * @enum
@@ -4396,6 +4895,55 @@ export interface ECSServiceProjectedUtilizationMetric {
4396
4895
  */
4397
4896
  upperBoundValue?: number;
4398
4897
  }
4898
+ /**
4899
+ * @public
4900
+ * <p>
4901
+ * Describes the estimated monthly savings possible for Amazon ECS services by adopting Compute Optimizer recommendations.
4902
+ * This is based on Amazon ECS service pricing after applying Savings Plans discounts.
4903
+ * </p>
4904
+ */
4905
+ export interface ECSEstimatedMonthlySavings {
4906
+ /**
4907
+ * @public
4908
+ * <p>
4909
+ * The currency of the estimated monthly savings.
4910
+ * </p>
4911
+ */
4912
+ currency?: Currency;
4913
+ /**
4914
+ * @public
4915
+ * <p>
4916
+ * The value of the estimated monthly savings for Amazon ECS services.
4917
+ * </p>
4918
+ */
4919
+ value?: number;
4920
+ }
4921
+ /**
4922
+ * @public
4923
+ * <p>
4924
+ * Describes the savings opportunity for Amazon ECS service recommendations after applying Savings Plans discounts.
4925
+ * </p>
4926
+ * <p>Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts.
4927
+ * You can achieve this by implementing a given Compute Optimizer recommendation.</p>
4928
+ */
4929
+ export interface ECSSavingsOpportunityAfterDiscounts {
4930
+ /**
4931
+ * @public
4932
+ * <p>
4933
+ * The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s
4934
+ * Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
4935
+ * </p>
4936
+ */
4937
+ savingsOpportunityPercentage?: number;
4938
+ /**
4939
+ * @public
4940
+ * <p>
4941
+ * The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations.
4942
+ * This includes any applicable Savings Plans discounts.
4943
+ * </p>
4944
+ */
4945
+ estimatedMonthlySavings?: ECSEstimatedMonthlySavings;
4946
+ }
4399
4947
  /**
4400
4948
  * @public
4401
4949
  * <p>
@@ -4451,6 +4999,15 @@ export interface ECSServiceRecommendationOption {
4451
4999
  * </p>
4452
5000
  */
4453
5001
  containerRecommendations?: ContainerRecommendation[];
5002
+ /**
5003
+ * @public
5004
+ * <p>
5005
+ * Describes the savings opportunity for Amazon ECS service recommendations or for the recommendation option.
5006
+ * </p>
5007
+ * <p>Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts.
5008
+ * You can achieve this by implementing a given Compute Optimizer recommendation.</p>
5009
+ */
5010
+ savingsOpportunityAfterDiscounts?: ECSSavingsOpportunityAfterDiscounts;
4454
5011
  }
4455
5012
  /**
4456
5013
  * @public
@@ -4673,6 +5230,13 @@ export interface ECSServiceRecommendation {
4673
5230
  * </p>
4674
5231
  */
4675
5232
  tags?: Tag[];
5233
+ /**
5234
+ * @public
5235
+ * <p>
5236
+ * Describes the effective recommendation preferences for Amazon ECS services.
5237
+ * </p>
5238
+ */
5239
+ effectiveRecommendationPreferences?: ECSEffectiveRecommendationPreferences;
4676
5240
  }
4677
5241
  /**
4678
5242
  * @public
@@ -4748,6 +5312,41 @@ export interface GetEffectiveRecommendationPreferencesResponse {
4748
5312
  * Guide</i>.</p>
4749
5313
  */
4750
5314
  externalMetricsPreference?: ExternalMetricsPreference;
5315
+ /**
5316
+ * @public
5317
+ * <p>
5318
+ * The number of days the utilization metrics of the Amazon Web Services resource are analyzed.
5319
+ * </p>
5320
+ * <p>To validate that the preference is applied to your last generated set of recommendations, review
5321
+ * the <code>effectiveRecommendationPreferences</code> value in the response of the
5322
+ * GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.</p>
5323
+ */
5324
+ lookBackPeriod?: LookBackPeriodPreference;
5325
+ /**
5326
+ * @public
5327
+ * <p>
5328
+ * The resource’s CPU utilization threshold preferences, such as threshold and headroom,
5329
+ * that were used to generate rightsizing recommendations. It considers all applicable preferences
5330
+ * that you set at the resource, account, and organization level.
5331
+ * </p>
5332
+ * <p>To validate that the preference is applied to your last generated set of recommendations, review the
5333
+ * <code>effectiveRecommendationPreferences</code> value in the response of the
5334
+ * GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.</p>
5335
+ */
5336
+ utilizationPreferences?: UtilizationPreference[];
5337
+ /**
5338
+ * @public
5339
+ * <p>
5340
+ * The resource type values that are considered as candidates when generating rightsizing recommendations.
5341
+ * This object resolves any wildcard expressions and returns the effective list of candidate resource type
5342
+ * values. It also considers all applicable preferences that you set at the resource, account, and
5343
+ * organization level.
5344
+ * </p>
5345
+ * <p>To validate that the preference is applied to your last generated set of recommendations, review the
5346
+ * <code>effectiveRecommendationPreferences</code> value in the response of the GetAutoScalingGroupRecommendations
5347
+ * or GetEC2InstanceRecommendations actions.</p>
5348
+ */
5349
+ preferredResources?: EffectivePreferredResource[];
4751
5350
  }
4752
5351
  /**
4753
5352
  * @public
@@ -4909,6 +5508,49 @@ export interface GetLambdaFunctionRecommendationsRequest {
4909
5508
  */
4910
5509
  maxResults?: number;
4911
5510
  }
5511
+ /**
5512
+ * @public
5513
+ * @enum
5514
+ */
5515
+ export declare const LambdaSavingsEstimationModeSource: {
5516
+ readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
5517
+ readonly COST_OPTIMIZATION_HUB: "CostOptimizationHub";
5518
+ readonly PUBLIC_PRICING: "PublicPricing";
5519
+ };
5520
+ /**
5521
+ * @public
5522
+ */
5523
+ export type LambdaSavingsEstimationModeSource = (typeof LambdaSavingsEstimationModeSource)[keyof typeof LambdaSavingsEstimationModeSource];
5524
+ /**
5525
+ * @public
5526
+ * <p>
5527
+ * Describes the savings estimation used for calculating savings opportunity for Lambda functions.
5528
+ * </p>
5529
+ */
5530
+ export interface LambdaSavingsEstimationMode {
5531
+ /**
5532
+ * @public
5533
+ * <p>
5534
+ * Describes the source for calculation of savings opportunity for Lambda functions.
5535
+ * </p>
5536
+ */
5537
+ source?: LambdaSavingsEstimationModeSource;
5538
+ }
5539
+ /**
5540
+ * @public
5541
+ * <p>
5542
+ * Describes the effective recommendation preferences for Lambda functions.
5543
+ * </p>
5544
+ */
5545
+ export interface LambdaEffectiveRecommendationPreferences {
5546
+ /**
5547
+ * @public
5548
+ * <p>
5549
+ * Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.
5550
+ * </p>
5551
+ */
5552
+ savingsEstimationMode?: LambdaSavingsEstimationMode;
5553
+ }
4912
5554
  /**
4913
5555
  * @public
4914
5556
  * @enum
@@ -4982,6 +5624,55 @@ export interface LambdaFunctionMemoryProjectedMetric {
4982
5624
  */
4983
5625
  value?: number;
4984
5626
  }
5627
+ /**
5628
+ * @public
5629
+ * <p>
5630
+ * Describes the estimated monthly savings possible for Lambda functions by adopting Compute Optimizer recommendations. This is based
5631
+ * on Lambda functions pricing after applying Savings Plans discounts.
5632
+ * </p>
5633
+ */
5634
+ export interface LambdaEstimatedMonthlySavings {
5635
+ /**
5636
+ * @public
5637
+ * <p>
5638
+ * The currency of the estimated monthly savings.
5639
+ * </p>
5640
+ */
5641
+ currency?: Currency;
5642
+ /**
5643
+ * @public
5644
+ * <p>
5645
+ * The value of the estimated monthly savings.
5646
+ * </p>
5647
+ */
5648
+ value?: number;
5649
+ }
5650
+ /**
5651
+ * @public
5652
+ * <p>
5653
+ * Describes the savings opportunity for Lambda functions recommendations after applying Savings Plans discounts.
5654
+ * </p>
5655
+ * <p>Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts.
5656
+ * You can achieve this by implementing a given Compute Optimizer recommendation.</p>
5657
+ */
5658
+ export interface LambdaSavingsOpportunityAfterDiscounts {
5659
+ /**
5660
+ * @public
5661
+ * <p>
5662
+ * The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Lambda
5663
+ * function recommendations. This includes any applicable Savings Plans discounts.
5664
+ * </p>
5665
+ */
5666
+ savingsOpportunityPercentage?: number;
5667
+ /**
5668
+ * @public
5669
+ * <p>
5670
+ * The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations. This
5671
+ * includes any applicable Savings Plans discounts.
5672
+ * </p>
5673
+ */
5674
+ estimatedMonthlySavings?: LambdaEstimatedMonthlySavings;
5675
+ }
4985
5676
  /**
4986
5677
  * @public
4987
5678
  * <p>Describes a recommendation option for an Lambda function.</p>
@@ -5011,6 +5702,14 @@ export interface LambdaFunctionMemoryRecommendationOption {
5011
5702
  * and percentage.</p>
5012
5703
  */
5013
5704
  savingsOpportunity?: SavingsOpportunity;
5705
+ /**
5706
+ * @public
5707
+ * <p>
5708
+ * An object that describes the savings opportunity for the Lambda recommendation option which includes Saving Plans
5709
+ * discounts. Savings opportunity includes the estimated monthly savings and percentage.
5710
+ * </p>
5711
+ */
5712
+ savingsOpportunityAfterDiscounts?: LambdaSavingsOpportunityAfterDiscounts;
5014
5713
  }
5015
5714
  /**
5016
5715
  * @public
@@ -5246,6 +5945,13 @@ export interface LambdaFunctionRecommendation {
5246
5945
  * </p>
5247
5946
  */
5248
5947
  tags?: Tag[];
5948
+ /**
5949
+ * @public
5950
+ * <p>
5951
+ * Describes the effective recommendation preferences for Lambda functions.
5952
+ * </p>
5953
+ */
5954
+ effectiveRecommendationPreferences?: LambdaEffectiveRecommendationPreferences;
5249
5955
  }
5250
5956
  /**
5251
5957
  * @public
@@ -5715,6 +6421,18 @@ export interface GetRecommendationPreferencesRequest {
5715
6421
  */
5716
6422
  maxResults?: number;
5717
6423
  }
6424
+ /**
6425
+ * @public
6426
+ * @enum
6427
+ */
6428
+ export declare const SavingsEstimationMode: {
6429
+ readonly AFTER_DISCOUNTS: "AfterDiscounts";
6430
+ readonly BEFORE_DISCOUNTS: "BeforeDiscounts";
6431
+ };
6432
+ /**
6433
+ * @public
6434
+ */
6435
+ export type SavingsEstimationMode = (typeof SavingsEstimationMode)[keyof typeof SavingsEstimationMode];
5718
6436
  /**
5719
6437
  * @public
5720
6438
  * <p>Describes a recommendation preference.</p>
@@ -5767,6 +6485,42 @@ export interface RecommendationPreferencesDetail {
5767
6485
  * to the recommendations already, then this object doesn't appear in the response. </p>
5768
6486
  */
5769
6487
  externalMetricsPreference?: ExternalMetricsPreference;
6488
+ /**
6489
+ * @public
6490
+ * <p>
6491
+ * The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed.
6492
+ * If the preference isn’t set, this object is null.
6493
+ * </p>
6494
+ */
6495
+ lookBackPeriod?: LookBackPeriodPreference;
6496
+ /**
6497
+ * @public
6498
+ * <p>
6499
+ * The preference to control the resource’s CPU utilization thresholds - threshold and headroom.
6500
+ * If the preference isn’t set, this object is null.
6501
+ * </p>
6502
+ * <note>
6503
+ * <p>This preference is only available for the Amazon EC2 instance resource type.</p>
6504
+ * </note>
6505
+ */
6506
+ utilizationPreferences?: UtilizationPreference[];
6507
+ /**
6508
+ * @public
6509
+ * <p>
6510
+ * The preference to control which resource type values are considered when generating rightsizing recommendations.
6511
+ * This object resolves any wildcard expressions and returns the effective list of candidate resource type values.
6512
+ * If the preference isn’t set, this object is null.
6513
+ * </p>
6514
+ */
6515
+ preferredResources?: EffectivePreferredResource[];
6516
+ /**
6517
+ * @public
6518
+ * <p>
6519
+ * Describes the savings estimation mode used for calculating savings opportunity.
6520
+ * </p>
6521
+ * <p>Only the account manager or delegated administrator of your organization can activate this preference.</p>
6522
+ */
6523
+ savingsEstimationMode?: SavingsEstimationMode;
5770
6524
  }
5771
6525
  /**
5772
6526
  * @public
@@ -6020,6 +6774,56 @@ export interface GetRecommendationSummariesResponse {
6020
6774
  */
6021
6775
  recommendationSummaries?: RecommendationSummary[];
6022
6776
  }
6777
+ /**
6778
+ * @public
6779
+ * <p>
6780
+ * The preference to control which resource type values are considered when generating rightsizing recommendations.
6781
+ * You can specify this preference as a combination of include and exclude lists. You must specify either an
6782
+ * <code>includeList</code> or <code>excludeList</code>. If the preference is an empty set of resource type values,
6783
+ * an error occurs. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/rightsizing-preferences.html">
6784
+ * Rightsizing recommendation preferences</a> in the <i>Compute Optimizer User
6785
+ * Guide</i>.
6786
+ * </p>
6787
+ * <note>
6788
+ * <ul>
6789
+ * <li>
6790
+ * <p>This preference is only available for the Amazon EC2 instance and Auto Scaling group resource types.</p>
6791
+ * </li>
6792
+ * <li>
6793
+ * <p>Compute Optimizer only supports the customization of <code>Ec2InstanceTypes</code>.</p>
6794
+ * </li>
6795
+ * </ul>
6796
+ * </note>
6797
+ */
6798
+ export interface PreferredResource {
6799
+ /**
6800
+ * @public
6801
+ * <p>
6802
+ * The type of preferred resource to customize.
6803
+ * </p>
6804
+ * <note>
6805
+ * <p>Compute Optimizer only supports the customization of <code>Ec2InstanceTypes</code>.</p>
6806
+ * </note>
6807
+ */
6808
+ name?: PreferredResourceName;
6809
+ /**
6810
+ * @public
6811
+ * <p>
6812
+ * The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value,
6813
+ * such as m5.large, or use wild card expressions, such as m5. If this isn’t specified, all supported resources are included by default.
6814
+ * You can specify up to 1000 values in this list.
6815
+ * </p>
6816
+ */
6817
+ includeList?: string[];
6818
+ /**
6819
+ * @public
6820
+ * <p>
6821
+ * The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported
6822
+ * resources are included by default. You can specify up to 1000 values in this list.
6823
+ * </p>
6824
+ */
6825
+ excludeList?: string[];
6826
+ }
6023
6827
  /**
6024
6828
  * @public
6025
6829
  */
@@ -6094,6 +6898,62 @@ export interface PutRecommendationPreferencesRequest {
6094
6898
  * Guide</i>.</p>
6095
6899
  */
6096
6900
  externalMetricsPreference?: ExternalMetricsPreference;
6901
+ /**
6902
+ * @public
6903
+ * <p>
6904
+ * The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed.
6905
+ * When this preference isn't specified, we use the default value <code>DAYS_14</code>.
6906
+ * </p>
6907
+ * <note>
6908
+ * <p>You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.</p>
6909
+ * </note>
6910
+ */
6911
+ lookBackPeriod?: LookBackPeriodPreference;
6912
+ /**
6913
+ * @public
6914
+ * <p>
6915
+ * The preference to control the resource’s CPU utilization thresholds - threshold and headroom. When this
6916
+ * preference isn't specified, we use the following default values:
6917
+ * </p>
6918
+ * <ul>
6919
+ * <li>
6920
+ * <p>
6921
+ * <code>P99_5</code> for threshold</p>
6922
+ * </li>
6923
+ * <li>
6924
+ * <p>
6925
+ * <code>PERCENT_17</code> for headroom</p>
6926
+ * </li>
6927
+ * </ul>
6928
+ * <note>
6929
+ * <p>You can only set this preference for the Amazon EC2 instance resource type.</p>
6930
+ * </note>
6931
+ */
6932
+ utilizationPreferences?: UtilizationPreference[];
6933
+ /**
6934
+ * @public
6935
+ * <p>
6936
+ * The preference to control which resource type values are considered when generating rightsizing recommendations.
6937
+ * You can specify this preference as a combination of include and exclude lists. You must specify either an
6938
+ * <code>includeList</code> or <code>excludeList</code>. If the preference is an empty set of resource type values,
6939
+ * an error occurs.
6940
+ * </p>
6941
+ * <note>
6942
+ * <p>You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.</p>
6943
+ * </note>
6944
+ */
6945
+ preferredResources?: PreferredResource[];
6946
+ /**
6947
+ * @public
6948
+ * <p>
6949
+ * The status of the savings estimation mode preference to create or update.
6950
+ * </p>
6951
+ * <p>Specify the <code>AfterDiscounts</code> status to activate the preference, or specify <code>BeforeDiscounts</code> to deactivate the preference.</p>
6952
+ * <p>Only the account manager or delegated administrator of your organization can activate this preference.</p>
6953
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/savings-estimation-mode.html">
6954
+ * Savings estimation mode</a> in the <i>Compute Optimizer User Guide</i>.</p>
6955
+ */
6956
+ savingsEstimationMode?: SavingsEstimationMode;
6097
6957
  }
6098
6958
  /**
6099
6959
  * @public