Skip to content

DescribeBudgetSpendRequest

Source code in docs_src/capo_budgets/types/describe_budget_spend_request.py
class DescribeBudgetSpendRequest(TypedDict, closed=True):
    account_id: "capo_budgets.types.account_id.AccountId"
    """<p>The <code>accountId</code> that is associated with the budget.</p>"""
    budget_name: "capo_budgets.types.budget_name.BudgetName"
    """<p>The name of the budget whose spend you want to describe.</p>"""
    group_by: NotRequired["capo_budgets.types.group_definitions.GroupDefinitions"]
    """<p>How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify one <code>DIMENSION</code> entry whose key is the budget's <code>SpendAttributions</code> value. If you don't specify <code>GroupBy</code>, the response uses the budget's <code>BudgetLimitDimensions</code>.</p>"""
    filter_expression: NotRequired["capo_budgets.types.expression.Expression"]
    """<p>The principals to return spend for. Specify one <code>Dimensions</code> clause whose key is the budget's <code>SpendAttributions</code> value, with the <code>EQUALS</code> match option and 1 to 20 principal IDs. If you don't specify <code>FilterExpression</code>, Amazon Web Services Budgets returns spend for every principal that has spend in the budget.</p>"""
    max_results: NotRequired[
        "capo_budgets.types.max_results_describe_budgets.MaxResultsDescribeBudgets"
    ]
    """<p>The maximum number of results to return in one page. Valid range is 1 to 1000. If you don't specify <code>MaxResults</code>, the default is 100.</p>"""
    next_token: NotRequired[
        "capo_budgets.types.spend_pagination_token.SpendPaginationToken"
    ]
    """<p>The pagination token that you include in your request to indicate the next set of results that you want to retrieve.</p>"""

account_id instance-attribute

account_id: AccountId

The accountId that is associated with the budget.

budget_name instance-attribute

budget_name: BudgetName

The name of the budget whose spend you want to describe.

filter_expression instance-attribute

filter_expression: NotRequired[Expression]

The principals to return spend for. Specify one Dimensions clause whose key is the budget's SpendAttributions value, with the EQUALS match option and 1 to 20 principal IDs. If you don't specify FilterExpression, Amazon Web Services Budgets returns spend for every principal that has spend in the budget.

group_by instance-attribute

group_by: NotRequired[GroupDefinitions]

How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify one DIMENSION entry whose key is the budget's SpendAttributions value. If you don't specify GroupBy, the response uses the budget's BudgetLimitDimensions.

max_results instance-attribute

max_results: NotRequired[MaxResultsDescribeBudgets]

The maximum number of results to return in one page. Valid range is 1 to 1000. If you don't specify MaxResults, the default is 100.

next_token instance-attribute

next_token: NotRequired[SpendPaginationToken]

The pagination token that you include in your request to indicate the next set of results that you want to retrieve.