Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RecommendedOptionProjectedMetric = RecommendedOptionProjectedMetric' {}
- newRecommendedOptionProjectedMetric :: RecommendedOptionProjectedMetric
- recommendedOptionProjectedMetric_recommendedInstanceType :: Lens' RecommendedOptionProjectedMetric (Maybe Text)
- recommendedOptionProjectedMetric_projectedMetrics :: Lens' RecommendedOptionProjectedMetric (Maybe [ProjectedMetric])
- recommendedOptionProjectedMetric_rank :: Lens' RecommendedOptionProjectedMetric (Maybe Int)
Documentation
data RecommendedOptionProjectedMetric Source #
Describes a projected utilization metric of a recommendation option.
The Cpu
and Memory
metrics are the only projected utilization
metrics returned when you run the GetEC2RecommendationProjectedMetrics
action. Additionally, the Memory
metric is returned only for resources
that have the unified CloudWatch agent installed on them. For more
information, see
Enabling Memory Utilization with the CloudWatch Agent.
See: newRecommendedOptionProjectedMetric
smart constructor.
RecommendedOptionProjectedMetric' | |
|
Instances
newRecommendedOptionProjectedMetric :: RecommendedOptionProjectedMetric Source #
Create a value of RecommendedOptionProjectedMetric
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:recommendedInstanceType:RecommendedOptionProjectedMetric'
, recommendedOptionProjectedMetric_recommendedInstanceType
- The recommended instance type.
$sel:projectedMetrics:RecommendedOptionProjectedMetric'
, recommendedOptionProjectedMetric_projectedMetrics
- An array of objects that describe a projected utilization metric.
$sel:rank:RecommendedOptionProjectedMetric'
, recommendedOptionProjectedMetric_rank
- The rank of the recommendation option projected metric.
The top recommendation option is ranked as 1
.
The projected metric rank correlates to the recommendation option rank.
For example, the projected metric ranked as 1
is related to the
recommendation option that is also ranked as 1
in the same response.
recommendedOptionProjectedMetric_recommendedInstanceType :: Lens' RecommendedOptionProjectedMetric (Maybe Text) Source #
The recommended instance type.
recommendedOptionProjectedMetric_projectedMetrics :: Lens' RecommendedOptionProjectedMetric (Maybe [ProjectedMetric]) Source #
An array of objects that describe a projected utilization metric.
recommendedOptionProjectedMetric_rank :: Lens' RecommendedOptionProjectedMetric (Maybe Int) Source #
The rank of the recommendation option projected metric.
The top recommendation option is ranked as 1
.
The projected metric rank correlates to the recommendation option rank.
For example, the projected metric ranked as 1
is related to the
recommendation option that is also ranked as 1
in the same response.