Amazon Well-Architected Tool · Arazzo Workflow

Amazon Well-Architected Tool Review and Update a Lens Answer

Version 1.0.0

Open a lens review, list its answers, read one question, and update it.

1 workflow 1 source API 1 provider
View Spec View on GitHub ArchitectureBest PracticesCloud GovernanceWell-ArchitectedWorkloadsArazzoWorkflows

Provider

amazon-well-architected-tool

Workflows

review-lens-answer
List answers in a lens review, read one, and update its choices.
Retrieves the lens review for a workload, lists its answer summaries, reads the full answer for the supplied question, and updates that answer with the selected choices and notes provided by the caller.
4 steps inputs: LensAlias, Notes, QuestionId, SelectedChoices, WorkloadId outputs: answer, updatedAnswer
1
getLensReview
Open the lens review for the workload to confirm the lens is applied and reviewable.
2
listAnswers
List the answer summaries for the lens review so the target question can be located.
3
getAnswer
Read the full answer for the supplied question, including its available choices and current selections.
4
updateAnswer
Record the selected choices and notes for the question, replacing the previously selected choices.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Well-Architected Tool Review and Update a Lens Answer
  summary: Open a lens review, list its answers, read one question, and update it.
  description: >-
    Walk a single best-practice question from listing through update inside a
    lens review. The workflow opens the lens review for a workload, lists the
    answer summaries, reads the full answer for a specific question, and then
    records the selected choices and notes for that question. 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: workloadsApi
  url: ../openapi/amazon-well-architected-tool-workloads-api-openapi.yml
  type: openapi
workflows:
- workflowId: review-lens-answer
  summary: List answers in a lens review, read one, and update its choices.
  description: >-
    Retrieves the lens review for a workload, lists its answer summaries, reads
    the full answer for the supplied question, and updates that answer with the
    selected choices and notes provided by the caller.
  inputs:
    type: object
    required:
    - WorkloadId
    - LensAlias
    - QuestionId
    - SelectedChoices
    properties:
      WorkloadId:
        type: string
        description: The 32-character workload ID.
      LensAlias:
        type: string
        description: The alias or ARN of the lens being reviewed.
      QuestionId:
        type: string
        description: The ID of the question to read and update.
      SelectedChoices:
        type: array
        description: The list of choice IDs selected for the question answer.
        items:
          type: string
      Notes:
        type: string
        description: Notes to associate with the answer.
  steps:
  - stepId: getLensReview
    description: >-
      Open the lens review for the workload to confirm the lens is applied and
      reviewable.
    operationId: GetLensReview
    parameters:
    - name: WorkloadId
      in: path
      value: $inputs.WorkloadId
    - name: LensAlias
      in: path
      value: $inputs.LensAlias
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      lensReview: $response.body#/LensReview
  - stepId: listAnswers
    description: >-
      List the answer summaries for the lens review so the target question can
      be located.
    operationId: ListAnswers
    parameters:
    - name: WorkloadId
      in: path
      value: $inputs.WorkloadId
    - name: LensAlias
      in: path
      value: $inputs.LensAlias
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      answerSummaries: $response.body#/AnswerSummaries
  - stepId: getAnswer
    description: >-
      Read the full answer for the supplied question, including its available
      choices and current selections.
    operationId: GetAnswer
    parameters:
    - name: WorkloadId
      in: path
      value: $inputs.WorkloadId
    - name: LensAlias
      in: path
      value: $inputs.LensAlias
    - name: QuestionId
      in: path
      value: $inputs.QuestionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      answer: $response.body#/Answer
  - stepId: updateAnswer
    description: >-
      Record the selected choices and notes for the question, replacing the
      previously selected choices.
    operationId: UpdateAnswer
    parameters:
    - name: WorkloadId
      in: path
      value: $inputs.WorkloadId
    - name: LensAlias
      in: path
      value: $inputs.LensAlias
    - name: QuestionId
      in: path
      value: $inputs.QuestionId
    requestBody:
      contentType: application/json
      payload:
        SelectedChoices: $inputs.SelectedChoices
        Notes: $inputs.Notes
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      updatedAnswer: $response.body#/Answer
  outputs:
    answer: $steps.getAnswer.outputs.answer
    updatedAnswer: $steps.updateAnswer.outputs.updatedAnswer

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-well-architected-tool-review-lens-answer-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.