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

Class: Aws::Budgets::Types::UpdateBudgetRequest

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

Overview

Note:

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

{
  account_id: "AccountId", # required
  new_budget: { # required
    budget_name: "BudgetName", # required
    budget_limit: { # required
      amount: "NumericValue", # required
      unit: "UnitValue", # required
    },
    cost_filters: {
      "GenericString" => ["GenericString"],
    },
    cost_types: { # required
      include_tax: false, # required
      include_subscription: false, # required
      use_blended: false, # required
    },
    time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
    time_period: { # required
      start: Time.now, # required
      end: Time.now, # required
    },
    calculated_spend: {
      actual_spend: { # required
        amount: "NumericValue", # required
        unit: "UnitValue", # required
      },
      forecasted_spend: {
        amount: "NumericValue", # required
        unit: "UnitValue", # required
      },
    },
    budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION
  },
}

Request of UpdateBudget

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

Account Id of the customer. It should be a 12 digit number.

Returns:

  • (String)

    Account Id of the customer.

#new_budgetTypes::Budget

AWS Budget model

Returns: