capabilities.work

AWS FIS Find and Stop Running Experiment

A 3-step recipe with Amazon Fault Injection Simulator. We can help you get access.

Recipe · 3 steps

AWS FIS Find and Stop Running Experiment

List experiments for a template and stop the first one if it is still active.

  1. List experiments, optionally filtered to those started from the supplied template id.
  2. Stop the active experiment. The StopExperiment operation is the DELETE on /experiments/{id} and transitions the experiment into the stopping state.
  3. Read the experiment back to confirm it has entered the stopping or stopped state.
What you'll need to have ready
  • experimentTemplateId: Filter the experiment listing to those started from this template.
  • maxResults: Maximum number of experiments to return in the listing page.
  • nextToken: Pagination token for fetching a later page of experiments.
For your developer

Arazzo workflow amazon-fault-injection-simulator:find-and-stop-running-experiment, 3 operations: ListExperiments → StopExperiment → GetExperiment. Specs on APIs.io.