AWS FIS Update Template Then Run

Version 1.0.0

Fetch an existing experiment template, update its description, and start an experiment from the revised template.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Chaos EngineeringDevOpsFault InjectionResilience TestingArazzoWorkflows

Provider

amazon-fault-injection-simulator

Workflows

update-template-then-run
Get a template, update it, then start an experiment from the revised template.
Fetches an experiment template by id, applies an update to it, then starts an experiment from the updated template and reads back the experiment's initial state.
3 steps inputs: clientToken, description, roleArn, tags, templateId outputs: experimentId, status, templateId
1
getTemplate
Read the experiment template to confirm it exists before updating it.
2
updateTemplate
Apply an update to the experiment template, revising its description. The updateExperimentTemplate operation is the PATCH on /experimentTemplates/{id}.
3
startExperiment
Start a fault injection experiment from the updated template.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: AWS FIS Update Template Then Run
  summary: Fetch an existing experiment template, update its description, and start an experiment from the revised template.
  description: >-
    A template revision and run flow for AWS Fault Injection Simulator. The
    workflow reads an existing experiment template to confirm it exists, applies
    an update to the template (for example revising its description), and then
    starts a fault injection experiment from the revised template. This is the
    common pattern for tweaking a saved template just before a chaos run. Every
    step spells out its request inline so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: experimentTemplatesApi
  url: ../openapi/amazon-fault-injection-simulator-experiment-templates-api-openapi.yml
  type: openapi
- name: experimentsApi
  url: ../openapi/amazon-fault-injection-simulator-experiments-api-openapi.yml
  type: openapi
workflows:
- workflowId: update-template-then-run
  summary: Get a template, update it, then start an experiment from the revised template.
  description: >-
    Fetches an experiment template by id, applies an update to it, then starts
    an experiment from the updated template and reads back the experiment's
    initial state.
  inputs:
    type: object
    required:
    - templateId
    - description
    properties:
      templateId:
        type: string
        description: The id of the experiment template to update and run.
      description:
        type: string
        description: The revised description to apply to the experiment template.
      roleArn:
        type: string
        description: IAM role ARN that FIS assumes to run the experiment.
      clientToken:
        type: string
        description: Idempotency token for the start request.
      tags:
        type: object
        description: Tags to apply to the started experiment.
  steps:
  - stepId: getTemplate
    description: Read the experiment template to confirm it exists before updating it.
    operationId: getExperimentTemplate
    parameters:
    - name: id
      in: path
      value: $inputs.templateId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      templateId: $response.body#/experimentTemplate/id
  - stepId: updateTemplate
    description: >-
      Apply an update to the experiment template, revising its description. The
      updateExperimentTemplate operation is the PATCH on
      /experimentTemplates/{id}.
    operationId: updateExperimentTemplate
    parameters:
    - name: id
      in: path
      value: $steps.getTemplate.outputs.templateId
    requestBody:
      contentType: application/json
      payload:
        description: $inputs.description
        roleArn: $inputs.roleArn
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      updatedTemplateId: $response.body#/experimentTemplate/id
  - stepId: startExperiment
    description: Start a fault injection experiment from the updated template.
    operationId: startExperiment
    requestBody:
      contentType: application/json
      payload:
        clientToken: $inputs.clientToken
        experimentTemplateId: $steps.updateTemplate.outputs.updatedTemplateId
        tags: $inputs.tags
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      experimentId: $response.body#/experiment/id
      status: $response.body#/experiment/state/status
  outputs:
    templateId: $steps.updateTemplate.outputs.updatedTemplateId
    experimentId: $steps.startExperiment.outputs.experimentId
    status: $steps.startExperiment.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-fault-injection-simulator-update-template-then-run-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.