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

Description

 
Synopsis

Documentation

data VolumeRecommendation Source #

Describes an Amazon Elastic Block Store (Amazon EBS) volume recommendation.

See: newVolumeRecommendation smart constructor.

Constructors

VolumeRecommendation' 

Fields

Instances

Instances details
Eq VolumeRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendation

Read VolumeRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendation

Show VolumeRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendation

Generic VolumeRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendation

Associated Types

type Rep VolumeRecommendation :: Type -> Type #

NFData VolumeRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendation

Methods

rnf :: VolumeRecommendation -> () #

Hashable VolumeRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendation

FromJSON VolumeRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendation

type Rep VolumeRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.VolumeRecommendation

type Rep VolumeRecommendation = D1 ('MetaData "VolumeRecommendation" "Amazonka.ComputeOptimizer.Types.VolumeRecommendation" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "VolumeRecommendation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "finding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EBSFinding)) :*: S1 ('MetaSel ('Just "volumeArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastRefreshTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "currentConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VolumeConfiguration)))) :*: ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "utilizationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EBSUtilizationMetric]))) :*: (S1 ('MetaSel ('Just "volumeRecommendationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VolumeRecommendationOption])) :*: S1 ('MetaSel ('Just "lookBackPeriodInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

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: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:volumeArn:VolumeRecommendation', volumeRecommendation_volumeArn - The Amazon Resource Name (ARN) of the current volume.

$sel:lastRefreshTimestamp:VolumeRecommendation', volumeRecommendation_lastRefreshTimestamp - The timestamp of when the volume recommendation was last refreshed.

$sel:currentConfiguration:VolumeRecommendation', volumeRecommendation_currentConfiguration - An array of objects that describe the current configuration of the volume.

$sel:accountId:VolumeRecommendation', volumeRecommendation_accountId - The Amazon Web Services account ID of the volume.

$sel:utilizationMetrics:VolumeRecommendation', volumeRecommendation_utilizationMetrics - An array of objects that describe the utilization metrics of the volume.

$sel:volumeRecommendationOptions:VolumeRecommendation', volumeRecommendation_volumeRecommendationOptions - An array of objects that describe the recommendation options for the volume.

$sel:lookBackPeriodInDays:VolumeRecommendation', volumeRecommendation_lookBackPeriodInDays - The number of days for which utilization metrics were analyzed for the volume.

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_volumeArn :: Lens' VolumeRecommendation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the current volume.

volumeRecommendation_lastRefreshTimestamp :: Lens' VolumeRecommendation (Maybe UTCTime) Source #

The timestamp of when the volume recommendation was last refreshed.

volumeRecommendation_currentConfiguration :: Lens' VolumeRecommendation (Maybe VolumeConfiguration) Source #

An array of objects that describe the current configuration of the volume.

volumeRecommendation_accountId :: Lens' VolumeRecommendation (Maybe Text) Source #

The Amazon Web Services account ID of the volume.

volumeRecommendation_utilizationMetrics :: Lens' VolumeRecommendation (Maybe [EBSUtilizationMetric]) Source #

An array of objects that describe the utilization metrics of the volume.

volumeRecommendation_volumeRecommendationOptions :: Lens' VolumeRecommendation (Maybe [VolumeRecommendationOption]) Source #

An array of objects that describe the recommendation options for the volume.

volumeRecommendation_lookBackPeriodInDays :: Lens' VolumeRecommendation (Maybe Double) Source #

The number of days for which utilization metrics were analyzed for the volume.