Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
The amount of cost or usage that's measured for a budget.
For example, a Spend
for 3 GB
of S3 usage has the following
parameters:
- An
Amount
of3
- A
unit
ofGB
See: newSpend
smart constructor.
Instances
FromJSON Spend Source # | |
ToJSON Spend Source # | |
Defined in Amazonka.Budgets.Types.Spend | |
Generic Spend Source # | |
Read Spend Source # | |
Show Spend Source # | |
NFData Spend Source # | |
Defined in Amazonka.Budgets.Types.Spend | |
Eq Spend Source # | |
Hashable Spend Source # | |
Defined in Amazonka.Budgets.Types.Spend | |
type Rep Spend Source # | |
Defined in Amazonka.Budgets.Types.Spend type Rep Spend = D1 ('MetaData "Spend" "Amazonka.Budgets.Types.Spend" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "Spend'" 'PrefixI 'True) (S1 ('MetaSel ('Just "amount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Spend
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:amount:Spend'
, spend_amount
- The cost or usage amount that's associated with a budget forecast,
actual spend, or budget threshold.
$sel:unit:Spend'
, spend_unit
- The unit of measurement that's used for the budget forecast, actual
spend, or budget threshold, such as USD or GBP.