amazonka-cost-explorer-2.0: Amazon Cost Explorer Service 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.CostExplorer.Types.SavingsPlansPurchaseRecommendation

Description

 
Synopsis

Documentation

data SavingsPlansPurchaseRecommendation Source #

Contains your request parameters, Savings Plan Recommendations Summary, and Details.

See: newSavingsPlansPurchaseRecommendation smart constructor.

Constructors

SavingsPlansPurchaseRecommendation' 

Fields

Instances

Instances details
FromJSON SavingsPlansPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansPurchaseRecommendation

Generic SavingsPlansPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansPurchaseRecommendation

Associated Types

type Rep SavingsPlansPurchaseRecommendation :: Type -> Type #

Read SavingsPlansPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansPurchaseRecommendation

Show SavingsPlansPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansPurchaseRecommendation

NFData SavingsPlansPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansPurchaseRecommendation

Eq SavingsPlansPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansPurchaseRecommendation

Hashable SavingsPlansPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansPurchaseRecommendation

type Rep SavingsPlansPurchaseRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansPurchaseRecommendation

type Rep SavingsPlansPurchaseRecommendation = D1 ('MetaData "SavingsPlansPurchaseRecommendation" "Amazonka.CostExplorer.Types.SavingsPlansPurchaseRecommendation" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "SavingsPlansPurchaseRecommendation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccountScope)) :*: (S1 ('MetaSel ('Just "lookbackPeriodInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LookbackPeriodInDays)) :*: S1 ('MetaSel ('Just "paymentOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PaymentOption)))) :*: ((S1 ('MetaSel ('Just "savingsPlansPurchaseRecommendationDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SavingsPlansPurchaseRecommendationDetail])) :*: S1 ('MetaSel ('Just "savingsPlansPurchaseRecommendationSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SavingsPlansPurchaseRecommendationSummary))) :*: (S1 ('MetaSel ('Just "savingsPlansType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SupportedSavingsPlansType)) :*: S1 ('MetaSel ('Just "termInYears") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TermInYears))))))

newSavingsPlansPurchaseRecommendation :: SavingsPlansPurchaseRecommendation Source #

Create a value of SavingsPlansPurchaseRecommendation 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:accountScope:SavingsPlansPurchaseRecommendation', savingsPlansPurchaseRecommendation_accountScope - The account scope that you want your recommendations for. Amazon Web Services calculates recommendations that include the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.

$sel:lookbackPeriodInDays:SavingsPlansPurchaseRecommendation', savingsPlansPurchaseRecommendation_lookbackPeriodInDays - The lookback period in days that's used to generate the recommendation.

$sel:paymentOption:SavingsPlansPurchaseRecommendation', savingsPlansPurchaseRecommendation_paymentOption - The payment option that's used to generate the recommendation.

$sel:savingsPlansPurchaseRecommendationDetails:SavingsPlansPurchaseRecommendation', savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationDetails - Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.

$sel:savingsPlansPurchaseRecommendationSummary:SavingsPlansPurchaseRecommendation', savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationSummary - Summary metrics for your Savings Plans Recommendations.

$sel:savingsPlansType:SavingsPlansPurchaseRecommendation', savingsPlansPurchaseRecommendation_savingsPlansType - The requested Savings Plans recommendation type.

$sel:termInYears:SavingsPlansPurchaseRecommendation', savingsPlansPurchaseRecommendation_termInYears - The Savings Plans recommendation term in years. It's used to generate the recommendation.

savingsPlansPurchaseRecommendation_accountScope :: Lens' SavingsPlansPurchaseRecommendation (Maybe AccountScope) Source #

The account scope that you want your recommendations for. Amazon Web Services calculates recommendations that include the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.

savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationDetails :: Lens' SavingsPlansPurchaseRecommendation (Maybe [SavingsPlansPurchaseRecommendationDetail]) Source #

Details for the Savings Plans that we recommend that you purchase to cover existing Savings Plans eligible workloads.

savingsPlansPurchaseRecommendation_termInYears :: Lens' SavingsPlansPurchaseRecommendation (Maybe TermInYears) Source #

The Savings Plans recommendation term in years. It's used to generate the recommendation.