@aws-sdk/client-compute-optimizer 3.454.0 → 3.460.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.
@@ -32,6 +32,15 @@ export interface AutoScalingGroupConfiguration {
32
32
  maxSize?: number;
33
33
  instanceType?: string;
34
34
  }
35
+ export declare const Currency: {
36
+ readonly CNY: "CNY";
37
+ readonly USD: "USD";
38
+ };
39
+ export type Currency = (typeof Currency)[keyof typeof Currency];
40
+ export interface AutoScalingGroupEstimatedMonthlySavings {
41
+ currency?: Currency;
42
+ value?: number;
43
+ }
35
44
  export interface Gpu {
36
45
  gpuCount?: number;
37
46
  gpuMemorySizeInMiB?: number;
@@ -76,11 +85,70 @@ export declare const InferredWorkloadTypesPreference: {
76
85
  };
77
86
  export type InferredWorkloadTypesPreference =
78
87
  (typeof InferredWorkloadTypesPreference)[keyof typeof InferredWorkloadTypesPreference];
88
+ export declare const LookBackPeriodPreference: {
89
+ readonly DAYS_14: "DAYS_14";
90
+ readonly DAYS_32: "DAYS_32";
91
+ readonly DAYS_93: "DAYS_93";
92
+ };
93
+ export type LookBackPeriodPreference =
94
+ (typeof LookBackPeriodPreference)[keyof typeof LookBackPeriodPreference];
95
+ export declare const PreferredResourceName: {
96
+ readonly EC2_INSTANCE_TYPES: "Ec2InstanceTypes";
97
+ };
98
+ export type PreferredResourceName =
99
+ (typeof PreferredResourceName)[keyof typeof PreferredResourceName];
100
+ export interface EffectivePreferredResource {
101
+ name?: PreferredResourceName;
102
+ includeList?: string[];
103
+ effectiveIncludeList?: string[];
104
+ excludeList?: string[];
105
+ }
106
+ export declare const InstanceSavingsEstimationModeSource: {
107
+ readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
108
+ readonly COST_OPTIMIZATION_HUB: "CostOptimizationHub";
109
+ readonly PUBLIC_PRICING: "PublicPricing";
110
+ };
111
+ export type InstanceSavingsEstimationModeSource =
112
+ (typeof InstanceSavingsEstimationModeSource)[keyof typeof InstanceSavingsEstimationModeSource];
113
+ export interface InstanceSavingsEstimationMode {
114
+ source?: InstanceSavingsEstimationModeSource;
115
+ }
116
+ export declare const CustomizableMetricName: {
117
+ readonly CPU_UTILIZATION: "CpuUtilization";
118
+ };
119
+ export type CustomizableMetricName =
120
+ (typeof CustomizableMetricName)[keyof typeof CustomizableMetricName];
121
+ export declare const CustomizableMetricHeadroom: {
122
+ readonly PERCENT_0: "PERCENT_0";
123
+ readonly PERCENT_20: "PERCENT_20";
124
+ readonly PERCENT_30: "PERCENT_30";
125
+ };
126
+ export type CustomizableMetricHeadroom =
127
+ (typeof CustomizableMetricHeadroom)[keyof typeof CustomizableMetricHeadroom];
128
+ export declare const CustomizableMetricThreshold: {
129
+ readonly P90: "P90";
130
+ readonly P95: "P95";
131
+ readonly P99_5: "P99_5";
132
+ };
133
+ export type CustomizableMetricThreshold =
134
+ (typeof CustomizableMetricThreshold)[keyof typeof CustomizableMetricThreshold];
135
+ export interface CustomizableMetricParameters {
136
+ threshold?: CustomizableMetricThreshold;
137
+ headroom?: CustomizableMetricHeadroom;
138
+ }
139
+ export interface UtilizationPreference {
140
+ metricName?: CustomizableMetricName;
141
+ metricParameters?: CustomizableMetricParameters;
142
+ }
79
143
  export interface EffectiveRecommendationPreferences {
80
144
  cpuVendorArchitectures?: CpuVendorArchitecture[];
81
145
  enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
82
146
  inferredWorkloadTypes?: InferredWorkloadTypesPreference;
83
147
  externalMetricsPreference?: ExternalMetricsPreference;
148
+ lookBackPeriod?: LookBackPeriodPreference;
149
+ utilizationPreferences?: UtilizationPreference[];
150
+ preferredResources?: EffectivePreferredResource[];
151
+ savingsEstimationMode?: InstanceSavingsEstimationMode;
84
152
  }
85
153
  export declare const Finding: {
86
154
  readonly NOT_OPTIMIZED: "NotOptimized";
@@ -140,11 +208,6 @@ export interface UtilizationMetric {
140
208
  statistic?: MetricStatistic;
141
209
  value?: number;
142
210
  }
143
- export declare const Currency: {
144
- readonly CNY: "CNY";
145
- readonly USD: "USD";
146
- };
147
- export type Currency = (typeof Currency)[keyof typeof Currency];
148
211
  export interface EstimatedMonthlySavings {
149
212
  currency?: Currency;
150
213
  value?: number;
@@ -153,6 +216,10 @@ export interface SavingsOpportunity {
153
216
  savingsOpportunityPercentage?: number;
154
217
  estimatedMonthlySavings?: EstimatedMonthlySavings;
155
218
  }
219
+ export interface AutoScalingGroupSavingsOpportunityAfterDiscounts {
220
+ savingsOpportunityPercentage?: number;
221
+ estimatedMonthlySavings?: AutoScalingGroupEstimatedMonthlySavings;
222
+ }
156
223
  export interface AutoScalingGroupRecommendationOption {
157
224
  configuration?: AutoScalingGroupConfiguration;
158
225
  projectedUtilizationMetrics?: UtilizationMetric[];
@@ -161,6 +228,7 @@ export interface AutoScalingGroupRecommendationOption {
161
228
  savingsOpportunity?: SavingsOpportunity;
162
229
  migrationEffort?: MigrationEffort;
163
230
  instanceGpuInfo?: GpuInfo;
231
+ savingsOpportunityAfterDiscounts?: AutoScalingGroupSavingsOpportunityAfterDiscounts;
164
232
  }
165
233
  export interface AutoScalingGroupRecommendation {
166
234
  accountId?: string;
@@ -181,6 +249,9 @@ export declare const RecommendationPreferenceName: {
181
249
  readonly ENHANCED_INFRASTRUCTURE_METRICS: "EnhancedInfrastructureMetrics";
182
250
  readonly EXTERNAL_METRICS_PREFERENCE: "ExternalMetricsPreference";
183
251
  readonly INFERRED_WORKLOAD_TYPES: "InferredWorkloadTypes";
252
+ readonly LOOKBACK_PERIOD_PREFERENCE: "LookBackPeriodPreference";
253
+ readonly PREFERRED_RESOURCES: "PreferredResources";
254
+ readonly UTILIZATION_PREFERENCES: "UtilizationPreferences";
184
255
  };
185
256
  export type RecommendationPreferenceName =
186
257
  (typeof RecommendationPreferenceName)[keyof typeof RecommendationPreferenceName];
@@ -322,6 +393,9 @@ export declare const ExportableAutoScalingGroupField: {
322
393
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES: "EffectiveRecommendationPreferencesCpuVendorArchitectures";
323
394
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS: "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
324
395
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES: "EffectiveRecommendationPreferencesInferredWorkloadTypes";
396
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_LOOKBACK_PERIOD: "EffectiveRecommendationPreferencesLookBackPeriod";
397
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_PREFERRED_RESOURCES: "EffectiveRecommendationPreferencesPreferredResources";
398
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
325
399
  readonly FINDING: "Finding";
326
400
  readonly INFERRED_WORKLOAD_TYPES: "InferredWorkloadTypes";
327
401
  readonly LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp";
@@ -331,7 +405,9 @@ export declare const ExportableAutoScalingGroupField: {
331
405
  readonly RECOMMENDATION_OPTIONS_CONFIGURATION_MAX_SIZE: "RecommendationOptionsConfigurationMaxSize";
332
406
  readonly RECOMMENDATION_OPTIONS_CONFIGURATION_MIN_SIZE: "RecommendationOptionsConfigurationMinSize";
333
407
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
408
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
334
409
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
410
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
335
411
  readonly RECOMMENDATION_OPTIONS_INSTANCE_GPU_INFO: "RecommendationOptionsInstanceGpuInfo";
336
412
  readonly RECOMMENDATION_OPTIONS_MEMORY: "RecommendationOptionsMemory";
337
413
  readonly RECOMMENDATION_OPTIONS_MIGRATION_EFFORT: "RecommendationOptionsMigrationEffort";
@@ -342,6 +418,7 @@ export declare const ExportableAutoScalingGroupField: {
342
418
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum";
343
419
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_MEMORY_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum";
344
420
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_MEMORY_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum";
421
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
345
422
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
346
423
  readonly RECOMMENDATION_OPTIONS_STANDARD_ONE_YEAR_NO_UPFRONT_RESERVED_PRICE: "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice";
347
424
  readonly RECOMMENDATION_OPTIONS_STANDARD_THREE_YEAR_NO_UPFRONT_RESERVED_PRICE: "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice";
@@ -419,6 +496,7 @@ export declare const ExportableVolumeField: {
419
496
  readonly CURRENT_CONFIGURATION_VOLUME_TYPE: "CurrentConfigurationVolumeType";
420
497
  readonly CURRENT_MONTHLY_PRICE: "CurrentMonthlyPrice";
421
498
  readonly CURRENT_PERFORMANCE_RISK: "CurrentPerformanceRisk";
499
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
422
500
  readonly FINDING: "Finding";
423
501
  readonly LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp";
424
502
  readonly LOOKBACK_PERIOD_IN_DAYS: "LookbackPeriodInDays";
@@ -429,9 +507,12 @@ export declare const ExportableVolumeField: {
429
507
  readonly RECOMMENDATION_OPTIONS_CONFIGURATION_VOLUME_SIZE: "RecommendationOptionsConfigurationVolumeSize";
430
508
  readonly RECOMMENDATION_OPTIONS_CONFIGURATION_VOLUME_TYPE: "RecommendationOptionsConfigurationVolumeType";
431
509
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
510
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
432
511
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
512
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
433
513
  readonly RECOMMENDATION_OPTIONS_MONTHLY_PRICE: "RecommendationOptionsMonthlyPrice";
434
514
  readonly RECOMMENDATION_OPTIONS_PERFORMANCE_RISK: "RecommendationOptionsPerformanceRisk";
515
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
435
516
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
436
517
  readonly ROOT_VOLUME: "RootVolume";
437
518
  readonly TAGS: "Tags";
@@ -479,6 +560,10 @@ export declare const ExportableInstanceField: {
479
560
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS: "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
480
561
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_EXTERNAL_METRICS_SOURCE: "EffectiveRecommendationPreferencesExternalMetricsSource";
481
562
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES: "EffectiveRecommendationPreferencesInferredWorkloadTypes";
563
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_LOOKBACK_PERIOD: "EffectiveRecommendationPreferencesLookBackPeriod";
564
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_PREFERRED_RESOURCES: "EffectiveRecommendationPreferencesPreferredResources";
565
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
566
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_UTILIZATION_PREFERENCES: "EffectiveRecommendationPreferencesUtilizationPreferences";
482
567
  readonly EXTERNAL_METRIC_STATUS_CODE: "ExternalMetricStatusCode";
483
568
  readonly EXTERNAL_METRIC_STATUS_REASON: "ExternalMetricStatusReason";
484
569
  readonly FINDING: "Finding";
@@ -493,7 +578,9 @@ export declare const ExportableInstanceField: {
493
578
  readonly RECOMMENDATIONS_SOURCES_RECOMMENDATION_SOURCE_ARN: "RecommendationsSourcesRecommendationSourceArn";
494
579
  readonly RECOMMENDATIONS_SOURCES_RECOMMENDATION_SOURCE_TYPE: "RecommendationsSourcesRecommendationSourceType";
495
580
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
581
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
496
582
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
583
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
497
584
  readonly RECOMMENDATION_OPTIONS_INSTANCE_GPU_INFO: "RecommendationOptionsInstanceGpuInfo";
498
585
  readonly RECOMMENDATION_OPTIONS_INSTANCE_TYPE: "RecommendationOptionsInstanceType";
499
586
  readonly RECOMMENDATION_OPTIONS_MEMORY: "RecommendationOptionsMemory";
@@ -506,6 +593,7 @@ export declare const ExportableInstanceField: {
506
593
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_MEMORY_PERCENTAGE_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum";
507
594
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_PERCENTAGE_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum";
508
595
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_MEMORY_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum";
596
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
509
597
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
510
598
  readonly RECOMMENDATION_OPTIONS_STANDARD_ONE_YEAR_NO_UPFRONT_RESERVED_PRICE: "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice";
511
599
  readonly RECOMMENDATION_OPTIONS_STANDARD_THREE_YEAR_NO_UPFRONT_RESERVED_PRICE: "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice";
@@ -552,6 +640,7 @@ export declare const ExportableECSServiceField: {
552
640
  readonly CURRENT_SERVICE_CONFIGURATION_MEMORY: "CurrentServiceConfigurationMemory";
553
641
  readonly CURRENT_SERVICE_CONFIGURATION_TASK_DEFINITION_ARN: "CurrentServiceConfigurationTaskDefinitionArn";
554
642
  readonly CURRENT_SERVICE_CONTAINER_CONFIGURATIONS: "CurrentServiceContainerConfigurations";
643
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
555
644
  readonly FINDING: "Finding";
556
645
  readonly FINDING_REASON_CODES: "FindingReasonCodes";
557
646
  readonly LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp";
@@ -560,10 +649,13 @@ export declare const ExportableECSServiceField: {
560
649
  readonly RECOMMENDATION_OPTIONS_CONTAINER_RECOMMENDATIONS: "RecommendationOptionsContainerRecommendations";
561
650
  readonly RECOMMENDATION_OPTIONS_CPU: "RecommendationOptionsCpu";
562
651
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
652
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
563
653
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
654
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
564
655
  readonly RECOMMENDATION_OPTIONS_MEMORY: "RecommendationOptionsMemory";
565
656
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_CPU_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum";
566
657
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_MEMORY_MAXIMUM: "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum";
658
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
567
659
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
568
660
  readonly SERVICE_ARN: "ServiceArn";
569
661
  readonly TAGS: "Tags";
@@ -601,6 +693,7 @@ export declare const ExportableLambdaFunctionField: {
601
693
  readonly CURRENT_COST_AVERAGE: "CurrentCostAverage";
602
694
  readonly CURRENT_COST_TOTAL: "CurrentCostTotal";
603
695
  readonly CURRENT_PERFORMANCE_RISK: "CurrentPerformanceRisk";
696
+ readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
604
697
  readonly FINDING: "Finding";
605
698
  readonly FINDING_REASON_CODES: "FindingReasonCodes";
606
699
  readonly FUNCTION_ARN: "FunctionArn";
@@ -612,10 +705,13 @@ export declare const ExportableLambdaFunctionField: {
612
705
  readonly RECOMMENDATION_OPTIONS_COST_HIGH: "RecommendationOptionsCostHigh";
613
706
  readonly RECOMMENDATION_OPTIONS_COST_LOW: "RecommendationOptionsCostLow";
614
707
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "RecommendationOptionsEstimatedMonthlySavingsCurrency";
708
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
615
709
  readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "RecommendationOptionsEstimatedMonthlySavingsValue";
710
+ readonly RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
616
711
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_DURATION_EXPECTED: "RecommendationOptionsProjectedUtilizationMetricsDurationExpected";
617
712
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_DURATION_LOWER_BOUND: "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound";
618
713
  readonly RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_DURATION_UPPER_BOUND: "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound";
714
+ readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
619
715
  readonly RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "RecommendationOptionsSavingsOpportunityPercentage";
620
716
  readonly TAGS: "Tags";
621
717
  readonly UTILIZATION_METRICS_DURATION_AVERAGE: "UtilizationMetricsDurationAverage";
@@ -729,6 +825,19 @@ export interface VolumeConfiguration {
729
825
  volumeBurstThroughput?: number;
730
826
  rootVolume?: boolean;
731
827
  }
828
+ export declare const EBSSavingsEstimationModeSource: {
829
+ readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
830
+ readonly COST_OPTIMIZATION_HUB: "CostOptimizationHub";
831
+ readonly PUBLIC_PRICING: "PublicPricing";
832
+ };
833
+ export type EBSSavingsEstimationModeSource =
834
+ (typeof EBSSavingsEstimationModeSource)[keyof typeof EBSSavingsEstimationModeSource];
835
+ export interface EBSSavingsEstimationMode {
836
+ source?: EBSSavingsEstimationModeSource;
837
+ }
838
+ export interface EBSEffectiveRecommendationPreferences {
839
+ savingsEstimationMode?: EBSSavingsEstimationMode;
840
+ }
732
841
  export declare const EBSFinding: {
733
842
  readonly NOT_OPTIMIZED: "NotOptimized";
734
843
  readonly OPTIMIZED: "Optimized";
@@ -750,11 +859,20 @@ export interface EBSUtilizationMetric {
750
859
  statistic?: MetricStatistic;
751
860
  value?: number;
752
861
  }
862
+ export interface EBSEstimatedMonthlySavings {
863
+ currency?: Currency;
864
+ value?: number;
865
+ }
866
+ export interface EBSSavingsOpportunityAfterDiscounts {
867
+ savingsOpportunityPercentage?: number;
868
+ estimatedMonthlySavings?: EBSEstimatedMonthlySavings;
869
+ }
753
870
  export interface VolumeRecommendationOption {
754
871
  configuration?: VolumeConfiguration;
755
872
  performanceRisk?: number;
756
873
  rank?: number;
757
874
  savingsOpportunity?: SavingsOpportunity;
875
+ savingsOpportunityAfterDiscounts?: EBSSavingsOpportunityAfterDiscounts;
758
876
  }
759
877
  export interface VolumeRecommendation {
760
878
  volumeArn?: string;
@@ -767,6 +885,7 @@ export interface VolumeRecommendation {
767
885
  lastRefreshTimestamp?: Date;
768
886
  currentPerformanceRisk?: CurrentPerformanceRisk;
769
887
  tags?: Tag[];
888
+ effectiveRecommendationPreferences?: EBSEffectiveRecommendationPreferences;
770
889
  }
771
890
  export interface GetEBSVolumeRecommendationsResponse {
772
891
  nextToken?: string;
@@ -847,6 +966,14 @@ export declare const PlatformDifference: {
847
966
  };
848
967
  export type PlatformDifference =
849
968
  (typeof PlatformDifference)[keyof typeof PlatformDifference];
969
+ export interface InstanceEstimatedMonthlySavings {
970
+ currency?: Currency;
971
+ value?: number;
972
+ }
973
+ export interface InstanceSavingsOpportunityAfterDiscounts {
974
+ savingsOpportunityPercentage?: number;
975
+ estimatedMonthlySavings?: InstanceEstimatedMonthlySavings;
976
+ }
850
977
  export interface InstanceRecommendationOption {
851
978
  instanceType?: string;
852
979
  projectedUtilizationMetrics?: UtilizationMetric[];
@@ -856,6 +983,7 @@ export interface InstanceRecommendationOption {
856
983
  savingsOpportunity?: SavingsOpportunity;
857
984
  migrationEffort?: MigrationEffort;
858
985
  instanceGpuInfo?: GpuInfo;
986
+ savingsOpportunityAfterDiscounts?: InstanceSavingsOpportunityAfterDiscounts;
859
987
  }
860
988
  export declare const RecommendationSourceType: {
861
989
  readonly AUTO_SCALING_GROUP: "AutoScalingGroup";
@@ -968,6 +1096,19 @@ export interface ServiceConfiguration {
968
1096
  autoScalingConfiguration?: AutoScalingConfiguration;
969
1097
  taskDefinitionArn?: string;
970
1098
  }
1099
+ export declare const ECSSavingsEstimationModeSource: {
1100
+ readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
1101
+ readonly COST_OPTIMIZATION_HUB: "CostOptimizationHub";
1102
+ readonly PUBLIC_PRICING: "PublicPricing";
1103
+ };
1104
+ export type ECSSavingsEstimationModeSource =
1105
+ (typeof ECSSavingsEstimationModeSource)[keyof typeof ECSSavingsEstimationModeSource];
1106
+ export interface ECSSavingsEstimationMode {
1107
+ source?: ECSSavingsEstimationModeSource;
1108
+ }
1109
+ export interface ECSEffectiveRecommendationPreferences {
1110
+ savingsEstimationMode?: ECSSavingsEstimationMode;
1111
+ }
971
1112
  export declare const ECSServiceRecommendationFinding: {
972
1113
  readonly OPTIMIZED: "Optimized";
973
1114
  readonly OVER_PROVISIONED: "Overprovisioned";
@@ -1006,12 +1147,21 @@ export interface ECSServiceProjectedUtilizationMetric {
1006
1147
  lowerBoundValue?: number;
1007
1148
  upperBoundValue?: number;
1008
1149
  }
1150
+ export interface ECSEstimatedMonthlySavings {
1151
+ currency?: Currency;
1152
+ value?: number;
1153
+ }
1154
+ export interface ECSSavingsOpportunityAfterDiscounts {
1155
+ savingsOpportunityPercentage?: number;
1156
+ estimatedMonthlySavings?: ECSEstimatedMonthlySavings;
1157
+ }
1009
1158
  export interface ECSServiceRecommendationOption {
1010
1159
  memory?: number;
1011
1160
  cpu?: number;
1012
1161
  savingsOpportunity?: SavingsOpportunity;
1013
1162
  projectedUtilizationMetrics?: ECSServiceProjectedUtilizationMetric[];
1014
1163
  containerRecommendations?: ContainerRecommendation[];
1164
+ savingsOpportunityAfterDiscounts?: ECSSavingsOpportunityAfterDiscounts;
1015
1165
  }
1016
1166
  export interface ECSServiceUtilizationMetric {
1017
1167
  name?: ECSServiceMetricName;
@@ -1031,6 +1181,7 @@ export interface ECSServiceRecommendation {
1031
1181
  serviceRecommendationOptions?: ECSServiceRecommendationOption[];
1032
1182
  currentPerformanceRisk?: CurrentPerformanceRisk;
1033
1183
  tags?: Tag[];
1184
+ effectiveRecommendationPreferences?: ECSEffectiveRecommendationPreferences;
1034
1185
  }
1035
1186
  export interface GetECSServiceRecommendationsResponse {
1036
1187
  nextToken?: string;
@@ -1043,6 +1194,9 @@ export interface GetEffectiveRecommendationPreferencesRequest {
1043
1194
  export interface GetEffectiveRecommendationPreferencesResponse {
1044
1195
  enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
1045
1196
  externalMetricsPreference?: ExternalMetricsPreference;
1197
+ lookBackPeriod?: LookBackPeriodPreference;
1198
+ utilizationPreferences?: UtilizationPreference[];
1199
+ preferredResources?: EffectivePreferredResource[];
1046
1200
  }
1047
1201
  export interface GetEnrollmentStatusRequest {}
1048
1202
  export interface GetEnrollmentStatusResponse {
@@ -1077,6 +1231,19 @@ export interface GetLambdaFunctionRecommendationsRequest {
1077
1231
  nextToken?: string;
1078
1232
  maxResults?: number;
1079
1233
  }
1234
+ export declare const LambdaSavingsEstimationModeSource: {
1235
+ readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
1236
+ readonly COST_OPTIMIZATION_HUB: "CostOptimizationHub";
1237
+ readonly PUBLIC_PRICING: "PublicPricing";
1238
+ };
1239
+ export type LambdaSavingsEstimationModeSource =
1240
+ (typeof LambdaSavingsEstimationModeSource)[keyof typeof LambdaSavingsEstimationModeSource];
1241
+ export interface LambdaSavingsEstimationMode {
1242
+ source?: LambdaSavingsEstimationModeSource;
1243
+ }
1244
+ export interface LambdaEffectiveRecommendationPreferences {
1245
+ savingsEstimationMode?: LambdaSavingsEstimationMode;
1246
+ }
1080
1247
  export declare const LambdaFunctionRecommendationFinding: {
1081
1248
  readonly NOT_OPTIMIZED: "NotOptimized";
1082
1249
  readonly OPTIMIZED: "Optimized";
@@ -1109,11 +1276,20 @@ export interface LambdaFunctionMemoryProjectedMetric {
1109
1276
  statistic?: LambdaFunctionMemoryMetricStatistic;
1110
1277
  value?: number;
1111
1278
  }
1279
+ export interface LambdaEstimatedMonthlySavings {
1280
+ currency?: Currency;
1281
+ value?: number;
1282
+ }
1283
+ export interface LambdaSavingsOpportunityAfterDiscounts {
1284
+ savingsOpportunityPercentage?: number;
1285
+ estimatedMonthlySavings?: LambdaEstimatedMonthlySavings;
1286
+ }
1112
1287
  export interface LambdaFunctionMemoryRecommendationOption {
1113
1288
  rank?: number;
1114
1289
  memorySize?: number;
1115
1290
  projectedUtilizationMetrics?: LambdaFunctionMemoryProjectedMetric[];
1116
1291
  savingsOpportunity?: SavingsOpportunity;
1292
+ savingsOpportunityAfterDiscounts?: LambdaSavingsOpportunityAfterDiscounts;
1117
1293
  }
1118
1294
  export declare const LambdaFunctionMetricName: {
1119
1295
  readonly DURATION: "Duration";
@@ -1146,6 +1322,7 @@ export interface LambdaFunctionRecommendation {
1146
1322
  memorySizeRecommendationOptions?: LambdaFunctionMemoryRecommendationOption[];
1147
1323
  currentPerformanceRisk?: CurrentPerformanceRisk;
1148
1324
  tags?: Tag[];
1325
+ effectiveRecommendationPreferences?: LambdaEffectiveRecommendationPreferences;
1149
1326
  }
1150
1327
  export interface GetLambdaFunctionRecommendationsResponse {
1151
1328
  nextToken?: string;
@@ -1238,12 +1415,22 @@ export interface GetRecommendationPreferencesRequest {
1238
1415
  nextToken?: string;
1239
1416
  maxResults?: number;
1240
1417
  }
1418
+ export declare const SavingsEstimationMode: {
1419
+ readonly AFTER_DISCOUNTS: "AfterDiscounts";
1420
+ readonly BEFORE_DISCOUNTS: "BeforeDiscounts";
1421
+ };
1422
+ export type SavingsEstimationMode =
1423
+ (typeof SavingsEstimationMode)[keyof typeof SavingsEstimationMode];
1241
1424
  export interface RecommendationPreferencesDetail {
1242
1425
  scope?: Scope;
1243
1426
  resourceType?: ResourceType;
1244
1427
  enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
1245
1428
  inferredWorkloadTypes?: InferredWorkloadTypesPreference;
1246
1429
  externalMetricsPreference?: ExternalMetricsPreference;
1430
+ lookBackPeriod?: LookBackPeriodPreference;
1431
+ utilizationPreferences?: UtilizationPreference[];
1432
+ preferredResources?: EffectivePreferredResource[];
1433
+ savingsEstimationMode?: SavingsEstimationMode;
1247
1434
  }
1248
1435
  export interface GetRecommendationPreferencesResponse {
1249
1436
  nextToken?: string;
@@ -1291,12 +1478,21 @@ export interface GetRecommendationSummariesResponse {
1291
1478
  nextToken?: string;
1292
1479
  recommendationSummaries?: RecommendationSummary[];
1293
1480
  }
1481
+ export interface PreferredResource {
1482
+ name?: PreferredResourceName;
1483
+ includeList?: string[];
1484
+ excludeList?: string[];
1485
+ }
1294
1486
  export interface PutRecommendationPreferencesRequest {
1295
1487
  resourceType: ResourceType | undefined;
1296
1488
  scope?: Scope;
1297
1489
  enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
1298
1490
  inferredWorkloadTypes?: InferredWorkloadTypesPreference;
1299
1491
  externalMetricsPreference?: ExternalMetricsPreference;
1492
+ lookBackPeriod?: LookBackPeriodPreference;
1493
+ utilizationPreferences?: UtilizationPreference[];
1494
+ preferredResources?: PreferredResource[];
1495
+ savingsEstimationMode?: SavingsEstimationMode;
1300
1496
  }
1301
1497
  export interface PutRecommendationPreferencesResponse {}
1302
1498
  export interface UpdateEnrollmentStatusRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-compute-optimizer",
3
3
  "description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
4
- "version": "3.454.0",
4
+ "version": "3.460.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,19 +21,19 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.454.0",
24
+ "@aws-sdk/client-sts": "3.460.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
- "@aws-sdk/credential-provider-node": "3.451.0",
27
- "@aws-sdk/middleware-host-header": "3.451.0",
28
- "@aws-sdk/middleware-logger": "3.451.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.451.0",
30
- "@aws-sdk/middleware-signing": "3.451.0",
31
- "@aws-sdk/middleware-user-agent": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.460.0",
27
+ "@aws-sdk/middleware-host-header": "3.460.0",
28
+ "@aws-sdk/middleware-logger": "3.460.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.460.0",
30
+ "@aws-sdk/middleware-signing": "3.460.0",
31
+ "@aws-sdk/middleware-user-agent": "3.460.0",
32
32
  "@aws-sdk/region-config-resolver": "3.451.0",
33
- "@aws-sdk/types": "3.451.0",
34
- "@aws-sdk/util-endpoints": "3.451.0",
35
- "@aws-sdk/util-user-agent-browser": "3.451.0",
36
- "@aws-sdk/util-user-agent-node": "3.451.0",
33
+ "@aws-sdk/types": "3.460.0",
34
+ "@aws-sdk/util-endpoints": "3.460.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.460.0",
36
+ "@aws-sdk/util-user-agent-node": "3.460.0",
37
37
  "@smithy/config-resolver": "^2.0.18",
38
38
  "@smithy/fetch-http-handler": "^2.2.6",
39
39
  "@smithy/hash-node": "^2.0.15",