Skip to content

DescribeBudgetActionsForBudget

Source: src/AWS/Budgets/DescribeBudgetActionsForBudget.ts

Runtime binding for budgets:DescribeBudgetActionsForBudget.

Bind this operation to a Budget to list its budget actions and their execution status — e.g. to check whether a cost kill-switch has fired. Provide the implementation with Effect.provide(AWS.Budgets.DescribeBudgetActionsForBudgetHttp).

// init — bind the operation to the budget
const listActions = yield* AWS.Budgets.DescribeBudgetActionsForBudget(budget);
// runtime
const result = yield* listActions();
const statuses = (result.Actions ?? []).map((a) => a.Status);