Amazon EC2 · Arazzo Workflow

Amazon EC2 Deregister an AMI After Confirmation

Version 1.0.0

Confirm an AMI exists, deregister it, then verify it is gone.

1 workflow 1 source API 1 provider
View Spec View on GitHub Cloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual MachinesArazzoWorkflows

Provider

amazon-ec2

Workflows

deregister-image-and-cleanup
Confirm, deregister, and re-verify an AMI.
Chains DescribeImages, DeregisterImage, and a second DescribeImages so an AMI is verified present, removed, and confirmed gone.
3 steps inputs: imageId outputs: deregisterStatus, verifyStatus
1
confirmImage
Confirm the AMI is available before deregistering it.
2
deregisterImage
Deregister the AMI so it can no longer launch instances.
3
verifyGone
Describe the AMI again to verify the deregister took effect.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon EC2 Deregister an AMI After Confirmation
  summary: Confirm an AMI exists, deregister it, then verify it is gone.
  description: >-
    Safely retires an AMI. The workflow describes the image to confirm it is
    available, deregisters it, and describes it again to verify the deregister
    took effect. Every step spells out its request inline using the Amazon EC2
    query protocol (Action and Version parameters) so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: amisApi
  url: ../openapi/amazon-ec2-amis-api-openapi.yml
  type: openapi
workflows:
- workflowId: deregister-image-and-cleanup
  summary: Confirm, deregister, and re-verify an AMI.
  description: >-
    Chains DescribeImages, DeregisterImage, and a second DescribeImages so an
    AMI is verified present, removed, and confirmed gone.
  inputs:
    type: object
    required:
    - imageId
    properties:
      imageId:
        type: string
        description: The ID of the AMI to deregister.
  steps:
  - stepId: confirmImage
    description: Confirm the AMI is available before deregistering it.
    operationId: describeImages
    parameters:
    - name: Action
      in: query
      value: DescribeImages
    - name: Version
      in: query
      value: '2016-11-15'
    - name: ImageId
      in: query
      value: $inputs.imageId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      confirmStatus: $statusCode
  - stepId: deregisterImage
    description: Deregister the AMI so it can no longer launch instances.
    operationId: deregisterImage
    parameters:
    - name: Action
      in: query
      value: DeregisterImage
    - name: Version
      in: query
      value: '2016-11-15'
    - name: ImageId
      in: query
      value: $inputs.imageId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      deregisterStatus: $statusCode
  - stepId: verifyGone
    description: Describe the AMI again to verify the deregister took effect.
    operationId: describeImages
    parameters:
    - name: Action
      in: query
      value: DescribeImages
    - name: Version
      in: query
      value: '2016-11-15'
    - name: ImageId
      in: query
      value: $inputs.imageId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      verifyStatus: $statusCode
  outputs:
    deregisterStatus: $steps.deregisterImage.outputs.deregisterStatus
    verifyStatus: $steps.verifyGone.outputs.verifyStatus

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-ec2-deregister-image-and-cleanup-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.