Skip to content

PerBudgetSpendItem

Source code in docs_src/capo_budgets/types/per_budget_spend_item.py
class PerBudgetSpendItem(TypedDict, closed=True):
    budget_name: NotRequired["capo_budgets.types.budget_name.BudgetName"]
    """<p>The name of the budget.</p>"""
    budget_limit: NotRequired["capo_budgets.types.spend.Spend"]
    """<p>The budget limit that applies to the principal.</p>"""
    time_period: NotRequired["capo_budgets.types.time_period.TimePeriod"]
    """<p>The current period of the budget.</p>"""
    spend: NotRequired["capo_budgets.types.spend.Spend"]
    """<p>The principal's spend in the budget for the current period.</p>"""
    limit_status: NotRequired["capo_budgets.types.limit_status.LimitStatus"]
    """<p>Specifies whether the principal's spend has reached the budget limit.</p>"""
    last_usage_time: NotRequired[
        "capo_budgets.types.generic_timestamp.GenericTimestamp"
    ]
    """<p>The time of the principal's most recent usage that counts toward the budget.</p>"""
    budget_limit_dimensions: NotRequired[
        "capo_budgets.types.budget_limit_dimensions.BudgetLimitDimensions"
    ]
    """<p>The dimension that the budget limit applies to.</p>"""
    last_updated_time: NotRequired[
        "capo_budgets.types.generic_timestamp.GenericTimestamp"
    ]
    """<p>The time when Amazon Web Services Budgets last updated the spend for the current period.</p>"""
    keys: NotRequired["capo_budgets.types.spend_group_keys.SpendGroupKeys"]
    """<p>The values of the budget's <code>BudgetLimitDimensions</code>, in the same order. For a budget with a limit for each principal, this is the ID of the principal. For a budget with one limit for all principals, the list is empty.</p>"""

budget_limit instance-attribute

budget_limit: NotRequired[Spend]

The budget limit that applies to the principal.

budget_limit_dimensions instance-attribute

budget_limit_dimensions: NotRequired[BudgetLimitDimensions]

The dimension that the budget limit applies to.

budget_name instance-attribute

budget_name: NotRequired[BudgetName]

The name of the budget.

keys instance-attribute

keys: NotRequired[SpendGroupKeys]

The values of the budget's BudgetLimitDimensions, in the same order. For a budget with a limit for each principal, this is the ID of the principal. For a budget with one limit for all principals, the list is empty.

last_updated_time instance-attribute

last_updated_time: NotRequired[GenericTimestamp]

The time when Amazon Web Services Budgets last updated the spend for the current period.

last_usage_time instance-attribute

last_usage_time: NotRequired[GenericTimestamp]

The time of the principal's most recent usage that counts toward the budget.

limit_status instance-attribute

limit_status: NotRequired[LimitStatus]

Specifies whether the principal's spend has reached the budget limit.

spend instance-attribute

spend: NotRequired[Spend]

The principal's spend in the budget for the current period.

time_period instance-attribute

time_period: NotRequired[TimePeriod]

The current period of the budget.