libZSservicesZSamazonka-budgetsZSamazonka-budgets
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.Budgets.Types.CalculatedSpend

Description

 
Synopsis

Documentation

data CalculatedSpend Source #

The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much you are predicted to spend based on your historical usage profile.

For example, if it is the 20th of the month and you have spent 50 dollars on Amazon EC2, your actualSpend is 50 USD, and your forecastedSpend is 75 USD.

See: newCalculatedSpend smart constructor.

Constructors

CalculatedSpend' 

Fields

  • forecastedSpend :: Maybe Spend

    The amount of cost, usage, RI units, or Savings Plans units that you are forecasted to use.

  • actualSpend :: Spend

    The amount of cost, usage, RI units, or Savings Plans units that you have used.

Instances

Instances details
Eq CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Read CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Show CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Generic CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Associated Types

type Rep CalculatedSpend :: Type -> Type #

NFData CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Methods

rnf :: CalculatedSpend -> () #

Hashable CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

ToJSON CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

FromJSON CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

type Rep CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

type Rep CalculatedSpend = D1 ('MetaData "CalculatedSpend" "Amazonka.Budgets.Types.CalculatedSpend" "libZSservicesZSamazonka-budgetsZSamazonka-budgets" 'False) (C1 ('MetaCons "CalculatedSpend'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forecastedSpend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Spend)) :*: S1 ('MetaSel ('Just "actualSpend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Spend)))

newCalculatedSpend Source #

Create a value of CalculatedSpend 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:forecastedSpend:CalculatedSpend', calculatedSpend_forecastedSpend - The amount of cost, usage, RI units, or Savings Plans units that you are forecasted to use.

$sel:actualSpend:CalculatedSpend', calculatedSpend_actualSpend - The amount of cost, usage, RI units, or Savings Plans units that you have used.

calculatedSpend_forecastedSpend :: Lens' CalculatedSpend (Maybe Spend) Source #

The amount of cost, usage, RI units, or Savings Plans units that you are forecasted to use.

calculatedSpend_actualSpend :: Lens' CalculatedSpend Spend Source #

The amount of cost, usage, RI units, or Savings Plans units that you have used.