ListControlOperations
Source:
src/AWS/ControlTower/ListControlOperations.ts
Runtime binding for controltower:ListControlOperations.
An account-level operation that enumerates recent control operations
(enables, disables, updates, and resets), optionally filtered by status,
control, or target. Useful for governance dashboards that surface
in-flight or failed guardrail deployments. Provide the implementation
with Effect.provide(AWS.ControlTower.ListControlOperationsHttp).
Polling Asynchronous Operations
Section titled “Polling Asynchronous Operations”// init — account-level binding takes no resourceconst listControlOperations = yield* AWS.ControlTower.ListControlOperations();
// runtimeconst result = yield* listControlOperations({ filter: { statuses: ["FAILED"] },});console.log(result.controlOperations.length);