You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Budgets::Types::CalculatedSpend

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb

Overview

Note:

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
  },
}

A structure holds the actual and forecasted spend for a budget.

Instance Attribute Summary collapse

Instance Attribute Details

#actual_spendTypes::Spend

A structure represent either a cost spend or usage spend. Contains an amount and a unit.

Returns:



120
121
122
123
124
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 120

class CalculatedSpend < Struct.new(
  :actual_spend,
  :forecasted_spend)
  include Aws::Structure
end

#forecasted_spendTypes::Spend

A structure represent either a cost spend or usage spend. Contains an amount and a unit.

Returns:



120
121
122
123
124
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 120

class CalculatedSpend < Struct.new(
  :actual_spend,
  :forecasted_spend)
  include Aws::Structure
end