amazonka-budgets-2.0: Amazon Budgets 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.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 that you're predicted to spend based on your historical usage profile.

For example, if it's 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're forecasted to use.

  • actualSpend :: Spend

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

Instances

Instances details
FromJSON CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

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

Read CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Show CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

NFData CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Methods

rnf :: CalculatedSpend -> () #

Eq CalculatedSpend Source # 
Instance details

Defined in Amazonka.Budgets.Types.CalculatedSpend

Hashable 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" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" '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're forecasted to use.

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

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

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

calculatedSpend_actualSpend :: Lens' CalculatedSpend Spend Source #

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