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

Description

 
Synopsis

Documentation

data AutoScalingGroupRecommendation Source #

Describes an Auto Scaling group recommendation.

See: newAutoScalingGroupRecommendation smart constructor.

Constructors

AutoScalingGroupRecommendation' 

Fields

Instances

Instances details
Eq AutoScalingGroupRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation

Read AutoScalingGroupRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation

Show AutoScalingGroupRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation

Generic AutoScalingGroupRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation

Associated Types

type Rep AutoScalingGroupRecommendation :: Type -> Type #

NFData AutoScalingGroupRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation

Hashable AutoScalingGroupRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation

FromJSON AutoScalingGroupRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation

type Rep AutoScalingGroupRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation

type Rep AutoScalingGroupRecommendation = D1 ('MetaData "AutoScalingGroupRecommendation" "Amazonka.ComputeOptimizer.Types.AutoScalingGroupRecommendation" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "AutoScalingGroupRecommendation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "finding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Finding)) :*: S1 ('MetaSel ('Just "lastRefreshTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "currentConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoScalingGroupConfiguration)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "utilizationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UtilizationMetric]))) :*: (S1 ('MetaSel ('Just "autoScalingGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recommendationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AutoScalingGroupRecommendationOption])) :*: S1 ('MetaSel ('Just "lookBackPeriodInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))))

newAutoScalingGroupRecommendation :: AutoScalingGroupRecommendation Source #

Create a value of AutoScalingGroupRecommendation 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:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_finding - The finding classification of the Auto Scaling group.

Findings for Auto Scaling groups include:

  • NotOptimized —An Auto Scaling group is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.
  • Optimized —An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type.

$sel:lastRefreshTimestamp:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_lastRefreshTimestamp - The timestamp of when the Auto Scaling group recommendation was last refreshed.

$sel:currentConfiguration:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_currentConfiguration - An array of objects that describe the current configuration of the Auto Scaling group.

$sel:accountId:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_accountId - The Amazon Web Services account ID of the Auto Scaling group.

$sel:autoScalingGroupName:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_autoScalingGroupName - The name of the Auto Scaling group.

$sel:utilizationMetrics:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_utilizationMetrics - An array of objects that describe the utilization metrics of the Auto Scaling group.

$sel:autoScalingGroupArn:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_autoScalingGroupArn - The Amazon Resource Name (ARN) of the Auto Scaling group.

$sel:recommendationOptions:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_recommendationOptions - An array of objects that describe the recommendation options for the Auto Scaling group.

$sel:lookBackPeriodInDays:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_lookBackPeriodInDays - The number of days for which utilization metrics were analyzed for the Auto Scaling group.

autoScalingGroupRecommendation_finding :: Lens' AutoScalingGroupRecommendation (Maybe Finding) Source #

The finding classification of the Auto Scaling group.

Findings for Auto Scaling groups include:

  • NotOptimized —An Auto Scaling group is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.
  • Optimized —An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type.

autoScalingGroupRecommendation_lastRefreshTimestamp :: Lens' AutoScalingGroupRecommendation (Maybe UTCTime) Source #

The timestamp of when the Auto Scaling group recommendation was last refreshed.

autoScalingGroupRecommendation_currentConfiguration :: Lens' AutoScalingGroupRecommendation (Maybe AutoScalingGroupConfiguration) Source #

An array of objects that describe the current configuration of the Auto Scaling group.

autoScalingGroupRecommendation_accountId :: Lens' AutoScalingGroupRecommendation (Maybe Text) Source #

The Amazon Web Services account ID of the Auto Scaling group.

autoScalingGroupRecommendation_utilizationMetrics :: Lens' AutoScalingGroupRecommendation (Maybe [UtilizationMetric]) Source #

An array of objects that describe the utilization metrics of the Auto Scaling group.

autoScalingGroupRecommendation_autoScalingGroupArn :: Lens' AutoScalingGroupRecommendation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Auto Scaling group.

autoScalingGroupRecommendation_recommendationOptions :: Lens' AutoScalingGroupRecommendation (Maybe [AutoScalingGroupRecommendationOption]) Source #

An array of objects that describe the recommendation options for the Auto Scaling group.

autoScalingGroupRecommendation_lookBackPeriodInDays :: Lens' AutoScalingGroupRecommendation (Maybe Double) Source #

The number of days for which utilization metrics were analyzed for the Auto Scaling group.