Amazon SES Ses Archive API

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

GitHub OpenAPI

Operations 5

POST /#CreateArchive Create Archive #
POST /#GetArchive Get Archive #
POST /#UpdateArchive Update Archive #
POST /#DeleteArchive Delete Archive #
POST /#ListArchives List Archives #

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-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-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Email Service Archive API
  version: '2010-12-01'
  description: Generated from AWS's published Smithy model for Amazon Simple Email Service. 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://mail-manager.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateArchive:
    post:
      operationId: CreateArchive
      summary: Create Archive
      description: Creates a new email archive resource for storing and retaining emails.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/CreateArchiveResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/MailManagerConflictException'
        '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.CreateArchive
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/CreateArchiveRequest'
      tags:
      - Archive
  /#GetArchive:
    post:
      operationId: GetArchive
      summary: Get Archive
      description: Retrieves the full details and current state of a specified email archive.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/GetArchiveResponse'
        '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.GetArchive
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/GetArchiveRequest'
      tags:
      - Archive
  /#UpdateArchive:
    post:
      operationId: UpdateArchive
      summary: Update Archive
      description: Updates the attributes of an existing email archive.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/UpdateArchiveResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/MailManagerConflictException'
        '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.UpdateArchive
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/UpdateArchiveRequest'
      tags:
      - Archive
  /#DeleteArchive:
    post:
      operationId: DeleteArchive
      summary: Delete Archive
      description: Initiates deletion of an email archive. This changes the archive state to pending deletion. In this state,
        no new emails can be added, and existing archived emails become inaccessible (search, export, download). The archive
        and all of its contents will be permanently deleted 30 days after entering the pending deletion state, regardless
        of the configured retention period.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/DeleteArchiveResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/MailManagerConflictException'
        '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.DeleteArchive
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/DeleteArchiveRequest'
      tags:
      - Archive
  /#ListArchives:
    post:
      operationId: ListArchives
      summary: List Archives
      description: Returns a list of all email archives in your account.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListArchivesResponse'
        '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.ListArchives
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListArchivesRequest'
      tags:
      - Archive
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
    Archive:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The unique identifier of the archive.
        ArchiveName:
          type: string
          description: The unique name assigned to the archive.
        ArchiveState:
          type: string
          enum:
          - ACTIVE
          - PENDING_DELETION
          description: 'The current state of the archive: ACTIVE – The archive is ready and available for use. PENDING_DELETION
            – The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications
            can be made in this state.'
        LastUpdatedTimestamp:
          type: string
          description: The timestamp of when the archive was last updated.
      required:
      - ArchiveId
    ArchiveRetention:
      type: object
      properties:
        RetentionPeriod:
          type: string
          enum:
          - THREE_MONTHS
          - SIX_MONTHS
          - NINE_MONTHS
          - ONE_YEAR
          - EIGHTEEN_MONTHS
          - TWO_YEARS
          - THIRTY_MONTHS
          - THREE_YEARS
          - FOUR_YEARS
          - FIVE_YEARS
          - SIX_YEARS
          - SEVEN_YEARS
          - EIGHT_YEARS
          - NINE_YEARS
          - TEN_YEARS
          - PERMANENT
          description: The enum value sets the period for retaining emails in an archive.
      description: Exactly one member is set.
    CreateArchiveRequest:
      type: object
      properties:
        ClientToken:
          type: string
          description: A unique token Amazon SES uses to recognize retries of this request.
        ArchiveName:
          type: string
          description: A unique name for the new archive.
        Retention:
          $ref: '#/components/schemas/ArchiveRetention'
        KmsKeyArn:
          type: string
          description: The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/MailManagerTag'
          description: 'The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1",
            "key2":"value2"} }.'
      required:
      - ArchiveName
    CreateArchiveResponse:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The unique identifier for the newly created archive.
      required:
      - ArchiveId
    DeleteArchiveRequest:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The identifier of the archive to delete.
      required:
      - ArchiveId
    DeleteArchiveResponse:
      type: object
      properties: {}
    GetArchiveRequest:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The identifier of the archive to retrieve.
      required:
      - ArchiveId
    GetArchiveResponse:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The unique identifier of the archive.
        ArchiveName:
          type: string
          description: The unique name assigned to the archive.
        ArchiveArn:
          type: string
          description: The Amazon Resource Name (ARN) of the archive.
        ArchiveState:
          type: string
          enum:
          - ACTIVE
          - PENDING_DELETION
          description: 'The current state of the archive: ACTIVE – The archive is ready and available for use. PENDING_DELETION
            – The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications
            can be made in this state.'
        Retention:
          $ref: '#/components/schemas/ArchiveRetention'
        CreatedTimestamp:
          type: string
          description: The timestamp of when the archive was created.
        LastUpdatedTimestamp:
          type: string
          description: The timestamp of when the archive was modified.
        KmsKeyArn:
          type: string
          description: The Amazon Resource Name (ARN) of the KMS key used to encrypt the archive.
      required:
      - ArchiveId
      - ArchiveName
      - ArchiveArn
      - ArchiveState
      - Retention
    ListArchivesRequest:
      type: object
      properties:
        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 archives that are returned per call. You can use NextToken to obtain further
            pages of archives.
    ListArchivesResponse:
      type: object
      properties:
        Archives:
          type: array
          items:
            $ref: '#/components/schemas/Archive'
          description: The list of archive details.
        NextToken:
          type: string
          description: If present, use to retrieve the next page of results.
      required:
      - Archives
    MailManagerConflictException:
      type: object
      properties:
        Message:
          type: string
    MailManagerTag:
      type: object
      properties:
        Key:
          type: string
          description: The key of the key-value tag.
        Value:
          type: string
          description: The value of the key-value tag.
      required:
      - Key
      - Value
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
    UpdateArchiveRequest:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The identifier of the archive to update.
        ArchiveName:
          type: string
          description: A new, unique name for the archive.
        Retention:
          $ref: '#/components/schemas/ArchiveRetention'
      required:
      - ArchiveId
    UpdateArchiveResponse:
      type: object
      properties: {}
    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)