GetExperimentTemplate
Source:
src/AWS/FIS/GetExperimentTemplate.ts
Runtime binding for fis:GetExperimentTemplate.
Reads the bound ExperimentTemplate’s full definition — targets,
actions, stop conditions, log and report configuration — so a runtime
function can inspect the experiment it is about to start. The template id
is injected from the binding. Provide the implementation with
Effect.provide(AWS.FIS.GetExperimentTemplateHttp).
Inspecting Templates
Section titled “Inspecting Templates”// init — bind the operation to the experiment templateconst getExperimentTemplate = yield* AWS.FIS.GetExperimentTemplate(template);
// runtimeconst { experimentTemplate } = yield* getExperimentTemplate();console.log(Object.keys(experimentTemplate?.actions ?? {}));