Amazon EventBridge Pipes · Arazzo Workflow

EventBridge Pipes Stop Pipe and Await Stopped

Version 1.0.0

Stop a running pipe, then poll DescribePipe until it confirms the pipe has fully reached the STOPPED state.

1 workflow 1 source API 1 provider
View Spec View on GitHub Amazon Web ServicesEvent-DrivenIntegrationMessagingServerlessArazzoWorkflows

Provider

amazon-eventbridge-pipes

Workflows

stop-pipe-await-stopped
Stop a pipe and poll until it has fully reached the STOPPED state.
Requests that a pipe stop, then repeatedly calls DescribePipe and branches on the reported CurrentState, looping while the pipe is STOPPING and ending once it is STOPPED.
2 steps inputs: name outputs: finalState, pipeArn, stateReason
1
stopPipe
Request that the pipe transition to the STOPPED state, halting reads from the source.
2
pollStopped
Read the pipe state. While it is still STOPPING, loop back and poll again; once it is STOPPED the workflow ends.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: EventBridge Pipes Stop Pipe and Await Stopped
  summary: Stop a running pipe, then poll DescribePipe until it confirms the pipe has fully reached the STOPPED state.
  description: >-
    Stopping a pipe is asynchronous: StopPipe requests the STOPPED desired state
    and the pipe passes through a STOPPING state before it is fully stopped.
    This workflow issues StopPipe and then polls DescribePipe, looping while the
    pipe is still STOPPING and ending once CurrentState is STOPPED. This is the
    safe pattern to confirm a pipe has drained before deleting or reconfiguring
    it. Each 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: pipesApi
  url: ../openapi/amazon-eventbridge-pipes-pipes-api-openapi.yml
  type: openapi
workflows:
- workflowId: stop-pipe-await-stopped
  summary: Stop a pipe and poll until it has fully reached the STOPPED state.
  description: >-
    Requests that a pipe stop, then repeatedly calls DescribePipe and branches
    on the reported CurrentState, looping while the pipe is STOPPING and ending
    once it is STOPPED.
  inputs:
    type: object
    required:
    - name
    properties:
      name:
        type: string
        description: The name of the pipe to stop (1-64 chars, ^[\.\-_A-Za-z0-9]+$).
  steps:
  - stepId: stopPipe
    description: >-
      Request that the pipe transition to the STOPPED state, halting reads from
      the source.
    operationId: StopPipe
    parameters:
    - name: Name
      in: path
      value: $inputs.name
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      currentState: $response.body#/CurrentState
      desiredState: $response.body#/DesiredState
      arn: $response.body#/Arn
  - stepId: pollStopped
    description: >-
      Read the pipe state. While it is still STOPPING, loop back and poll again;
      once it is STOPPED the workflow ends.
    operationId: DescribePipe
    parameters:
    - name: Name
      in: path
      value: $inputs.name
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      currentState: $response.body#/CurrentState
      desiredState: $response.body#/DesiredState
      stateReason: $response.body#/StateReason
    onSuccess:
    - name: stillStopping
      type: goto
      stepId: pollStopped
      criteria:
      - context: $response.body
        condition: $.CurrentState != 'STOPPED'
        type: jsonpath
    - name: stopped
      type: end
      criteria:
      - context: $response.body
        condition: $.CurrentState == 'STOPPED'
        type: jsonpath
  outputs:
    pipeArn: $steps.stopPipe.outputs.arn
    finalState: $steps.pollStopped.outputs.currentState
    stateReason: $steps.pollStopped.outputs.stateReason

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-eventbridge-pipes-stop-pipe-await-stopped-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.