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

Description

 
Synopsis

Documentation

data SavingsPlansSavings Source #

The amount of savings that you're accumulating, against the public On-Demand rate of the usage accrued in an account.

See: newSavingsPlansSavings smart constructor.

Constructors

SavingsPlansSavings' 

Fields

  • netSavings :: Maybe Text

    The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.

  • onDemandCostEquivalent :: Maybe Text

    How much the amount that the usage would have cost if it was accrued at the On-Demand rate.

Instances

Instances details
FromJSON SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

Generic SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

Associated Types

type Rep SavingsPlansSavings :: Type -> Type #

Read SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

Show SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

NFData SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

Methods

rnf :: SavingsPlansSavings -> () #

Eq SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

Hashable SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

type Rep SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

type Rep SavingsPlansSavings = D1 ('MetaData "SavingsPlansSavings" "Amazonka.CostExplorer.Types.SavingsPlansSavings" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "SavingsPlansSavings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "netSavings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "onDemandCostEquivalent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSavingsPlansSavings :: SavingsPlansSavings Source #

Create a value of SavingsPlansSavings 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:netSavings:SavingsPlansSavings', savingsPlansSavings_netSavings - The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.

$sel:onDemandCostEquivalent:SavingsPlansSavings', savingsPlansSavings_onDemandCostEquivalent - How much the amount that the usage would have cost if it was accrued at the On-Demand rate.

savingsPlansSavings_netSavings :: Lens' SavingsPlansSavings (Maybe Text) Source #

The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.

savingsPlansSavings_onDemandCostEquivalent :: Lens' SavingsPlansSavings (Maybe Text) Source #

How much the amount that the usage would have cost if it was accrued at the On-Demand rate.