Class: Aws::Budgets::Types::CalculatedSpend
- Inherits:
-
Struct
- Object
- Struct
- Aws::Budgets::Types::CalculatedSpend
- Defined in:
- gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb
Overview
When making an API call, you may pass CalculatedSpend data as a hash:
{
actual_spend: { # required
amount: "NumericValue", # required
unit: "UnitValue", # required
},
forecasted_spend: {
amount: "NumericValue", # required
unit: "UnitValue", # required
},
}
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
.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#actual_spend ⇒ Types::Spend
The amount of cost, usage, RI units, or Savings Plans units that you have used.
-
#forecasted_spend ⇒ Types::Spend
The amount of cost, usage, RI units, or Savings Plans units that you are forecasted to use.
Instance Attribute Details
#actual_spend ⇒ Types::Spend
The amount of cost, usage, RI units, or Savings Plans units that you have used.
452 453 454 455 456 457 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 452 class CalculatedSpend < Struct.new( :actual_spend, :forecasted_spend) SENSITIVE = [] include Aws::Structure end |
#forecasted_spend ⇒ Types::Spend
The amount of cost, usage, RI units, or Savings Plans units that you are forecasted to use.
452 453 454 455 456 457 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 452 class CalculatedSpend < Struct.new( :actual_spend, :forecasted_spend) SENSITIVE = [] include Aws::Structure end |