Amazon SES Ses Archive Export API

The Ses Archive Export API from Amazon SES — 4 operation(s) for ses archive export.

GitHub OpenAPI

Operations 4

POST /#GetArchiveExport Get Archive Export #
POST /#ListArchiveExports List Archive Exports #
POST /#StartArchiveExport Start Archive Export #
POST /#StopArchiveExport Stop Archive Export #

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-ses:amazon-ses-archive-export-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-ses-archive-export-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Email Service Archive Export API
  version: '2010-12-01'
  description: Generated from AWS's published Smithy model for Amazon Simple Email Service. 4 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://mail-manager.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#GetArchiveExport:
    post:
      operationId: GetArchiveExport
      summary: Get Archive Export
      description: Retrieves the details and current status of a specific email archive export job.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/GetArchiveExportResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - MailManagerSvc.GetArchiveExport
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/GetArchiveExportRequest'
      tags:
      - Archive Export
  /#ListArchiveExports:
    post:
      operationId: ListArchiveExports
      summary: List Archive Exports
      description: Returns a list of email archive export jobs.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListArchiveExportsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - MailManagerSvc.ListArchiveExports
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListArchiveExportsRequest'
      tags:
      - Archive Export
  /#StartArchiveExport:
    post:
      operationId: StartArchiveExport
      summary: Start Archive Export
      description: Initiates an export of emails from the specified archive.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/StartArchiveExportResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - MailManagerSvc.StartArchiveExport
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/StartArchiveExportRequest'
      tags:
      - Archive Export
  /#StopArchiveExport:
    post:
      operationId: StopArchiveExport
      summary: Stop Archive Export
      description: Stops an in-progress export of emails from an archive.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/StopArchiveExportResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - MailManagerSvc.StopArchiveExport
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/StopArchiveExportRequest'
      tags:
      - Archive Export
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: ses
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    ArchiveBooleanExpression:
      type: object
      properties:
        Evaluate:
          $ref: '#/components/schemas/ArchiveBooleanToEvaluate'
        Operator:
          type: string
          enum:
          - IS_TRUE
          - IS_FALSE
          description: The boolean operator to use for evaluation.
      required:
      - Evaluate
      - Operator
    ArchiveBooleanToEvaluate:
      type: object
      properties:
        Attribute:
          type: string
          enum:
          - HAS_ATTACHMENTS
          description: The name of the email attribute to evaluate.
      description: Exactly one member is set.
    ArchiveFilterCondition:
      type: object
      properties:
        StringExpression:
          $ref: '#/components/schemas/ArchiveStringExpression'
        BooleanExpression:
          $ref: '#/components/schemas/ArchiveBooleanExpression'
      description: Exactly one member is set.
    ArchiveFilters:
      type: object
      properties:
        Include:
          type: array
          items:
            $ref: '#/components/schemas/ArchiveFilterCondition'
          description: The filter conditions for emails to include.
        Unless:
          type: array
          items:
            $ref: '#/components/schemas/ArchiveFilterCondition'
          description: The filter conditions for emails to exclude.
    ArchiveStringExpression:
      type: object
      properties:
        Evaluate:
          $ref: '#/components/schemas/ArchiveStringToEvaluate'
        Operator:
          type: string
          enum:
          - CONTAINS
          description: The operator to use when evaluating the string values.
        Values:
          type: array
          items:
            type: string
          description: The list of string values to evaluate the email attribute against.
      required:
      - Evaluate
      - Operator
      - Values
    ArchiveStringToEvaluate:
      type: object
      properties:
        Attribute:
          type: string
          enum:
          - TO
          - FROM
          - CC
          - SUBJECT
          - ENVELOPE_TO
          - ENVELOPE_FROM
          description: The name of the email attribute to evaluate.
      description: Exactly one member is set.
    ExportDestinationConfiguration:
      type: object
      properties:
        S3:
          $ref: '#/components/schemas/S3ExportDestinationConfiguration'
      description: Exactly one member is set.
    ExportStatus:
      type: object
      properties:
        SubmissionTimestamp:
          type: string
          description: The timestamp of when the export job was submitted.
        CompletionTimestamp:
          type: string
          description: The timestamp of when the export job completed (if finished).
        State:
          type: string
          enum:
          - QUEUED
          - PREPROCESSING
          - PROCESSING
          - COMPLETED
          - FAILED
          - CANCELLED
          description: The current state of the export job.
        ErrorMessage:
          type: string
          description: An error message if the export job failed.
    ExportSummary:
      type: object
      properties:
        ExportId:
          type: string
          description: The unique identifier of the export job.
        Status:
          $ref: '#/components/schemas/ExportStatus'
    GetArchiveExportRequest:
      type: object
      properties:
        ExportId:
          type: string
          description: The identifier of the export job to get details for.
      required:
      - ExportId
    GetArchiveExportResponse:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The identifier of the archive the email export was performed from.
        Filters:
          $ref: '#/components/schemas/ArchiveFilters'
        FromTimestamp:
          type: string
          description: The start of the timestamp range the exported emails cover.
        ToTimestamp:
          type: string
          description: The end of the date range the exported emails cover.
        MaxResults:
          type: integer
          description: The maximum number of email items included in the export.
        ExportDestinationConfiguration:
          $ref: '#/components/schemas/ExportDestinationConfiguration'
        Status:
          $ref: '#/components/schemas/ExportStatus'
    ListArchiveExportsRequest:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The identifier of the archive.
        NextToken:
          type: string
          description: If NextToken is returned, there are more results available. The value of NextToken is a unique pagination
            token for each page. Make the call again using the returned token to retrieve the next page.
        PageSize:
          type: integer
          description: The maximum number of archive export jobs that are returned per call. You can use NextToken to obtain
            further pages of archives.
      required:
      - ArchiveId
    ListArchiveExportsResponse:
      type: object
      properties:
        Exports:
          type: array
          items:
            $ref: '#/components/schemas/ExportSummary'
          description: The list of export job identifiers and statuses.
        NextToken:
          type: string
          description: If present, use to retrieve the next page of results.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
    S3ExportDestinationConfiguration:
      type: object
      properties:
        S3Location:
          type: string
          description: The S3 location to deliver the exported email data.
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
    StartArchiveExportRequest:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The identifier of the archive to export emails from.
        Filters:
          $ref: '#/components/schemas/ArchiveFilters'
        FromTimestamp:
          type: string
          description: The start of the timestamp range to include emails from.
        ToTimestamp:
          type: string
          description: The end of the timestamp range to include emails from.
        MaxResults:
          type: integer
          description: The maximum number of email items to include in the export.
        ExportDestinationConfiguration:
          $ref: '#/components/schemas/ExportDestinationConfiguration'
        IncludeMetadata:
          type: boolean
          description: Whether to include message metadata as JSON files in the export.
      required:
      - ArchiveId
      - FromTimestamp
      - ToTimestamp
      - ExportDestinationConfiguration
    StartArchiveExportResponse:
      type: object
      properties:
        ExportId:
          type: string
          description: The unique identifier for the initiated export job.
    StopArchiveExportRequest:
      type: object
      properties:
        ExportId:
          type: string
          description: The identifier of the export job to stop.
      required:
      - ExportId
    StopArchiveExportResponse:
      type: object
      properties: {}
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
    ValidationException:
      type: object
      properties:
        Message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/mailmanager/service/2023-10-17/mailmanager-2023-10-17.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)