amazonka-compute-optimizer-2.0: Amazon Compute Optimizer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption

Description

 
Synopsis

Documentation

data VolumeRecommendationOption Source #

Describes a recommendation option for an Amazon Elastic Block Store (Amazon EBS) instance.

See: newVolumeRecommendationOption smart constructor.

Constructors

VolumeRecommendationOption' 

Fields

  • configuration :: Maybe VolumeConfiguration

    An array of objects that describe a volume configuration.

  • performanceRisk :: Maybe Double

    The performance risk of the volume recommendation option.

    Performance risk is the likelihood of the recommended volume type meeting the performance requirement of your workload.

    The value ranges from 0 - 4, with 0 meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.

  • rank :: Maybe Int

    The rank of the volume recommendation option.

    The top recommendation option is ranked as 1.

  • savingsOpportunity :: Maybe SavingsOpportunity

    An object that describes the savings opportunity for the EBS volume recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.

Instances

Instances details
FromJSON VolumeRecommendationOption Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption

Generic VolumeRecommendationOption Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption

Associated Types

type Rep VolumeRecommendationOption :: Type -> Type #

Read VolumeRecommendationOption Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption

Show VolumeRecommendationOption Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption

NFData VolumeRecommendationOption Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption

Eq VolumeRecommendationOption Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption

Hashable VolumeRecommendationOption Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption

type Rep VolumeRecommendationOption Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption

type Rep VolumeRecommendationOption = D1 ('MetaData "VolumeRecommendationOption" "Amazonka.ComputeOptimizer.Types.VolumeRecommendationOption" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "VolumeRecommendationOption'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VolumeConfiguration)) :*: S1 ('MetaSel ('Just "performanceRisk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "rank") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "savingsOpportunity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SavingsOpportunity)))))

newVolumeRecommendationOption :: VolumeRecommendationOption Source #

Create a value of VolumeRecommendationOption 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:configuration:VolumeRecommendationOption', volumeRecommendationOption_configuration - An array of objects that describe a volume configuration.

$sel:performanceRisk:VolumeRecommendationOption', volumeRecommendationOption_performanceRisk - The performance risk of the volume recommendation option.

Performance risk is the likelihood of the recommended volume type meeting the performance requirement of your workload.

The value ranges from 0 - 4, with 0 meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.

$sel:rank:VolumeRecommendationOption', volumeRecommendationOption_rank - The rank of the volume recommendation option.

The top recommendation option is ranked as 1.

$sel:savingsOpportunity:VolumeRecommendationOption', volumeRecommendationOption_savingsOpportunity - An object that describes the savings opportunity for the EBS volume recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.

volumeRecommendationOption_configuration :: Lens' VolumeRecommendationOption (Maybe VolumeConfiguration) Source #

An array of objects that describe a volume configuration.

volumeRecommendationOption_performanceRisk :: Lens' VolumeRecommendationOption (Maybe Double) Source #

The performance risk of the volume recommendation option.

Performance risk is the likelihood of the recommended volume type meeting the performance requirement of your workload.

The value ranges from 0 - 4, with 0 meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.

volumeRecommendationOption_rank :: Lens' VolumeRecommendationOption (Maybe Int) Source #

The rank of the volume recommendation option.

The top recommendation option is ranked as 1.

volumeRecommendationOption_savingsOpportunity :: Lens' VolumeRecommendationOption (Maybe SavingsOpportunity) Source #

An object that describes the savings opportunity for the EBS volume recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.