Amazon EventBridge · Arazzo Workflow

Amazon EventBridge Create and Verify Archive

Version 1.0.0

Create an event archive, then list archives to confirm it exists.

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

Provider

amazon-eventbridge

Workflows

create-and-verify-archive
Create an archive and confirm it via a filtered archive listing.
Creates an archive for the supplied event source ARN, then lists archives scoped to that source ARN to confirm the archive was created.
2 steps inputs: archiveDescription, archiveName, eventPattern, eventSourceArn, retentionDays outputs: archiveArn, archiveState, archives
1
createArchive
Create the archive against the supplied event source ARN.
2
listArchives
List archives for the same event source to confirm the new archive exists.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon EventBridge Create and Verify Archive
  summary: Create an event archive, then list archives to confirm it exists.
  description: >-
    Creates an archive against an existing event source ARN and then lists the
    account's archives filtered by the same source to confirm the new archive is
    present and report its state. Every step spells out its AWS JSON request
    inline — including the documented X-Amz-Target header — so the flow can be
    read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: archivesApi
  url: ../openapi/amazon-eventbridge-archives-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-and-verify-archive
  summary: Create an archive and confirm it via a filtered archive listing.
  description: >-
    Creates an archive for the supplied event source ARN, then lists archives
    scoped to that source ARN to confirm the archive was created.
  inputs:
    type: object
    required:
    - archiveName
    - eventSourceArn
    properties:
      archiveName:
        type: string
        description: The name of the archive to create.
      eventSourceArn:
        type: string
        description: The ARN of the event source (event bus) to archive from.
      eventPattern:
        type: string
        description: An optional event pattern (JSON string) limiting which events are archived.
      retentionDays:
        type: integer
        description: How many days to retain archived events; 0 retains indefinitely.
      archiveDescription:
        type: string
        description: An optional human-readable description for the archive.
  steps:
  - stepId: createArchive
    description: Create the archive against the supplied event source ARN.
    operationId: CreateArchive
    parameters:
    - name: X-Amz-Target
      in: header
      value: AWSEvents.CreateArchive
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        ArchiveName: $inputs.archiveName
        EventSourceArn: $inputs.eventSourceArn
        Description: $inputs.archiveDescription
        EventPattern: $inputs.eventPattern
        RetentionDays: $inputs.retentionDays
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      archiveArn: $response.body#/ArchiveArn
      archiveState: $response.body#/State
  - stepId: listArchives
    description: List archives for the same event source to confirm the new archive exists.
    operationId: ListArchives
    parameters:
    - name: X-Amz-Target
      in: header
      value: AWSEvents.ListArchives
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        NamePrefix: $inputs.archiveName
        EventSourceArn: $inputs.eventSourceArn
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      archives: $response.body#/Archives
    onSuccess:
    - name: archivePresent
      type: end
      criteria:
      - context: $response.body
        condition: $.Archives.length > 0
        type: jsonpath
  outputs:
    archiveArn: $steps.createArchive.outputs.archiveArn
    archiveState: $steps.createArchive.outputs.archiveState
    archives: $steps.listArchives.outputs.archives

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-create-and-verify-archive-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.