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

Description

 
Synopsis

Documentation

data SavingsOpportunity Source #

Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource.

Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation.

Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see Enabling Cost Explorer and Optimizing your cost with Rightsizing Recommendations in the Cost Management User Guide.

See: newSavingsOpportunity smart constructor.

Constructors

SavingsOpportunity' 

Fields

Instances

Instances details
FromJSON SavingsOpportunity Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.SavingsOpportunity

Generic SavingsOpportunity Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.SavingsOpportunity

Associated Types

type Rep SavingsOpportunity :: Type -> Type #

Read SavingsOpportunity Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.SavingsOpportunity

Show SavingsOpportunity Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.SavingsOpportunity

NFData SavingsOpportunity Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.SavingsOpportunity

Methods

rnf :: SavingsOpportunity -> () #

Eq SavingsOpportunity Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.SavingsOpportunity

Hashable SavingsOpportunity Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.SavingsOpportunity

type Rep SavingsOpportunity Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.SavingsOpportunity

type Rep SavingsOpportunity = D1 ('MetaData "SavingsOpportunity" "Amazonka.ComputeOptimizer.Types.SavingsOpportunity" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "SavingsOpportunity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "estimatedMonthlySavings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EstimatedMonthlySavings)) :*: S1 ('MetaSel ('Just "savingsOpportunityPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newSavingsOpportunity :: SavingsOpportunity Source #

Create a value of SavingsOpportunity 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:estimatedMonthlySavings:SavingsOpportunity', savingsOpportunity_estimatedMonthlySavings - An object that describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource.

$sel:savingsOpportunityPercentage:SavingsOpportunity', savingsOpportunity_savingsOpportunityPercentage - The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.

savingsOpportunity_estimatedMonthlySavings :: Lens' SavingsOpportunity (Maybe EstimatedMonthlySavings) Source #

An object that describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource.

savingsOpportunity_savingsOpportunityPercentage :: Lens' SavingsOpportunity (Maybe Double) Source #

The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.