Class: Aws::Budgets::Types::SpendGroup
- Inherits:
-
Struct
- Object
- Struct
- Aws::Budgets::Types::SpendGroup
- Defined in:
- gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb
Overview
One row of a budget's spend for the current period. The row is the
spend of one limit, or of one principal's share when you group by the
budget's SpendAttributions key.
Constant Summary collapse
- SENSITIVE =
[:keys]
Instance Attribute Summary collapse
-
#keys ⇒ Array<String>
The values that identify the row, one for each entry in
GroupDefinitions, in the same order. -
#last_usage_time ⇒ Time
The time of the most recent usage that counts toward the row.
-
#limit_status ⇒ String
Specifies whether the spend has reached the budget limit that the row counts toward.
-
#spend ⇒ Types::Spend
The spend of the row in the current period.
Instance Attribute Details
#keys ⇒ Array<String>
The values that identify the row, one for each entry in
GroupDefinitions, in the same order. When you group by the
budget's SpendAttributions key, the value is the ID of the
principal. The list is empty for the total spend of a budget without
BudgetLimitDimensions.
2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2411 class SpendGroup < Struct.new( :keys, :spend, :limit_status, :last_usage_time) SENSITIVE = [:keys] include Aws::Structure end |
#last_usage_time ⇒ Time
The time of the most recent usage that counts toward the row. Amazon
Web Services Budgets doesn't return this field when the budget has
no BudgetLimitDimensions or when the budget has no usage in the
current period yet.
2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2411 class SpendGroup < Struct.new( :keys, :spend, :limit_status, :last_usage_time) SENSITIVE = [:keys] include Aws::Structure end |
#limit_status ⇒ String
Specifies whether the spend has reached the budget limit that the row counts toward. That limit is the principal's own limit, or the limit of the whole budget.
2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2411 class SpendGroup < Struct.new( :keys, :spend, :limit_status, :last_usage_time) SENSITIVE = [:keys] include Aws::Structure end |
#spend ⇒ Types::Spend
The spend of the row in the current period.
2411 2412 2413 2414 2415 2416 2417 2418 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2411 class SpendGroup < Struct.new( :keys, :spend, :limit_status, :last_usage_time) SENSITIVE = [:keys] include Aws::Structure end |