UpdateSafetyLeverState
Source:
src/AWS/FIS/UpdateSafetyLeverState.ts
Runtime binding for fis:UpdateSafetyLeverState.
Engages or disengages the account’s safety lever — engaging it stops all
running experiments and blocks new ones until it is disengaged, the
account-wide chaos kill switch an ops function flips when a stop condition
outside FIS’s view fires. The account’s lever has the well-known id
default. Provide the implementation with
Effect.provide(AWS.FIS.UpdateSafetyLeverStateHttp).
The Safety Lever
Section titled “The Safety Lever”// init — account-level binding, no resource argumentconst updateSafetyLeverState = yield* AWS.FIS.UpdateSafetyLeverState();
// runtimeyield* updateSafetyLeverState({ id: "default", state: { status: "engaged", reason: "elevated error budget burn" },});