SpendGroup
¶
Source code in docs_src/capo_budgets/types/spend_group.py
keys
instance-attribute
¶
keys: NotRequired[SpendGroupKeys]
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.
last_usage_time
instance-attribute
¶
last_usage_time: NotRequired[GenericTimestamp]
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.
limit_status
instance-attribute
¶
limit_status: NotRequired[LimitStatus]
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.