AWS SAR Publish Multiple Versions

Version 1.0.0

Create an application and publish two sequential semantic versions, then list all versions.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Application RepositoryLambdaSAMServerlessArazzoWorkflows

Provider

amazon-serverless-application-repository

Workflows

publish-multiple-versions
Create an application and publish two versions, then list them.
Creates an application, publishes an initial version and a second version, and lists the resulting version history.
4 steps inputs: author, description, firstTemplateBody, firstVersion, name, secondTemplateBody, secondVersion outputs: applicationId, firstPublishedVersion, secondPublishedVersion, versions
1
createApplication
Create the application that both versions will be published onto.
2
createFirstVersion
Publish the initial semantic version from the supplied packaged SAM template.
3
createSecondVersion
Publish the follow-on semantic version onto the same application.
4
listVersions
List the application's versions to confirm both releases are present.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: AWS SAR Publish Multiple Versions
  summary: Create an application and publish two sequential semantic versions, then list all versions.
  description: >-
    Bootstraps an application with an iterative release history. The workflow
    creates a new application, publishes an initial semantic version, publishes
    a second follow-on version, and then lists the application's versions to
    confirm both releases are present. 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: applicationsApi
  url: ../openapi/amazon-serverless-application-repository-applications-api-openapi.yml
  type: openapi
- name: versionsApi
  url: ../openapi/amazon-serverless-application-repository-versions-api-openapi.yml
  type: openapi
workflows:
- workflowId: publish-multiple-versions
  summary: Create an application and publish two versions, then list them.
  description: >-
    Creates an application, publishes an initial version and a second version,
    and lists the resulting version history.
  inputs:
    type: object
    required:
    - name
    - author
    - description
    - firstVersion
    - secondVersion
    properties:
      name:
        type: string
        description: The name of the application to create.
      author:
        type: string
        description: The name of the author publishing the app.
      description:
        type: string
        description: The description of the application.
      firstVersion:
        type: string
        description: The first semantic version to publish (e.g. 1.0.0).
      firstTemplateBody:
        type: string
        description: The packaged AWS SAM template for the first version.
      secondVersion:
        type: string
        description: The second semantic version to publish (e.g. 1.1.0).
      secondTemplateBody:
        type: string
        description: The packaged AWS SAM template for the second version.
  steps:
  - stepId: createApplication
    description: >-
      Create the application that both versions will be published onto.
    operationId: CreateApplication
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        author: $inputs.author
        description: $inputs.description
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      applicationId: $response.body#/applicationId
  - stepId: createFirstVersion
    description: >-
      Publish the initial semantic version from the supplied packaged SAM
      template.
    operationId: CreateApplicationVersion
    parameters:
    - name: applicationId
      in: path
      value: $steps.createApplication.outputs.applicationId
    requestBody:
      contentType: application/json
      payload:
        semanticVersion: $inputs.firstVersion
        templateBody: $inputs.firstTemplateBody
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      semanticVersion: $response.body#/semanticVersion
  - stepId: createSecondVersion
    description: >-
      Publish the follow-on semantic version onto the same application.
    operationId: CreateApplicationVersion
    parameters:
    - name: applicationId
      in: path
      value: $steps.createApplication.outputs.applicationId
    requestBody:
      contentType: application/json
      payload:
        semanticVersion: $inputs.secondVersion
        templateBody: $inputs.secondTemplateBody
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      semanticVersion: $response.body#/semanticVersion
  - stepId: listVersions
    description: >-
      List the application's versions to confirm both releases are present.
    operationId: ListApplicationVersions
    parameters:
    - name: applicationId
      in: path
      value: $steps.createApplication.outputs.applicationId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      versions: $response.body#/versions
  outputs:
    applicationId: $steps.createApplication.outputs.applicationId
    firstPublishedVersion: $steps.createFirstVersion.outputs.semanticVersion
    secondPublishedVersion: $steps.createSecondVersion.outputs.semanticVersion
    versions: $steps.listVersions.outputs.versions

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-serverless-application-repository-publish-multiple-versions-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.