Skip to main content

budget_performance_histories

Creates, updates, deletes, gets or lists a budget_performance_histories resource.

Overview

Namebudget_performance_histories
TypeResource
Idaws.budgets.budget_performance_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
billing_view_arnstringThe Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN is used to specify which particular billing view you want to interact with or retrieve information from when making API calls related to Amazon Web Services Billing and Cost Management features. The BillingViewArn can be retrieved by calling the ListBillingViews API. (pattern: <code>^arn:aws[a-z-]*:(billing)::[0-9]{12}:billingview/[a-zA-Z0-9/:_+=.-@]{0,75}[a-zA-Z0-9]$</code>)
budget_namestringA string that represents the budget name. The ":" and "" characters, and the "/action/" substring, aren't allowed. Budget names are validated for content. Names that contain phone numbers, URLs, or email addresses combined with certain terms may be rejected. (pattern: <code>^(?![^:\]/action/|(?i).<script>.</script>.)[^:\]+$</code>)
budget_typestringThe type of a budget. It must be one of the following types: COST, USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, or SAVINGS_PLANS_COVERAGE. (USAGE, COST, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, SAVINGS_PLANS_COVERAGE)
budgeted_and_actual_amounts_listarrayA list of amounts of cost or usage that you created budgets for, which are compared to your actual costs or usage.
cost_filtersobjectThe history of the cost filters for a budget during the specified time period.
cost_typesobjectThe history of the cost types for a budget during the specified time period.
filter_expressionobjectUse Expression to filter in various Budgets APIs.
metricsarrayThe definition for how the budget data is aggregated.
time_unitstringThe time unit of the budget, such as MONTHLY or QUARTERLY. (DAILY, MONTHLY, QUARTERLY, ANNUALLY, CUSTOM)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_budget_performance_historyselectregionDescribes the history for DAILY, MONTHLY, and QUARTERLY budgets. Budget history isn't available for ANNUAL budgets.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes the history for DAILY, MONTHLY, and QUARTERLY budgets. Budget history isn't available for ANNUAL budgets.

SELECT
billing_view_arn,
budget_name,
budget_type,
budgeted_and_actual_amounts_list,
cost_filters,
cost_types,
filter_expression,
metrics,
time_unit
FROM aws.budgets.budget_performance_histories
WHERE region = '{{ region }}' -- required
;