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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CalculatedSpend as input to an Aws::Client method, you can use a vanilla Hash:

{
  actual_spend: { # required
    amount: "NumericValue", # required
    unit: "UnitValue", # required
  },
  forecasted_spend: {
    amount: "NumericValue", # required
    unit: "UnitValue", # required
  },
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#actual_spendTypes::Spend

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

Returns:

  • (Types::Spend)

    A structure that represents either a cost spend or usage spend.

#forecasted_spendTypes::Spend

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

Returns:

  • (Types::Spend)

    A structure that represents either a cost spend or usage spend.