libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric

Description

 
Synopsis

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.

Constructors

RecommendedOptionProjectedMetric' 

Fields

  • recommendedInstanceType :: Maybe Text

    The recommended instance type.

  • projectedMetrics :: Maybe [ProjectedMetric]

    An array of objects that describe a projected utilization metric.

  • rank :: Maybe Int

    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.

Instances

Instances details
Eq RecommendedOptionProjectedMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric

Read RecommendedOptionProjectedMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric

Show RecommendedOptionProjectedMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric

Generic RecommendedOptionProjectedMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric

Associated Types

type Rep RecommendedOptionProjectedMetric :: Type -> Type #

NFData RecommendedOptionProjectedMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric

Hashable RecommendedOptionProjectedMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric

FromJSON RecommendedOptionProjectedMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric

type Rep RecommendedOptionProjectedMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric

type Rep RecommendedOptionProjectedMetric = D1 ('MetaData "RecommendedOptionProjectedMetric" "Amazonka.ComputeOptimizer.Types.RecommendedOptionProjectedMetric" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "RecommendedOptionProjectedMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recommendedInstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "projectedMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProjectedMetric])) :*: S1 ('MetaSel ('Just "rank") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

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_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.