Class: Aws::Budgets::Types::AutoAdjustData

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 AutoAdjustData data as a hash:

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

The parameters that determine the budget amount for an auto-adjusting budget.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_adjust_typeString

The string that defines whether your budget auto-adjusts based on historical or forecasted data.

Returns:

  • (String)


187
188
189
190
191
192
193
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 187

class AutoAdjustData < Struct.new(
  :auto_adjust_type,
  :historical_options,
  :last_auto_adjust_time)
  SENSITIVE = []
  include Aws::Structure
end

#historical_optionsTypes::HistoricalOptions

The parameters that define or describe the historical data that your auto-adjusting budget is based on.



187
188
189
190
191
192
193
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 187

class AutoAdjustData < Struct.new(
  :auto_adjust_type,
  :historical_options,
  :last_auto_adjust_time)
  SENSITIVE = []
  include Aws::Structure
end

#last_auto_adjust_timeTime

The last time that your budget was auto-adjusted.

Returns:

  • (Time)


187
188
189
190
191
192
193
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 187

class AutoAdjustData < Struct.new(
  :auto_adjust_type,
  :historical_options,
  :last_auto_adjust_time)
  SENSITIVE = []
  include Aws::Structure
end