capabilities.work

Redeploy a REST API Stage

A 3-step recipe with Amazon API Gateway. We can help you get access.

Recipe · 3 steps

Redeploy a REST API Stage

Review deployments and publish a fresh one to a stage.

  1. Confirm the REST API exists.
  2. List existing deployments to capture deployment history.
  3. Create a new deployment to publish the latest configuration to the stage.
What you'll need to have ready
  • restApiId: Identifier of the REST API to redeploy.
  • stageName: Stage to publish the new deployment to.
  • description: Optional description for the new deployment.
For your developer

Arazzo workflow aws-api-gateway:redeploy-rest-api-stage, 3 operations: GetRestApi → GetDeployments → CreateDeployment. Specs on APIs.io.