libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
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.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
Eq SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

Read SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

Show 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 #

NFData SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

Methods

rnf :: SavingsPlansSavings -> () #

Hashable SavingsPlansSavings Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansSavings

FromJSON 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" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" '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.