Amazon EventBridge Archives API

Operations for managing event archives.

GitHub OpenAPI

Operations 5

POST /#CreateArchive Create Archive #
POST /#DeleteArchive Delete Archive #
POST /#DescribeArchive Describe Archive #
POST /#ListArchives List Archives #
POST /#UpdateArchive Update Archive #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/amazon-eventbridge:amazon-eventbridge-archives-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-eventbridge-archives-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon EventBridge Archives API
  version: '2015-10-07'
  description: Generated from AWS's published Smithy model for Amazon EventBridge. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://events.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateArchive:
    post:
      operationId: CreateArchive
      summary: Create Archive
      description: Creates an archive of events with the specified settings. When you create an archive, incoming events might
        not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do
        not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events.
        Replayed events are not sent to an archive. If you have specified that EventBridge use a customer managed key for
        encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for
        the event bus as well. For more information, see Encrypting archives in the Amazon EventBridge User Guide.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateArchiveResponse'
        '400':
          description: ConcurrentModificationException; InvalidEventPatternException; LimitExceededException; ResourceAlreadyExistsException;
            ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConcurrentModificationException'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSEvents.CreateArchive
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateArchiveRequest'
      tags:
      - Archives
  /#DeleteArchive:
    post:
      operationId: DeleteArchive
      summary: Delete Archive
      description: Deletes the specified archive.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteArchiveResponse'
        '400':
          description: ConcurrentModificationException; ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConcurrentModificationException'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSEvents.DeleteArchive
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteArchiveRequest'
      tags:
      - Archives
  /#DescribeArchive:
    post:
      operationId: DescribeArchive
      summary: Describe Archive
      description: Retrieves details about an archive.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeArchiveResponse'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
        '400':
          description: ResourceAlreadyExistsException; ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceAlreadyExistsException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSEvents.DescribeArchive
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeArchiveRequest'
      tags:
      - Archives
  /#ListArchives:
    post:
      operationId: ListArchives
      summary: List Archives
      description: Lists your archives. You can either list all the archives or you can provide a prefix to match to the archive
        names. Filter parameters are exclusive.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListArchivesResponse'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
        '400':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSEvents.ListArchives
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListArchivesRequest'
      tags:
      - Archives
  /#UpdateArchive:
    post:
      operationId: UpdateArchive
      summary: Update Archive
      description: Updates the specified archive.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/UpdateArchiveResponse'
        '400':
          description: ConcurrentModificationException; InvalidEventPatternException; LimitExceededException; ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConcurrentModificationException'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSEvents.UpdateArchive
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/UpdateArchiveRequest'
      tags:
      - Archives
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: events
  schemas:
    Archive:
      type: object
      properties:
        ArchiveName:
          type: string
          description: The name of the archive.
        EventSourceArn:
          type: string
          description: The ARN of the event bus associated with the archive. Only events from this event bus are sent to the
            archive.
        State:
          type: string
          enum:
          - ENABLED
          - DISABLED
          - CREATING
          - UPDATING
          - CREATE_FAILED
          - UPDATE_FAILED
          description: The current state of the archive.
        StateReason:
          type: string
          description: A description for the reason that the archive is in the current state.
        RetentionDays:
          type: integer
          description: The number of days to retain events in the archive before they are deleted.
        SizeBytes:
          type: integer
          description: The size of the archive, in bytes.
        EventCount:
          type: integer
          description: The number of events in the archive.
        CreationTime:
          type: string
          format: date-time
          description: The time stamp for the time that the archive was created.
    ConcurrentModificationException:
      type: object
      properties:
        message:
          type: string
    CreateArchiveRequest:
      type: object
      properties:
        ArchiveName:
          type: string
          description: The name for the archive to create.
        EventSourceArn:
          type: string
          description: The ARN of the event bus that sends events to the archive.
        Description:
          type: string
          description: A description for the archive.
        EventPattern:
          type: string
          description: An event pattern to use to filter events sent to the archive.
        RetentionDays:
          type: integer
          description: The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely
        KmsKeyIdentifier:
          type: string
          description: The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer
            managed key to encrypt this archive. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias,
            or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services
            owned key to encrypt the archive. For more information, see Identify and view keys in the Key Management Service
            Developer Guide. If you have specified that EventBridge use a customer managed key for encrypting the source event
            bus, we strongly recommend you also speci
      required:
      - ArchiveName
      - EventSourceArn
    CreateArchiveResponse:
      type: object
      properties:
        ArchiveArn:
          type: string
          description: The ARN of the archive that was created.
        State:
          type: string
          enum:
          - ENABLED
          - DISABLED
          - CREATING
          - UPDATING
          - CREATE_FAILED
          - UPDATE_FAILED
          description: The state of the archive that was created.
        StateReason:
          type: string
          description: The reason that the archive is in the state.
        CreationTime:
          type: string
          format: date-time
          description: The time at which the archive was created.
    DeleteArchiveRequest:
      type: object
      properties:
        ArchiveName:
          type: string
          description: The name of the archive to delete.
      required:
      - ArchiveName
    DeleteArchiveResponse:
      type: object
      properties: {}
    DescribeArchiveRequest:
      type: object
      properties:
        ArchiveName:
          type: string
          description: The name of the archive to retrieve.
      required:
      - ArchiveName
    DescribeArchiveResponse:
      type: object
      properties:
        ArchiveArn:
          type: string
          description: The ARN of the archive.
        ArchiveName:
          type: string
          description: The name of the archive.
        EventSourceArn:
          type: string
          description: The ARN of the event source associated with the archive.
        Description:
          type: string
          description: The description of the archive.
        EventPattern:
          type: string
          description: The event pattern used to filter events sent to the archive.
        State:
          type: string
          enum:
          - ENABLED
          - DISABLED
          - CREATING
          - UPDATING
          - CREATE_FAILED
          - UPDATE_FAILED
          description: The state of the archive.
        StateReason:
          type: string
          description: The reason that the archive is in the state.
        KmsKeyIdentifier:
          type: string
          description: The identifier of the KMS customer managed key for EventBridge to use to encrypt this archive, if one
            has been specified. For more information, see Encrypting archives in the Amazon EventBridge User Guide.
        RetentionDays:
          type: integer
          description: The number of days to retain events for in the archive.
        SizeBytes:
          type: integer
          description: The size of the archive in bytes.
        EventCount:
          type: integer
          description: The number of events in the archive.
        CreationTime:
          type: string
          format: date-time
          description: The time at which the archive was created.
    InternalException:
      type: object
      properties:
        message:
          type: string
    ListArchivesRequest:
      type: object
      properties:
        NamePrefix:
          type: string
          description: A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.
        EventSourceArn:
          type: string
          description: The ARN of the event source associated with the archive.
        State:
          type: string
          enum:
          - ENABLED
          - DISABLED
          - CREATING
          - UPDATING
          - CREATE_FAILED
          - UPDATE_FAILED
          description: The state of the archive.
        NextToken:
          type: string
          description: The token returned by a previous call, which you can use to retrieve the next set of results. The value
            of nextToken is a unique pagination token for each page. To retrieve the next page of results, make the call again
            using the returned token. Keep all other arguments unchanged. Using an expired pagination token results in an
            HTTP 400 InvalidToken error.
        Limit:
          type: integer
          description: The maximum number of results to return.
    ListArchivesResponse:
      type: object
      properties:
        Archives:
          type: array
          items:
            $ref: '#/components/schemas/Archive'
          description: An array of Archive objects that include details about an archive.
        NextToken:
          type: string
          description: A token indicating there are more results available. If there are no more results, no token is included
            in the response. The value of nextToken is a unique pagination token for each page. To retrieve the next page
            of results, make the call again using the returned token. Keep all other arguments unchanged. Using an expired
            pagination token results in an HTTP 400 InvalidToken error.
    ResourceAlreadyExistsException:
      type: object
      properties:
        message:
          type: string
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    UpdateArchiveRequest:
      type: object
      properties:
        ArchiveName:
          type: string
          description: The name of the archive to update.
        Description:
          type: string
          description: The description for the archive.
        EventPattern:
          type: string
          description: The event pattern to use to filter events sent to the archive.
        RetentionDays:
          type: integer
          description: The number of days to retain events in the archive.
        KmsKeyIdentifier:
          type: string
          description: The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer
            managed key to encrypt this archive. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias,
            or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services
            owned key to encrypt the archive. For more information, see Identify and view keys in the Key Management Service
            Developer Guide. If you have specified that EventBridge use a customer managed key for encrypting the source event
            bus, we strongly recommend you also speci
      required:
      - ArchiveName
    UpdateArchiveResponse:
      type: object
      properties:
        ArchiveArn:
          type: string
          description: The ARN of the archive.
        State:
          type: string
          enum:
          - ENABLED
          - DISABLED
          - CREATING
          - UPDATING
          - CREATE_FAILED
          - UPDATE_FAILED
          description: The state of the archive.
        StateReason:
          type: string
          description: The reason that the archive is in the current state.
        CreationTime:
          type: string
          format: date-time
          description: The time at which the archive was updated.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/eventbridge/service/2015-10-07/eventbridge-2015-10-07.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)