Class: Aws::Budgets::Types::Spend
- Inherits:
-
Struct
- Object
- Struct
- Aws::Budgets::Types::Spend
- Defined in:
- gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb
Overview
Note:
When making an API call, you may pass Spend data as a hash:
{
amount: "NumericValue", # required
unit: "UnitValue", # required
}
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
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#amount ⇒ String
The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.
-
#unit ⇒ String
The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.
Instance Attribute Details
#amount ⇒ String
The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.
2152 2153 2154 2155 2156 2157 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2152 class Spend < Struct.new( :amount, :unit) SENSITIVE = [] include Aws::Structure end |
#unit ⇒ String
The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.
2152 2153 2154 2155 2156 2157 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2152 class Spend < Struct.new( :amount, :unit) SENSITIVE = [] include Aws::Structure end |