Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data VolumeRecommendation = VolumeRecommendation' {
- accountId :: Maybe Text
- currentConfiguration :: Maybe VolumeConfiguration
- currentPerformanceRisk :: Maybe CurrentPerformanceRisk
- finding :: Maybe EBSFinding
- lastRefreshTimestamp :: Maybe POSIX
- lookBackPeriodInDays :: Maybe Double
- utilizationMetrics :: Maybe [EBSUtilizationMetric]
- volumeArn :: Maybe Text
- volumeRecommendationOptions :: Maybe [VolumeRecommendationOption]
- newVolumeRecommendation :: VolumeRecommendation
- volumeRecommendation_accountId :: Lens' VolumeRecommendation (Maybe Text)
- volumeRecommendation_currentConfiguration :: Lens' VolumeRecommendation (Maybe VolumeConfiguration)
- volumeRecommendation_currentPerformanceRisk :: Lens' VolumeRecommendation (Maybe CurrentPerformanceRisk)
- volumeRecommendation_finding :: Lens' VolumeRecommendation (Maybe EBSFinding)
- volumeRecommendation_lastRefreshTimestamp :: Lens' VolumeRecommendation (Maybe UTCTime)
- volumeRecommendation_lookBackPeriodInDays :: Lens' VolumeRecommendation (Maybe Double)
- volumeRecommendation_utilizationMetrics :: Lens' VolumeRecommendation (Maybe [EBSUtilizationMetric])
- volumeRecommendation_volumeArn :: Lens' VolumeRecommendation (Maybe Text)
- volumeRecommendation_volumeRecommendationOptions :: Lens' VolumeRecommendation (Maybe [VolumeRecommendationOption])
Documentation
data VolumeRecommendation Source #
Describes an Amazon Elastic Block Store (Amazon EBS) volume recommendation.
See: newVolumeRecommendation
smart constructor.
VolumeRecommendation' | |
|
Instances
newVolumeRecommendation :: VolumeRecommendation Source #
Create a value of VolumeRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:VolumeRecommendation'
, volumeRecommendation_accountId
- The Amazon Web Services account ID of the volume.
$sel:currentConfiguration:VolumeRecommendation'
, volumeRecommendation_currentConfiguration
- An array of objects that describe the current configuration of the
volume.
$sel:currentPerformanceRisk:VolumeRecommendation'
, volumeRecommendation_currentPerformanceRisk
- The risk of the current EBS volume not meeting the performance needs of
its workloads. The higher the risk, the more likely the current EBS
volume doesn't have sufficient capacity.
$sel:finding:VolumeRecommendation'
, volumeRecommendation_finding
- The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.Optimized
—An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.
$sel:lastRefreshTimestamp:VolumeRecommendation'
, volumeRecommendation_lastRefreshTimestamp
- The timestamp of when the volume recommendation was last generated.
$sel:lookBackPeriodInDays:VolumeRecommendation'
, volumeRecommendation_lookBackPeriodInDays
- The number of days for which utilization metrics were analyzed for the
volume.
$sel:utilizationMetrics:VolumeRecommendation'
, volumeRecommendation_utilizationMetrics
- An array of objects that describe the utilization metrics of the volume.
$sel:volumeArn:VolumeRecommendation'
, volumeRecommendation_volumeArn
- The Amazon Resource Name (ARN) of the current volume.
$sel:volumeRecommendationOptions:VolumeRecommendation'
, volumeRecommendation_volumeRecommendationOptions
- An array of objects that describe the recommendation options for the
volume.
volumeRecommendation_accountId :: Lens' VolumeRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the volume.
volumeRecommendation_currentConfiguration :: Lens' VolumeRecommendation (Maybe VolumeConfiguration) Source #
An array of objects that describe the current configuration of the volume.
volumeRecommendation_currentPerformanceRisk :: Lens' VolumeRecommendation (Maybe CurrentPerformanceRisk) Source #
The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.
volumeRecommendation_finding :: Lens' VolumeRecommendation (Maybe EBSFinding) Source #
The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.Optimized
—An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.
volumeRecommendation_lastRefreshTimestamp :: Lens' VolumeRecommendation (Maybe UTCTime) Source #
The timestamp of when the volume recommendation was last generated.
volumeRecommendation_lookBackPeriodInDays :: Lens' VolumeRecommendation (Maybe Double) Source #
The number of days for which utilization metrics were analyzed for the volume.
volumeRecommendation_utilizationMetrics :: Lens' VolumeRecommendation (Maybe [EBSUtilizationMetric]) Source #
An array of objects that describe the utilization metrics of the volume.
volumeRecommendation_volumeArn :: Lens' VolumeRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the current volume.
volumeRecommendation_volumeRecommendationOptions :: Lens' VolumeRecommendation (Maybe [VolumeRecommendationOption]) Source #
An array of objects that describe the recommendation options for the volume.