GetExperiment
Source:
src/AWS/FIS/GetExperiment.ts
Runtime binding for fis:GetExperiment.
Reads a running or finished experiment — its state (pending,
initiating, running, completed, stopped, failed), per-action
progress, and log/report configuration. Experiments are created
dynamically, so this is an account-level binding addressed by experiment
id. Provide the implementation with
Effect.provide(AWS.FIS.GetExperimentHttp).
Running Experiments
Section titled “Running Experiments”// init — account-level binding, no resource argumentconst getExperiment = yield* AWS.FIS.GetExperiment();
// runtimeconst { experiment } = yield* getExperiment({ id: experimentId });console.log(experiment?.state?.status);