ExecuteBudgetAction
Source:
src/AWS/Budgets/ExecuteBudgetAction.ts
Runtime binding for budgets:ExecuteBudgetAction.
Bind this operation to a BudgetAction to approve, retry, reverse,
or reset it from inside a function runtime — e.g. an approval workflow that
approves a pending kill-switch, or an automated recovery that reverses it
at the start of a new period. Provide the implementation with
Effect.provide(AWS.Budgets.ExecuteBudgetActionHttp).
Executing Budget Actions
Section titled “Executing Budget Actions”Approve a Pending Action
// init — bind the operation to the actionconst execute = yield* AWS.Budgets.ExecuteBudgetAction(action);
// runtimeyield* execute({ ExecutionType: "APPROVE_BUDGET_ACTION" });Reverse an Executed Action
yield* execute({ ExecutionType: "REVERSE_BUDGET_ACTION" });