Amazon API Gateway · Arazzo Workflow

AWS API Gateway Redeploy a REST API Stage

Version 1.0.0

Confirm a REST API, review its existing deployments, and publish a fresh deployment to a stage.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub API GatewayCloudRESTHTTPWebSocketServerlessMCPAgentCoreDeveloper PortalArazzoWorkflows

Provider

aws-api-gateway

Workflows

redeploy-rest-api-stage
Review deployments and publish a fresh one to a stage.
Confirms a REST API, lists deployments, and creates a new deployment to the named stage.
3 steps inputs: description, restApiId, stageName outputs: deploymentId, deployments, restApiName
1
confirmRestApi
Confirm the REST API exists.
2
listDeployments
List existing deployments to capture deployment history.
3
redeploy
Create a new deployment to publish the latest configuration to the stage.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: AWS API Gateway Redeploy a REST API Stage
  summary: Confirm a REST API, review its existing deployments, and publish a fresh deployment to a stage.
  description: >-
    Re-publishes an existing Amazon API Gateway V1 REST API. The workflow
    confirms the REST API exists, lists its existing deployments to capture the
    current history, and creates a new deployment to the named stage so the
    latest configuration goes live. 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: deploymentsApi
  url: ../openapi/aws-api-gateway-deployments-api-openapi.yml
  type: openapi
- name: restapisApi
  url: ../openapi/aws-api-gateway-restapis-api-openapi.yml
  type: openapi
workflows:
- workflowId: redeploy-rest-api-stage
  summary: Review deployments and publish a fresh one to a stage.
  description: >-
    Confirms a REST API, lists deployments, and creates a new deployment to the
    named stage.
  inputs:
    type: object
    required:
    - restApiId
    - stageName
    properties:
      restApiId:
        type: string
        description: Identifier of the REST API to redeploy.
      stageName:
        type: string
        description: Stage to publish the new deployment to.
      description:
        type: string
        description: Optional description for the new deployment.
  steps:
  - stepId: confirmRestApi
    description: Confirm the REST API exists.
    operationId: getRestApi
    parameters:
    - name: restapi_id
      in: path
      value: $inputs.restApiId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      restApiName: $response.body#/name
  - stepId: listDeployments
    description: List existing deployments to capture deployment history.
    operationId: getDeployments
    parameters:
    - name: restapi_id
      in: path
      value: $inputs.restApiId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      deployments: $response.body#/items
  - stepId: redeploy
    description: Create a new deployment to publish the latest configuration to the stage.
    operationId: createDeployment
    parameters:
    - name: restapi_id
      in: path
      value: $inputs.restApiId
    requestBody:
      contentType: application/json
      payload:
        stageName: $inputs.stageName
        description: $inputs.description
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      deploymentId: $response.body#/id
  outputs:
    restApiName: $steps.confirmRestApi.outputs.restApiName
    deployments: $steps.listDeployments.outputs.deployments
    deploymentId: $steps.redeploy.outputs.deploymentId

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/aws-api-gateway-redeploy-rest-api-stage-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.