Class: Aws::Budgets::Types::UpdateBudgetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Budgets::Types::UpdateBudgetRequest
- Defined in:
- gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb
Overview
Note:
When making an API call, you may pass UpdateBudgetRequest data as a hash:
{
account_id: "AccountId", # required
new_budget: { # required
budget_name: "BudgetName", # required
budget_limit: {
amount: "NumericValue", # required
unit: "UnitValue", # required
},
planned_budget_limits: {
"GenericString" => {
amount: "NumericValue", # required
unit: "UnitValue", # required
},
},
cost_filters: {
"GenericString" => ["DimensionValue"],
},
cost_types: {
include_tax: false,
include_subscription: false,
use_blended: false,
include_refund: false,
include_credit: false,
include_upfront: false,
include_recurring: false,
include_other_subscription: false,
include_support: false,
include_discount: false,
use_amortized: false,
},
time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
time_period: {
start: Time.now,
end: Time.now,
},
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, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, SAVINGS_PLANS_COVERAGE
last_updated_time: Time.now,
auto_adjust_data: {
auto_adjust_type: "HISTORICAL", # required, accepts HISTORICAL, FORECAST
historical_options: {
budget_adjustment_period: 1, # required
look_back_available_periods: 1,
},
last_auto_adjust_time: Time.now,
},
},
}
Request of UpdateBudget
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The
accountId
that is associated with the budget that you want to update. -
#new_budget ⇒ Types::Budget
The budget that you want to update your budget to.
Instance Attribute Details
#account_id ⇒ String
The accountId
that is associated with the budget that you want to
update.
2475 2476 2477 2478 2479 2480 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2475 class UpdateBudgetRequest < Struct.new( :account_id, :new_budget) SENSITIVE = [] include Aws::Structure end |
#new_budget ⇒ Types::Budget
The budget that you want to update your budget to.
2475 2476 2477 2478 2479 2480 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2475 class UpdateBudgetRequest < Struct.new( :account_id, :new_budget) SENSITIVE = [] include Aws::Structure end |