DescribeBudgetPerformanceHistory
Source:
src/AWS/Budgets/DescribeBudgetPerformanceHistory.ts
Runtime binding for budgets:ViewBudget via
DescribeBudgetPerformanceHistory.
Bind this operation to a Budget to read its budgeted-vs-actual
amounts for past periods — e.g. to render a spend trend or detect
consistently blown budgets. Provide the implementation with
Effect.provide(AWS.Budgets.DescribeBudgetPerformanceHistoryHttp).
Reading Budget Spend
Section titled “Reading Budget Spend”// init — bind the operation to the budgetconst history = yield* AWS.Budgets.DescribeBudgetPerformanceHistory(budget);
// runtimeconst result = yield* history();const periods = result.BudgetPerformanceHistory?.BudgetedAndActualAmountsList ?? [];