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

Description

 
Synopsis

Documentation

data SavingsPlansCoverageData Source #

Specific coverage percentage, On-Demand costs, and spend covered by Savings Plans, and total Savings Plans costs for an account.

See: newSavingsPlansCoverageData smart constructor.

Constructors

SavingsPlansCoverageData' 

Fields

  • onDemandCost :: Maybe Text

    The cost of your Amazon Web Services usage at the public On-Demand rate.

  • spendCoveredBySavingsPlans :: Maybe Text

    The amount of your Amazon Web Services usage that is covered by a Savings Plans.

  • coveragePercentage :: Maybe Text

    The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage in an account (or set of accounts).

  • totalCost :: Maybe Text

    The total cost of your Amazon Web Services usage, regardless of your purchase option.

Instances

Instances details
Eq SavingsPlansCoverageData Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansCoverageData

Read SavingsPlansCoverageData Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansCoverageData

Show SavingsPlansCoverageData Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansCoverageData

Generic SavingsPlansCoverageData Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansCoverageData

Associated Types

type Rep SavingsPlansCoverageData :: Type -> Type #

NFData SavingsPlansCoverageData Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansCoverageData

Hashable SavingsPlansCoverageData Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansCoverageData

FromJSON SavingsPlansCoverageData Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansCoverageData

type Rep SavingsPlansCoverageData Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansCoverageData

type Rep SavingsPlansCoverageData = D1 ('MetaData "SavingsPlansCoverageData" "Amazonka.CostExplorer.Types.SavingsPlansCoverageData" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "SavingsPlansCoverageData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "onDemandCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "spendCoveredBySavingsPlans") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "coveragePercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "totalCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSavingsPlansCoverageData :: SavingsPlansCoverageData Source #

Create a value of SavingsPlansCoverageData 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:onDemandCost:SavingsPlansCoverageData', savingsPlansCoverageData_onDemandCost - The cost of your Amazon Web Services usage at the public On-Demand rate.

$sel:spendCoveredBySavingsPlans:SavingsPlansCoverageData', savingsPlansCoverageData_spendCoveredBySavingsPlans - The amount of your Amazon Web Services usage that is covered by a Savings Plans.

$sel:coveragePercentage:SavingsPlansCoverageData', savingsPlansCoverageData_coveragePercentage - The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage in an account (or set of accounts).

$sel:totalCost:SavingsPlansCoverageData', savingsPlansCoverageData_totalCost - The total cost of your Amazon Web Services usage, regardless of your purchase option.

savingsPlansCoverageData_onDemandCost :: Lens' SavingsPlansCoverageData (Maybe Text) Source #

The cost of your Amazon Web Services usage at the public On-Demand rate.

savingsPlansCoverageData_spendCoveredBySavingsPlans :: Lens' SavingsPlansCoverageData (Maybe Text) Source #

The amount of your Amazon Web Services usage that is covered by a Savings Plans.

savingsPlansCoverageData_coveragePercentage :: Lens' SavingsPlansCoverageData (Maybe Text) Source #

The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage in an account (or set of accounts).

savingsPlansCoverageData_totalCost :: Lens' SavingsPlansCoverageData (Maybe Text) Source #

The total cost of your Amazon Web Services usage, regardless of your purchase option.