StopExperiment
Source:
src/AWS/FIS/StopExperiment.ts
Runtime binding for fis:StopExperiment.
Stops a running experiment — the manual abort switch for a
chaos-engineering run that a monitoring function decides has gone far
enough. Experiments are created dynamically, so this is an account-level
binding addressed by experiment id. Provide the implementation with
Effect.provide(AWS.FIS.StopExperimentHttp).
Running Experiments
Section titled “Running Experiments”// init — account-level binding, no resource argumentconst stopExperiment = yield* AWS.FIS.StopExperiment();
// runtimeconst { experiment } = yield* stopExperiment({ id: experimentId });console.log(experiment?.state?.status); // "stopping"