Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data SavingsPlansPurchaseRecommendation = SavingsPlansPurchaseRecommendation' {
- accountScope :: Maybe AccountScope
- lookbackPeriodInDays :: Maybe LookbackPeriodInDays
- paymentOption :: Maybe PaymentOption
- savingsPlansPurchaseRecommendationDetails :: Maybe [SavingsPlansPurchaseRecommendationDetail]
- savingsPlansPurchaseRecommendationSummary :: Maybe SavingsPlansPurchaseRecommendationSummary
- savingsPlansType :: Maybe SupportedSavingsPlansType
- termInYears :: Maybe TermInYears
- newSavingsPlansPurchaseRecommendation :: SavingsPlansPurchaseRecommendation
- savingsPlansPurchaseRecommendation_accountScope :: Lens' SavingsPlansPurchaseRecommendation (Maybe AccountScope)
- savingsPlansPurchaseRecommendation_lookbackPeriodInDays :: Lens' SavingsPlansPurchaseRecommendation (Maybe LookbackPeriodInDays)
- savingsPlansPurchaseRecommendation_paymentOption :: Lens' SavingsPlansPurchaseRecommendation (Maybe PaymentOption)
- savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationDetails :: Lens' SavingsPlansPurchaseRecommendation (Maybe [SavingsPlansPurchaseRecommendationDetail])
- savingsPlansPurchaseRecommendation_savingsPlansPurchaseRecommendationSummary :: Lens' SavingsPlansPurchaseRecommendation (Maybe SavingsPlansPurchaseRecommendationSummary)
- savingsPlansPurchaseRecommendation_savingsPlansType :: Lens' SavingsPlansPurchaseRecommendation (Maybe SupportedSavingsPlansType)
- savingsPlansPurchaseRecommendation_termInYears :: Lens' SavingsPlansPurchaseRecommendation (Maybe TermInYears)
Documentation
data SavingsPlansPurchaseRecommendation Source #
Contains your request parameters, Savings Plan Recommendations Summary, and Details.
See: newSavingsPlansPurchaseRecommendation
smart constructor.
SavingsPlansPurchaseRecommendation' | |
|
Instances
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_lookbackPeriodInDays :: Lens' SavingsPlansPurchaseRecommendation (Maybe LookbackPeriodInDays) Source #
The lookback period in days that's used to generate the recommendation.
savingsPlansPurchaseRecommendation_paymentOption :: Lens' SavingsPlansPurchaseRecommendation (Maybe PaymentOption) Source #
The payment option that's used to generate the recommendation.
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_savingsPlansPurchaseRecommendationSummary :: Lens' SavingsPlansPurchaseRecommendation (Maybe SavingsPlansPurchaseRecommendationSummary) Source #
Summary metrics for your Savings Plans Recommendations.
savingsPlansPurchaseRecommendation_savingsPlansType :: Lens' SavingsPlansPurchaseRecommendation (Maybe SupportedSavingsPlansType) Source #
The requested Savings Plans recommendation type.
savingsPlansPurchaseRecommendation_termInYears :: Lens' SavingsPlansPurchaseRecommendation (Maybe TermInYears) Source #
The Savings Plans recommendation term in years. It's used to generate the recommendation.