AWS SAR Decommission Application

Version 1.0.0

Confirm an application exists by reading it, then delete it to decommission it.

1 workflow 1 source API 1 provider
View Spec View on GitHub Application RepositoryLambdaSAMServerlessArazzoWorkflows

Provider

amazon-serverless-application-repository

Workflows

decommission-application
Confirm, delete, and verify removal of an application.
Reads an application to confirm it exists, deletes it, and lists applications to confirm it is gone.
3 steps inputs: applicationId outputs: deletedApplicationId, remainingApplications
1
getApplication
Read the application to confirm it exists before deleting it.
2
deleteApplication
Delete the confirmed application to decommission it.
3
listApplications
List applications so the caller can confirm the deleted application is no longer present.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: AWS SAR Decommission Application
  summary: Confirm an application exists by reading it, then delete it to decommission it.
  description: >-
    Safely retires a serverless application. The workflow first reads the
    application to confirm it exists and capture its identity, then deletes it.
    The list operation is also run afterward so the caller can confirm the
    application is no longer 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
workflows:
- workflowId: decommission-application
  summary: Confirm, delete, and verify removal of an application.
  description: >-
    Reads an application to confirm it exists, deletes it, and lists
    applications to confirm it is gone.
  inputs:
    type: object
    required:
    - applicationId
    properties:
      applicationId:
        type: string
        description: The Amazon Resource Name (ARN) of the application to delete.
  steps:
  - stepId: getApplication
    description: >-
      Read the application to confirm it exists before deleting it.
    operationId: GetApplication
    parameters:
    - name: applicationId
      in: path
      value: $inputs.applicationId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      applicationId: $response.body#/applicationId
      name: $response.body#/name
  - stepId: deleteApplication
    description: >-
      Delete the confirmed application to decommission it.
    operationId: DeleteApplication
    parameters:
    - name: applicationId
      in: path
      value: $steps.getApplication.outputs.applicationId
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      deletedApplicationId: $steps.getApplication.outputs.applicationId
  - stepId: listApplications
    description: >-
      List applications so the caller can confirm the deleted application is no
      longer present.
    operationId: ListApplications
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      applications: $response.body#/applications
  outputs:
    deletedApplicationId: $steps.deleteApplication.outputs.deletedApplicationId
    remainingApplications: $steps.listApplications.outputs.applications

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-decommission-application-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.