cdk-lambda-subminute 2.0.310 → 2.0.311

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.
Files changed (141) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +52 -1
  4. package/node_modules/aws-sdk/README.md +1 -3
  5. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +423 -86
  6. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.paginators.json +12 -0
  7. package/node_modules/aws-sdk/apis/amp-2020-08-01.min.json +320 -3
  8. package/node_modules/aws-sdk/apis/amp-2020-08-01.paginators.json +6 -0
  9. package/node_modules/aws-sdk/apis/amp-2020-08-01.waiters2.json +33 -0
  10. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +141 -6
  11. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.examples.json +714 -0
  12. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.min.json +1095 -0
  13. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.paginators.json +28 -0
  14. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +855 -84
  15. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +18 -0
  16. package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.examples.json +5 -0
  17. package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.min.json +470 -0
  18. package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.paginators.json +22 -0
  19. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +67 -24
  20. package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.min.json +590 -3
  21. package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.paginators.json +10 -0
  22. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +243 -39
  23. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +204 -169
  24. package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +317 -13
  25. package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +6 -0
  26. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.examples.json +5 -0
  27. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +757 -0
  28. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.paginators.json +22 -0
  29. package/node_modules/aws-sdk/apis/detective-2018-10-26.min.json +294 -0
  30. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +108 -107
  31. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +211 -4
  32. package/node_modules/aws-sdk/apis/eks-2017-11-01.paginators.json +12 -0
  33. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.examples.json +5 -0
  34. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.min.json +104 -0
  35. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.paginators.json +4 -0
  36. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.waiters2.json +5 -0
  37. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +71 -33
  38. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.paginators.json +18 -3
  39. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +403 -75
  40. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json +15 -0
  41. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +366 -15
  42. package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +10 -0
  43. package/node_modules/aws-sdk/apis/freetier-2023-09-07.examples.json +5 -0
  44. package/node_modules/aws-sdk/apis/freetier-2023-09-07.min.json +105 -0
  45. package/node_modules/aws-sdk/apis/freetier-2023-09-07.paginators.json +10 -0
  46. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +259 -135
  47. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +64 -0
  48. package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +159 -33
  49. package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +126 -35
  50. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +310 -36
  51. package/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +12 -0
  52. package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +58 -50
  53. package/node_modules/aws-sdk/apis/metadata.json +25 -0
  54. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +633 -331
  55. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  56. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +85 -52
  57. package/node_modules/aws-sdk/apis/personalize-events-2018-03-22.min.json +97 -5
  58. package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +68 -11
  59. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +398 -268
  60. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +14 -2
  61. package/node_modules/aws-sdk/apis/repostspace-2022-05-13.examples.json +5 -0
  62. package/node_modules/aws-sdk/apis/repostspace-2022-05-13.min.json +447 -0
  63. package/node_modules/aws-sdk/apis/repostspace-2022-05-13.paginators.json +10 -0
  64. package/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json +25 -24
  65. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +142 -142
  66. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +45 -0
  67. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +1330 -314
  68. package/node_modules/aws-sdk/apis/s3control-2018-08-20.paginators.json +15 -0
  69. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +111 -50
  70. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.paginators.json +5 -0
  71. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.examples.json +526 -10
  72. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +1057 -352
  73. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.paginators.json +12 -0
  74. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +85 -0
  75. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +268 -70
  76. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.paginators.json +5 -0
  77. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +119 -96
  78. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.examples.json +5 -0
  79. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.min.json +777 -0
  80. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.paginators.json +22 -0
  81. package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +374 -5
  82. package/node_modules/aws-sdk/clients/all.d.ts +7 -0
  83. package/node_modules/aws-sdk/clients/all.js +8 -1
  84. package/node_modules/aws-sdk/clients/amp.d.ts +322 -0
  85. package/node_modules/aws-sdk/clients/appsync.d.ts +169 -0
  86. package/node_modules/aws-sdk/clients/b2bi.d.ts +1388 -0
  87. package/node_modules/aws-sdk/clients/b2bi.js +18 -0
  88. package/node_modules/aws-sdk/clients/backup.d.ts +848 -45
  89. package/node_modules/aws-sdk/clients/bcmdataexports.d.ts +589 -0
  90. package/node_modules/aws-sdk/clients/bcmdataexports.js +18 -0
  91. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +76 -2
  92. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +413 -1
  93. package/node_modules/aws-sdk/clients/codestarconnections.d.ts +727 -0
  94. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +307 -6
  95. package/node_modules/aws-sdk/clients/configservice.d.ts +60 -11
  96. package/node_modules/aws-sdk/clients/controltower.d.ts +319 -25
  97. package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +1283 -0
  98. package/node_modules/aws-sdk/clients/costoptimizationhub.js +18 -0
  99. package/node_modules/aws-sdk/clients/detective.d.ts +469 -0
  100. package/node_modules/aws-sdk/clients/ecs.d.ts +10 -5
  101. package/node_modules/aws-sdk/clients/efs.d.ts +75 -33
  102. package/node_modules/aws-sdk/clients/eks.d.ts +237 -15
  103. package/node_modules/aws-sdk/clients/eksauth.d.ts +124 -0
  104. package/node_modules/aws-sdk/clients/eksauth.js +19 -0
  105. package/node_modules/aws-sdk/clients/elbv2.d.ts +433 -4
  106. package/node_modules/aws-sdk/clients/fis.d.ts +383 -3
  107. package/node_modules/aws-sdk/clients/freetier.d.ts +149 -0
  108. package/node_modules/aws-sdk/clients/freetier.js +18 -0
  109. package/node_modules/aws-sdk/clients/fsx.d.ts +194 -21
  110. package/node_modules/aws-sdk/clients/glue.d.ts +3 -3
  111. package/node_modules/aws-sdk/clients/guardduty.d.ts +82 -11
  112. package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +198 -13
  113. package/node_modules/aws-sdk/clients/lakeformation.d.ts +118 -2
  114. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +343 -2
  115. package/node_modules/aws-sdk/clients/lexruntimev2.d.ts +14 -9
  116. package/node_modules/aws-sdk/clients/managedblockchain.d.ts +26 -5
  117. package/node_modules/aws-sdk/clients/personalize.d.ts +65 -20
  118. package/node_modules/aws-sdk/clients/personalizeevents.d.ts +102 -12
  119. package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +72 -2
  120. package/node_modules/aws-sdk/clients/quicksight.d.ts +124 -0
  121. package/node_modules/aws-sdk/clients/rds.d.ts +80 -80
  122. package/node_modules/aws-sdk/clients/redshift.d.ts +16 -0
  123. package/node_modules/aws-sdk/clients/repostspace.d.ts +458 -0
  124. package/node_modules/aws-sdk/clients/repostspace.js +18 -0
  125. package/node_modules/aws-sdk/clients/s3.d.ts +2 -2
  126. package/node_modules/aws-sdk/clients/s3control.d.ts +841 -13
  127. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +94 -5
  128. package/node_modules/aws-sdk/clients/securityhub.d.ts +908 -15
  129. package/node_modules/aws-sdk/clients/stepfunctions.d.ts +153 -8
  130. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +312 -46
  131. package/node_modules/aws-sdk/clients/workspaces.d.ts +43 -1
  132. package/node_modules/aws-sdk/clients/workspacesthinclient.d.ts +895 -0
  133. package/node_modules/aws-sdk/clients/workspacesthinclient.js +18 -0
  134. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  135. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +321 -55
  136. package/node_modules/aws-sdk/dist/aws-sdk.js +2045 -597
  137. package/node_modules/aws-sdk/dist/aws-sdk.min.js +104 -104
  138. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +14 -0
  139. package/node_modules/aws-sdk/lib/core.js +1 -1
  140. package/node_modules/aws-sdk/package.json +1 -1
  141. package/package.json +3 -3
@@ -239,6 +239,16 @@ declare namespace ComputeOptimizer {
239
239
  */
240
240
  instanceType?: InstanceType;
241
241
  }
242
+ export interface AutoScalingGroupEstimatedMonthlySavings {
243
+ /**
244
+ * The currency of the estimated monthly savings.
245
+ */
246
+ currency?: Currency;
247
+ /**
248
+ * The value of the estimated monthly savings.
249
+ */
250
+ value?: Value;
251
+ }
242
252
  export type AutoScalingGroupName = string;
243
253
  export interface AutoScalingGroupRecommendation {
244
254
  /**
@@ -323,9 +333,23 @@ declare namespace ComputeOptimizer {
323
333
  * Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.
324
334
  */
325
335
  instanceGpuInfo?: GpuInfo;
336
+ /**
337
+ * An object that describes the savings opportunity for the Auto Scaling group recommendation option that includes Savings Plans and Reserved Instances discounts. Savings opportunity includes the estimated monthly savings and percentage.
338
+ */
339
+ savingsOpportunityAfterDiscounts?: AutoScalingGroupSavingsOpportunityAfterDiscounts;
326
340
  }
327
341
  export type AutoScalingGroupRecommendationOptions = AutoScalingGroupRecommendationOption[];
328
342
  export type AutoScalingGroupRecommendations = AutoScalingGroupRecommendation[];
343
+ export interface AutoScalingGroupSavingsOpportunityAfterDiscounts {
344
+ /**
345
+ * The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s Auto Scaling group recommendations.
346
+ */
347
+ savingsOpportunityPercentage?: SavingsOpportunityPercentage;
348
+ /**
349
+ * An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations. This is based on the Savings Plans and Reserved Instances pricing discounts.
350
+ */
351
+ estimatedMonthlySavings?: AutoScalingGroupEstimatedMonthlySavings;
352
+ }
329
353
  export type Code = string;
330
354
  export interface ContainerConfiguration {
331
355
  /**
@@ -383,6 +407,19 @@ declare namespace ComputeOptimizer {
383
407
  */
384
408
  veryLow?: VeryLow;
385
409
  }
410
+ export type CustomizableMetricHeadroom = "PERCENT_30"|"PERCENT_20"|"PERCENT_0"|string;
411
+ export type CustomizableMetricName = "CpuUtilization"|string;
412
+ export interface CustomizableMetricParameters {
413
+ /**
414
+ * The threshold value used for the specified metric parameter.
415
+ */
416
+ threshold?: CustomizableMetricThreshold;
417
+ /**
418
+ * The headroom threshold value in percentage used for the specified metric parameter.
419
+ */
420
+ headroom?: CustomizableMetricHeadroom;
421
+ }
422
+ export type CustomizableMetricThreshold = "P90"|"P95"|"P99_5"|string;
386
423
  export interface DeleteRecommendationPreferencesRequest {
387
424
  /**
388
425
  * The target resource type of the recommendation preference to delete. The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group. The valid values for this parameter are Ec2Instance and AutoScalingGroup.
@@ -431,6 +468,22 @@ declare namespace ComputeOptimizer {
431
468
  export type DestinationBucket = string;
432
469
  export type DestinationKey = string;
433
470
  export type DestinationKeyPrefix = string;
471
+ export interface EBSEffectiveRecommendationPreferences {
472
+ /**
473
+ * Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon EBS volumes.
474
+ */
475
+ savingsEstimationMode?: EBSSavingsEstimationMode;
476
+ }
477
+ export interface EBSEstimatedMonthlySavings {
478
+ /**
479
+ * The currency of the estimated monthly savings.
480
+ */
481
+ currency?: Currency;
482
+ /**
483
+ * The value of the estimated monthly savings.
484
+ */
485
+ value?: Value;
486
+ }
434
487
  export interface EBSFilter {
435
488
  /**
436
489
  * The name of the filter. Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized). You can filter your Amazon EBS volume recommendations by tag:key and tag-key tags. A tag:key is a key and value combination of a tag assigned to your Amazon EBS volume recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all Amazon EBS volume recommendations that have a tag with the key of Owner and the value of TeamA, specify tag:Owner for the filter name and TeamA for the filter value. A tag-key is the key of a tag assigned to your Amazon EBS volume recommendations. Use this filter to find all of your Amazon EBS volume recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your Amazon EBS volume recommendations with a tag key value of Owner or without any tag keys assigned.
@@ -445,6 +498,23 @@ declare namespace ComputeOptimizer {
445
498
  export type EBSFilters = EBSFilter[];
446
499
  export type EBSFinding = "Optimized"|"NotOptimized"|string;
447
500
  export type EBSMetricName = "VolumeReadOpsPerSecond"|"VolumeWriteOpsPerSecond"|"VolumeReadBytesPerSecond"|"VolumeWriteBytesPerSecond"|string;
501
+ export interface EBSSavingsEstimationMode {
502
+ /**
503
+ * Describes the source for calculating the savings opportunity for Amazon EBS volumes.
504
+ */
505
+ source?: EBSSavingsEstimationModeSource;
506
+ }
507
+ export type EBSSavingsEstimationModeSource = "PublicPricing"|"CostExplorerRightsizing"|"CostOptimizationHub"|string;
508
+ export interface EBSSavingsOpportunityAfterDiscounts {
509
+ /**
510
+ * The estimated monthly savings possible as a percentage of monthly cost after applying the specific discounts. This saving can be achieved by adopting Compute Optimizer’s Amazon EBS volume recommendations.
511
+ */
512
+ savingsOpportunityPercentage?: SavingsOpportunityPercentage;
513
+ /**
514
+ * The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations. This saving includes any applicable discounts.
515
+ */
516
+ estimatedMonthlySavings?: EBSEstimatedMonthlySavings;
517
+ }
448
518
  export interface EBSUtilizationMetric {
449
519
  /**
450
520
  * The name of the utilization metric. The following utilization metrics are available: VolumeReadOpsPerSecond - The completed read operations per second from the volume in a specified period of time. Unit: Count VolumeWriteOpsPerSecond - The completed write operations per second to the volume in a specified period of time. Unit: Count VolumeReadBytesPerSecond - The bytes read per second from the volume in a specified period of time. Unit: Bytes VolumeWriteBytesPerSecond - The bytes written to the volume in a specified period of time. Unit: Bytes
@@ -460,6 +530,39 @@ declare namespace ComputeOptimizer {
460
530
  value?: MetricValue;
461
531
  }
462
532
  export type EBSUtilizationMetrics = EBSUtilizationMetric[];
533
+ export interface ECSEffectiveRecommendationPreferences {
534
+ /**
535
+ * Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon ECS services.
536
+ */
537
+ savingsEstimationMode?: ECSSavingsEstimationMode;
538
+ }
539
+ export interface ECSEstimatedMonthlySavings {
540
+ /**
541
+ * The currency of the estimated monthly savings.
542
+ */
543
+ currency?: Currency;
544
+ /**
545
+ * The value of the estimated monthly savings for Amazon ECS services.
546
+ */
547
+ value?: Value;
548
+ }
549
+ export interface ECSSavingsEstimationMode {
550
+ /**
551
+ * Describes the source for calculating the savings opportunity for Amazon ECS services.
552
+ */
553
+ source?: ECSSavingsEstimationModeSource;
554
+ }
555
+ export type ECSSavingsEstimationModeSource = "PublicPricing"|"CostExplorerRightsizing"|"CostOptimizationHub"|string;
556
+ export interface ECSSavingsOpportunityAfterDiscounts {
557
+ /**
558
+ * The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
559
+ */
560
+ savingsOpportunityPercentage?: SavingsOpportunityPercentage;
561
+ /**
562
+ * The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
563
+ */
564
+ estimatedMonthlySavings?: ECSEstimatedMonthlySavings;
565
+ }
463
566
  export type ECSServiceLaunchType = "EC2"|"Fargate"|string;
464
567
  export type ECSServiceMetricName = "Cpu"|"Memory"|string;
465
568
  export type ECSServiceMetricStatistic = "Maximum"|"Average"|string;
@@ -550,6 +653,10 @@ declare namespace ComputeOptimizer {
550
653
  * A list of tags assigned to your Amazon ECS service recommendations.
551
654
  */
552
655
  tags?: Tags;
656
+ /**
657
+ * Describes the effective recommendation preferences for Amazon ECS services.
658
+ */
659
+ effectiveRecommendationPreferences?: ECSEffectiveRecommendationPreferences;
553
660
  }
554
661
  export interface ECSServiceRecommendationFilter {
555
662
  /**
@@ -584,6 +691,10 @@ declare namespace ComputeOptimizer {
584
691
  * The CPU and memory size recommendations for the containers within the task of your Amazon ECS service.
585
692
  */
586
693
  containerRecommendations?: ContainerRecommendations;
694
+ /**
695
+ * Describes the savings opportunity for Amazon ECS service recommendations or for the recommendation option. Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
696
+ */
697
+ savingsOpportunityAfterDiscounts?: ECSSavingsOpportunityAfterDiscounts;
587
698
  }
588
699
  export type ECSServiceRecommendationOptions = ECSServiceRecommendationOption[];
589
700
  export type ECSServiceRecommendations = ECSServiceRecommendation[];
@@ -617,6 +728,25 @@ declare namespace ComputeOptimizer {
617
728
  value?: MetricValue;
618
729
  }
619
730
  export type ECSServiceUtilizationMetrics = ECSServiceUtilizationMetric[];
731
+ export interface EffectivePreferredResource {
732
+ /**
733
+ * The name of the preferred resource list.
734
+ */
735
+ name?: PreferredResourceName;
736
+ /**
737
+ * The list of preferred resource values that you want considered as rightsizing recommendation candidates.
738
+ */
739
+ includeList?: PreferredResourceValues;
740
+ /**
741
+ * The expanded version of your preferred resource's include list.
742
+ */
743
+ effectiveIncludeList?: PreferredResourceValues;
744
+ /**
745
+ * The list of preferred resources values that you want excluded from rightsizing recommendation candidates.
746
+ */
747
+ excludeList?: PreferredResourceValues;
748
+ }
749
+ export type EffectivePreferredResources = EffectivePreferredResource[];
620
750
  export interface EffectiveRecommendationPreferences {
621
751
  /**
622
752
  * Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations. For example, when you specify AWS_ARM64 with: A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only. A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only. A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
@@ -634,6 +764,22 @@ declare namespace ComputeOptimizer {
634
764
  * An object that describes the external metrics recommendation preference. If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.
635
765
  */
636
766
  externalMetricsPreference?: ExternalMetricsPreference;
767
+ /**
768
+ * The number of days the utilization metrics of the Amazon Web Services resource are analyzed.
769
+ */
770
+ lookBackPeriod?: LookBackPeriodPreference;
771
+ /**
772
+ * The resource’s CPU utilization threshold preferences, such as threshold and headroom, that are used to generate rightsizing recommendations. This preference is only available for the Amazon EC2 instance resource type.
773
+ */
774
+ utilizationPreferences?: UtilizationPreferences;
775
+ /**
776
+ * The resource type values that are considered as candidates when generating rightsizing recommendations.
777
+ */
778
+ preferredResources?: EffectivePreferredResources;
779
+ /**
780
+ * Describes the savings estimation mode applied for calculating savings opportunity for a resource.
781
+ */
782
+ savingsEstimationMode?: InstanceSavingsEstimationMode;
637
783
  }
638
784
  export type EnhancedInfrastructureMetrics = "Active"|"Inactive"|string;
639
785
  export interface EnrollmentFilter {
@@ -864,17 +1010,17 @@ declare namespace ComputeOptimizer {
864
1010
  jobId?: JobId;
865
1011
  s3Destination?: S3Destination;
866
1012
  }
867
- export type ExportableAutoScalingGroupField = "AccountId"|"AutoScalingGroupArn"|"AutoScalingGroupName"|"Finding"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationInstanceType"|"CurrentConfigurationDesiredCapacity"|"CurrentConfigurationMinSize"|"CurrentConfigurationMaxSize"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsConfigurationInstanceType"|"RecommendationOptionsConfigurationDesiredCapacity"|"RecommendationOptionsConfigurationMinSize"|"RecommendationOptionsConfigurationMaxSize"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|"CurrentInstanceGpuInfo"|"RecommendationOptionsInstanceGpuInfo"|"UtilizationMetricsGpuPercentageMaximum"|"UtilizationMetricsGpuMemoryPercentageMaximum"|"RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum"|"RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum"|string;
1013
+ export type ExportableAutoScalingGroupField = "AccountId"|"AutoScalingGroupArn"|"AutoScalingGroupName"|"Finding"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationInstanceType"|"CurrentConfigurationDesiredCapacity"|"CurrentConfigurationMinSize"|"CurrentConfigurationMaxSize"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsConfigurationInstanceType"|"RecommendationOptionsConfigurationDesiredCapacity"|"RecommendationOptionsConfigurationMinSize"|"RecommendationOptionsConfigurationMaxSize"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|"CurrentInstanceGpuInfo"|"RecommendationOptionsInstanceGpuInfo"|"UtilizationMetricsGpuPercentageMaximum"|"UtilizationMetricsGpuMemoryPercentageMaximum"|"RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum"|"RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum"|"EffectiveRecommendationPreferencesSavingsEstimationMode"|"RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"|"RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"|"EffectiveRecommendationPreferencesPreferredResources"|"EffectiveRecommendationPreferencesLookBackPeriod"|string;
868
1014
  export type ExportableAutoScalingGroupFields = ExportableAutoScalingGroupField[];
869
- export type ExportableECSServiceField = "AccountId"|"ServiceArn"|"LookbackPeriodInDays"|"LastRefreshTimestamp"|"LaunchType"|"CurrentPerformanceRisk"|"CurrentServiceConfigurationMemory"|"CurrentServiceConfigurationCpu"|"CurrentServiceConfigurationTaskDefinitionArn"|"CurrentServiceConfigurationAutoScalingConfiguration"|"CurrentServiceContainerConfigurations"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"Finding"|"FindingReasonCodes"|"RecommendationOptionsMemory"|"RecommendationOptionsCpu"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"RecommendationOptionsContainerRecommendations"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"Tags"|string;
1015
+ export type ExportableECSServiceField = "AccountId"|"ServiceArn"|"LookbackPeriodInDays"|"LastRefreshTimestamp"|"LaunchType"|"CurrentPerformanceRisk"|"CurrentServiceConfigurationMemory"|"CurrentServiceConfigurationCpu"|"CurrentServiceConfigurationTaskDefinitionArn"|"CurrentServiceConfigurationAutoScalingConfiguration"|"CurrentServiceContainerConfigurations"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"Finding"|"FindingReasonCodes"|"RecommendationOptionsMemory"|"RecommendationOptionsCpu"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"RecommendationOptionsContainerRecommendations"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"Tags"|"EffectiveRecommendationPreferencesSavingsEstimationMode"|"RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"|"RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"|string;
870
1016
  export type ExportableECSServiceFields = ExportableECSServiceField[];
871
- export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"FindingReasonCodes"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPlatformDifferences"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|"EffectiveRecommendationPreferencesExternalMetricsSource"|"InstanceState"|"Tags"|"ExternalMetricStatusCode"|"ExternalMetricStatusReason"|"CurrentInstanceGpuInfo"|"RecommendationOptionsInstanceGpuInfo"|"UtilizationMetricsGpuPercentageMaximum"|"UtilizationMetricsGpuMemoryPercentageMaximum"|"RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum"|"RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum"|"Idle"|string;
1017
+ export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"FindingReasonCodes"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPlatformDifferences"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|"EffectiveRecommendationPreferencesExternalMetricsSource"|"InstanceState"|"Tags"|"ExternalMetricStatusCode"|"ExternalMetricStatusReason"|"CurrentInstanceGpuInfo"|"RecommendationOptionsInstanceGpuInfo"|"UtilizationMetricsGpuPercentageMaximum"|"UtilizationMetricsGpuMemoryPercentageMaximum"|"RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum"|"RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum"|"Idle"|"EffectiveRecommendationPreferencesPreferredResources"|"EffectiveRecommendationPreferencesLookBackPeriod"|"EffectiveRecommendationPreferencesUtilizationPreferences"|"EffectiveRecommendationPreferencesSavingsEstimationMode"|"RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"|"RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"|string;
872
1018
  export type ExportableInstanceFields = ExportableInstanceField[];
873
- export type ExportableLambdaFunctionField = "AccountId"|"FunctionArn"|"FunctionVersion"|"Finding"|"FindingReasonCodes"|"NumberOfInvocations"|"UtilizationMetricsDurationMaximum"|"UtilizationMetricsDurationAverage"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsMemoryAverage"|"LookbackPeriodInDays"|"CurrentConfigurationMemorySize"|"CurrentConfigurationTimeout"|"CurrentCostTotal"|"CurrentCostAverage"|"RecommendationOptionsConfigurationMemorySize"|"RecommendationOptionsCostLow"|"RecommendationOptionsCostHigh"|"RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationExpected"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"Tags"|string;
1019
+ export type ExportableLambdaFunctionField = "AccountId"|"FunctionArn"|"FunctionVersion"|"Finding"|"FindingReasonCodes"|"NumberOfInvocations"|"UtilizationMetricsDurationMaximum"|"UtilizationMetricsDurationAverage"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsMemoryAverage"|"LookbackPeriodInDays"|"CurrentConfigurationMemorySize"|"CurrentConfigurationTimeout"|"CurrentCostTotal"|"CurrentCostAverage"|"RecommendationOptionsConfigurationMemorySize"|"RecommendationOptionsCostLow"|"RecommendationOptionsCostHigh"|"RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationExpected"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"Tags"|"EffectiveRecommendationPreferencesSavingsEstimationMode"|"RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"|"RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"|string;
874
1020
  export type ExportableLambdaFunctionFields = ExportableLambdaFunctionField[];
875
1021
  export type ExportableLicenseField = "AccountId"|"ResourceArn"|"LookbackPeriodInDays"|"LastRefreshTimestamp"|"Finding"|"FindingReasonCodes"|"CurrentLicenseConfigurationNumberOfCores"|"CurrentLicenseConfigurationInstanceType"|"CurrentLicenseConfigurationOperatingSystem"|"CurrentLicenseConfigurationLicenseName"|"CurrentLicenseConfigurationLicenseEdition"|"CurrentLicenseConfigurationLicenseModel"|"CurrentLicenseConfigurationLicenseVersion"|"CurrentLicenseConfigurationMetricsSource"|"RecommendationOptionsOperatingSystem"|"RecommendationOptionsLicenseEdition"|"RecommendationOptionsLicenseModel"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"Tags"|string;
876
1022
  export type ExportableLicenseFields = ExportableLicenseField[];
877
- export type ExportableVolumeField = "AccountId"|"VolumeArn"|"Finding"|"UtilizationMetricsVolumeReadOpsPerSecondMaximum"|"UtilizationMetricsVolumeWriteOpsPerSecondMaximum"|"UtilizationMetricsVolumeReadBytesPerSecondMaximum"|"UtilizationMetricsVolumeWriteBytesPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationVolumeType"|"CurrentConfigurationVolumeBaselineIOPS"|"CurrentConfigurationVolumeBaselineThroughput"|"CurrentConfigurationVolumeBurstIOPS"|"CurrentConfigurationVolumeBurstThroughput"|"CurrentConfigurationVolumeSize"|"CurrentMonthlyPrice"|"RecommendationOptionsConfigurationVolumeType"|"RecommendationOptionsConfigurationVolumeBaselineIOPS"|"RecommendationOptionsConfigurationVolumeBaselineThroughput"|"RecommendationOptionsConfigurationVolumeBurstIOPS"|"RecommendationOptionsConfigurationVolumeBurstThroughput"|"RecommendationOptionsConfigurationVolumeSize"|"RecommendationOptionsMonthlyPrice"|"RecommendationOptionsPerformanceRisk"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"RootVolume"|"Tags"|"CurrentConfigurationRootVolume"|string;
1023
+ export type ExportableVolumeField = "AccountId"|"VolumeArn"|"Finding"|"UtilizationMetricsVolumeReadOpsPerSecondMaximum"|"UtilizationMetricsVolumeWriteOpsPerSecondMaximum"|"UtilizationMetricsVolumeReadBytesPerSecondMaximum"|"UtilizationMetricsVolumeWriteBytesPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationVolumeType"|"CurrentConfigurationVolumeBaselineIOPS"|"CurrentConfigurationVolumeBaselineThroughput"|"CurrentConfigurationVolumeBurstIOPS"|"CurrentConfigurationVolumeBurstThroughput"|"CurrentConfigurationVolumeSize"|"CurrentMonthlyPrice"|"RecommendationOptionsConfigurationVolumeType"|"RecommendationOptionsConfigurationVolumeBaselineIOPS"|"RecommendationOptionsConfigurationVolumeBaselineThroughput"|"RecommendationOptionsConfigurationVolumeBurstIOPS"|"RecommendationOptionsConfigurationVolumeBurstThroughput"|"RecommendationOptionsConfigurationVolumeSize"|"RecommendationOptionsMonthlyPrice"|"RecommendationOptionsPerformanceRisk"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"RootVolume"|"Tags"|"CurrentConfigurationRootVolume"|"EffectiveRecommendationPreferencesSavingsEstimationMode"|"RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts"|"RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"|string;
878
1024
  export type ExportableVolumeFields = ExportableVolumeField[];
879
1025
  export interface ExternalMetricStatus {
880
1026
  /**
@@ -1143,6 +1289,18 @@ declare namespace ComputeOptimizer {
1143
1289
  * The provider of the external metrics recommendation preference. Considers all applicable preferences that you might have set at the account and organization level. If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response. To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetEC2InstanceRecommendations actions. For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
1144
1290
  */
1145
1291
  externalMetricsPreference?: ExternalMetricsPreference;
1292
+ /**
1293
+ * The number of days the utilization metrics of the Amazon Web Services resource are analyzed. To validate that the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.
1294
+ */
1295
+ lookBackPeriod?: LookBackPeriodPreference;
1296
+ /**
1297
+ * The resource’s CPU utilization threshold preferences, such as threshold and headroom, that were used to generate rightsizing recommendations. It considers all applicable preferences that you set at the resource, account, and organization level. To validate that the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.
1298
+ */
1299
+ utilizationPreferences?: UtilizationPreferences;
1300
+ /**
1301
+ * The resource type values that are considered as candidates when generating rightsizing recommendations. This object resolves any wildcard expressions and returns the effective list of candidate resource type values. It also considers all applicable preferences that you set at the resource, account, and organization level. To validate that the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.
1302
+ */
1303
+ preferredResources?: EffectivePreferredResources;
1146
1304
  }
1147
1305
  export interface GetEnrollmentStatusRequest {
1148
1306
  }
@@ -1365,6 +1523,16 @@ declare namespace ComputeOptimizer {
1365
1523
  export type InferredWorkloadTypesPreference = "Active"|"Inactive"|string;
1366
1524
  export type InstanceArn = string;
1367
1525
  export type InstanceArns = InstanceArn[];
1526
+ export interface InstanceEstimatedMonthlySavings {
1527
+ /**
1528
+ * The currency of the estimated monthly savings.
1529
+ */
1530
+ currency?: Currency;
1531
+ /**
1532
+ * The value of the estimated monthly savings.
1533
+ */
1534
+ value?: Value;
1535
+ }
1368
1536
  export type InstanceIdle = "True"|"False"|string;
1369
1537
  export type InstanceName = string;
1370
1538
  export interface InstanceRecommendation {
@@ -1480,8 +1648,29 @@ declare namespace ComputeOptimizer {
1480
1648
  * Describes the GPU accelerator settings for the recommended instance type.
1481
1649
  */
1482
1650
  instanceGpuInfo?: GpuInfo;
1651
+ /**
1652
+ * An object that describes the savings opportunity for the instance recommendation option that includes Savings Plans and Reserved Instances discounts. Savings opportunity includes the estimated monthly savings and percentage.
1653
+ */
1654
+ savingsOpportunityAfterDiscounts?: InstanceSavingsOpportunityAfterDiscounts;
1483
1655
  }
1484
1656
  export type InstanceRecommendations = InstanceRecommendation[];
1657
+ export interface InstanceSavingsEstimationMode {
1658
+ /**
1659
+ * Describes the source for calculating the savings opportunity for Amazon EC2 instances.
1660
+ */
1661
+ source?: InstanceSavingsEstimationModeSource;
1662
+ }
1663
+ export type InstanceSavingsEstimationModeSource = "PublicPricing"|"CostExplorerRightsizing"|"CostOptimizationHub"|string;
1664
+ export interface InstanceSavingsOpportunityAfterDiscounts {
1665
+ /**
1666
+ * The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s EC2 instance recommendations.
1667
+ */
1668
+ savingsOpportunityPercentage?: SavingsOpportunityPercentage;
1669
+ /**
1670
+ * An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is based on pricing after applying the Savings Plans and Reserved Instances discounts.
1671
+ */
1672
+ estimatedMonthlySavings?: InstanceEstimatedMonthlySavings;
1673
+ }
1485
1674
  export type InstanceState = "pending"|"running"|"shutting-down"|"terminated"|"stopping"|"stopped"|string;
1486
1675
  export type InstanceType = string;
1487
1676
  export interface JobFilter {
@@ -1499,6 +1688,22 @@ declare namespace ComputeOptimizer {
1499
1688
  export type JobId = string;
1500
1689
  export type JobIds = JobId[];
1501
1690
  export type JobStatus = "Queued"|"InProgress"|"Complete"|"Failed"|string;
1691
+ export interface LambdaEffectiveRecommendationPreferences {
1692
+ /**
1693
+ * Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.
1694
+ */
1695
+ savingsEstimationMode?: LambdaSavingsEstimationMode;
1696
+ }
1697
+ export interface LambdaEstimatedMonthlySavings {
1698
+ /**
1699
+ * The currency of the estimated monthly savings.
1700
+ */
1701
+ currency?: Currency;
1702
+ /**
1703
+ * The value of the estimated monthly savings.
1704
+ */
1705
+ value?: Value;
1706
+ }
1502
1707
  export type LambdaFunctionMemoryMetricName = "Duration"|string;
1503
1708
  export type LambdaFunctionMemoryMetricStatistic = "LowerBound"|"UpperBound"|"Expected"|string;
1504
1709
  export interface LambdaFunctionMemoryProjectedMetric {
@@ -1533,6 +1738,10 @@ declare namespace ComputeOptimizer {
1533
1738
  * An object that describes the savings opportunity for the Lambda function recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
1534
1739
  */
1535
1740
  savingsOpportunity?: SavingsOpportunity;
1741
+ /**
1742
+ * An object that describes the savings opportunity for the Lambda recommendation option which includes Saving Plans discounts. Savings opportunity includes the estimated monthly savings and percentage.
1743
+ */
1744
+ savingsOpportunityAfterDiscounts?: LambdaSavingsOpportunityAfterDiscounts;
1536
1745
  }
1537
1746
  export type LambdaFunctionMemoryRecommendationOptions = LambdaFunctionMemoryRecommendationOption[];
1538
1747
  export type LambdaFunctionMetricName = "Duration"|"Memory"|string;
@@ -1590,6 +1799,10 @@ declare namespace ComputeOptimizer {
1590
1799
  * A list of tags assigned to your Lambda function recommendations.
1591
1800
  */
1592
1801
  tags?: Tags;
1802
+ /**
1803
+ * Describes the effective recommendation preferences for Lambda functions.
1804
+ */
1805
+ effectiveRecommendationPreferences?: LambdaEffectiveRecommendationPreferences;
1593
1806
  }
1594
1807
  export interface LambdaFunctionRecommendationFilter {
1595
1808
  /**
@@ -1622,6 +1835,23 @@ declare namespace ComputeOptimizer {
1622
1835
  value?: MetricValue;
1623
1836
  }
1624
1837
  export type LambdaFunctionUtilizationMetrics = LambdaFunctionUtilizationMetric[];
1838
+ export interface LambdaSavingsEstimationMode {
1839
+ /**
1840
+ * Describes the source for calculation of savings opportunity for Lambda functions.
1841
+ */
1842
+ source?: LambdaSavingsEstimationModeSource;
1843
+ }
1844
+ export type LambdaSavingsEstimationModeSource = "PublicPricing"|"CostExplorerRightsizing"|"CostOptimizationHub"|string;
1845
+ export interface LambdaSavingsOpportunityAfterDiscounts {
1846
+ /**
1847
+ * The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.
1848
+ */
1849
+ savingsOpportunityPercentage?: SavingsOpportunityPercentage;
1850
+ /**
1851
+ * The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.
1852
+ */
1853
+ estimatedMonthlySavings?: LambdaEstimatedMonthlySavings;
1854
+ }
1625
1855
  export type LastRefreshTimestamp = Date;
1626
1856
  export type LastUpdatedTimestamp = Date;
1627
1857
  export interface LicenseConfiguration {
@@ -1737,6 +1967,7 @@ declare namespace ComputeOptimizer {
1737
1967
  export type LicenseRecommendations = LicenseRecommendation[];
1738
1968
  export type LicenseVersion = string;
1739
1969
  export type LookBackPeriodInDays = number;
1970
+ export type LookBackPeriodPreference = "DAYS_14"|"DAYS_32"|"DAYS_93"|string;
1740
1971
  export type Low = number;
1741
1972
  export type LowerBoundValue = number;
1742
1973
  export type MaxResults = number;
@@ -1787,6 +2018,24 @@ declare namespace ComputeOptimizer {
1787
2018
  export type Period = number;
1788
2019
  export type PlatformDifference = "Hypervisor"|"NetworkInterface"|"StorageInterface"|"InstanceStoreAvailability"|"VirtualizationType"|"Architecture"|string;
1789
2020
  export type PlatformDifferences = PlatformDifference[];
2021
+ export interface PreferredResource {
2022
+ /**
2023
+ * The type of preferred resource to customize. Compute Optimizer only supports the customization of Ec2InstanceTypes.
2024
+ */
2025
+ name?: PreferredResourceName;
2026
+ /**
2027
+ * The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value, such as m5.large, or use wild card expressions, such as m5. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.
2028
+ */
2029
+ includeList?: PreferredResourceValues;
2030
+ /**
2031
+ * The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported resources are included by default. You can specify up to 1000 values in this list.
2032
+ */
2033
+ excludeList?: PreferredResourceValues;
2034
+ }
2035
+ export type PreferredResourceName = "Ec2InstanceTypes"|string;
2036
+ export type PreferredResourceValue = string;
2037
+ export type PreferredResourceValues = PreferredResourceValue[];
2038
+ export type PreferredResources = PreferredResource[];
1790
2039
  export interface ProjectedMetric {
1791
2040
  /**
1792
2041
  * The name of the projected utilization metric. The following projected utilization metrics are returned: Cpu - The projected percentage of allocated EC2 compute units that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the processing power required to run an application on the recommendation option. Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core. Memory - The percentage of memory that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the amount of memory required to run an application on the recommendation option. Units: Percent The Memory metric is only returned for resources with the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent. GPU - The projected percentage of allocated GPUs if you adjust your configurations to Compute Optimizer's recommendation option. GPU_MEMORY - The projected percentage of total GPU memory if you adjust your configurations to Compute Optimizer's recommendation option. The GPU and GPU_MEMORY metrics are only returned for resources with the unified CloudWatch Agent installed on them. For more information, see Enabling NVIDIA GPU utilization with the CloudWatch Agent.
@@ -1824,6 +2073,22 @@ declare namespace ComputeOptimizer {
1824
2073
  * The provider of the external metrics recommendation preference to create or update. Specify a valid provider in the source field to activate the preference. To delete this preference, see the DeleteRecommendationPreferences action. This preference can only be set for the Ec2Instance resource type. For more information, see External metrics ingestion in the Compute Optimizer User Guide.
1825
2074
  */
1826
2075
  externalMetricsPreference?: ExternalMetricsPreference;
2076
+ /**
2077
+ * The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14. You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
2078
+ */
2079
+ lookBackPeriod?: LookBackPeriodPreference;
2080
+ /**
2081
+ * The preference to control the resource’s CPU utilization thresholds - threshold and headroom. When this preference isn't specified, we use the following default values: P99_5 for threshold PERCENT_17 for headroom You can only set this preference for the Amazon EC2 instance resource type.
2082
+ */
2083
+ utilizationPreferences?: UtilizationPreferences;
2084
+ /**
2085
+ * The preference to control which resource type values are considered when generating rightsizing recommendations. You can specify this preference as a combination of include and exclude lists. You must specify either an includeList or excludeList. If the preference is an empty set of resource type values, an error occurs. You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
2086
+ */
2087
+ preferredResources?: PreferredResources;
2088
+ /**
2089
+ * The status of the savings estimation mode preference to create or update. Specify the AfterDiscounts status to activate the preference, or specify BeforeDiscounts to deactivate the preference. Only the account manager or delegated administrator of your organization can activate this preference. For more information, see Savings estimation mode in the Compute Optimizer User Guide.
2090
+ */
2091
+ savingsEstimationMode?: SavingsEstimationMode;
1827
2092
  }
1828
2093
  export interface PutRecommendationPreferencesResponse {
1829
2094
  }
@@ -1871,7 +2136,7 @@ declare namespace ComputeOptimizer {
1871
2136
  }
1872
2137
  export type RecommendationExportJobs = RecommendationExportJob[];
1873
2138
  export type RecommendationOptions = InstanceRecommendationOption[];
1874
- export type RecommendationPreferenceName = "EnhancedInfrastructureMetrics"|"InferredWorkloadTypes"|"ExternalMetricsPreference"|string;
2139
+ export type RecommendationPreferenceName = "EnhancedInfrastructureMetrics"|"InferredWorkloadTypes"|"ExternalMetricsPreference"|"LookBackPeriodPreference"|"PreferredResources"|"UtilizationPreferences"|string;
1875
2140
  export type RecommendationPreferenceNames = RecommendationPreferenceName[];
1876
2141
  export interface RecommendationPreferences {
1877
2142
  /**
@@ -1900,6 +2165,22 @@ declare namespace ComputeOptimizer {
1900
2165
  * An object that describes the external metrics recommendation preference. If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.
1901
2166
  */
1902
2167
  externalMetricsPreference?: ExternalMetricsPreference;
2168
+ /**
2169
+ * The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. If the preference isn’t set, this object is null.
2170
+ */
2171
+ lookBackPeriod?: LookBackPeriodPreference;
2172
+ /**
2173
+ * The preference to control the resource’s CPU utilization thresholds - threshold and headroom. If the preference isn’t set, this object is null. This preference is only available for the Amazon EC2 instance resource type.
2174
+ */
2175
+ utilizationPreferences?: UtilizationPreferences;
2176
+ /**
2177
+ * The preference to control which resource type values are considered when generating rightsizing recommendations. This object resolves any wildcard expressions and returns the effective list of candidate resource type values. If the preference isn’t set, this object is null.
2178
+ */
2179
+ preferredResources?: EffectivePreferredResources;
2180
+ /**
2181
+ * Describes the savings estimation mode used for calculating savings opportunity. Only the account manager or delegated administrator of your organization can activate this preference.
2182
+ */
2183
+ savingsEstimationMode?: SavingsEstimationMode;
1903
2184
  }
1904
2185
  export type RecommendationPreferencesDetails = RecommendationPreferencesDetail[];
1905
2186
  export interface RecommendationSource {
@@ -1986,6 +2267,7 @@ declare namespace ComputeOptimizer {
1986
2267
  */
1987
2268
  keyPrefix?: DestinationKeyPrefix;
1988
2269
  }
2270
+ export type SavingsEstimationMode = "AfterDiscounts"|"BeforeDiscounts"|string;
1989
2271
  export interface SavingsOpportunity {
1990
2272
  /**
1991
2273
  * The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.
@@ -2103,6 +2385,17 @@ declare namespace ComputeOptimizer {
2103
2385
  value?: MetricValue;
2104
2386
  }
2105
2387
  export type UtilizationMetrics = UtilizationMetric[];
2388
+ export interface UtilizationPreference {
2389
+ /**
2390
+ * The name of the resource utilization metric name to customize. Compute Optimizer only supports CpuUtilization.
2391
+ */
2392
+ metricName?: CustomizableMetricName;
2393
+ /**
2394
+ * The parameters to set when customizing the resource utilization thresholds.
2395
+ */
2396
+ metricParameters?: CustomizableMetricParameters;
2397
+ }
2398
+ export type UtilizationPreferences = UtilizationPreference[];
2106
2399
  export type Value = number;
2107
2400
  export type VeryLow = number;
2108
2401
  export type VolumeArn = string;
@@ -2182,6 +2475,10 @@ declare namespace ComputeOptimizer {
2182
2475
  * A list of tags assigned to your Amazon EBS volume recommendations.
2183
2476
  */
2184
2477
  tags?: Tags;
2478
+ /**
2479
+ * Describes the effective recommendation preferences for Amazon EBS volume.
2480
+ */
2481
+ effectiveRecommendationPreferences?: EBSEffectiveRecommendationPreferences;
2185
2482
  }
2186
2483
  export interface VolumeRecommendationOption {
2187
2484
  /**
@@ -2200,6 +2497,10 @@ declare namespace ComputeOptimizer {
2200
2497
  * An object that describes the savings opportunity for the EBS volume recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
2201
2498
  */
2202
2499
  savingsOpportunity?: SavingsOpportunity;
2500
+ /**
2501
+ * An object that describes the savings opportunity for the Amazon EBS volume recommendation option with specific discounts. Savings opportunity includes the estimated monthly savings and percentage.
2502
+ */
2503
+ savingsOpportunityAfterDiscounts?: EBSSavingsOpportunityAfterDiscounts;
2203
2504
  }
2204
2505
  export type VolumeRecommendationOptions = VolumeRecommendationOption[];
2205
2506
  export type VolumeRecommendations = VolumeRecommendation[];