Amazon SES Ses Relay API

The Ses Relay API from Amazon SES — 5 operation(s) for ses relay.

GitHub OpenAPI

Operations 5

POST /#CreateRelay Create Relay #
POST /#GetRelay Get Relay #
POST /#UpdateRelay Update Relay #
POST /#DeleteRelay Delete Relay #
POST /#ListRelays List Relays #

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-relay-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-relay-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Email Service Relay 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:
  /#CreateRelay:
    post:
      operationId: CreateRelay
      summary: Create Relay
      description: Creates a relay resource which can be used in rules to relay incoming emails to defined relay destinations.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/CreateRelayResponse'
        '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'
        '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.CreateRelay
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/CreateRelayRequest'
      tags:
      - Relay
  /#GetRelay:
    post:
      operationId: GetRelay
      summary: Get Relay
      description: Fetch the relay resource and it's attributes.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/GetRelayResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '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.GetRelay
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/GetRelayRequest'
      tags:
      - Relay
  /#UpdateRelay:
    post:
      operationId: UpdateRelay
      summary: Update Relay
      description: Updates the attributes of an existing relay resource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/UpdateRelayResponse'
        '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'
        '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.UpdateRelay
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/UpdateRelayRequest'
      tags:
      - Relay
  /#DeleteRelay:
    post:
      operationId: DeleteRelay
      summary: Delete Relay
      description: Deletes an existing relay resource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/DeleteRelayResponse'
        '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'
        '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.DeleteRelay
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/DeleteRelayRequest'
      tags:
      - Relay
  /#ListRelays:
    post:
      operationId: ListRelays
      summary: List Relays
      description: Lists all the existing relay resources.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListRelaysResponse'
        '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.ListRelays
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListRelaysRequest'
      tags:
      - Relay
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:
    CreateRelayRequest:
      type: object
      properties:
        ClientToken:
          type: string
          description: A unique token that Amazon SES uses to recognize subsequent retries of the same request.
        RelayName:
          type: string
          description: The unique name of the relay resource.
        ServerName:
          type: string
          description: The destination relay server address.
        ServerPort:
          type: integer
          description: The destination relay server port.
        Authentication:
          $ref: '#/components/schemas/RelayAuthentication'
        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:
      - RelayName
      - ServerName
      - ServerPort
      - Authentication
    CreateRelayResponse:
      type: object
      properties:
        RelayId:
          type: string
          description: A unique identifier of the created relay resource.
      required:
      - RelayId
    DeleteRelayRequest:
      type: object
      properties:
        RelayId:
          type: string
          description: The unique relay identifier.
      required:
      - RelayId
    DeleteRelayResponse:
      type: object
      properties: {}
    GetRelayRequest:
      type: object
      properties:
        RelayId:
          type: string
          description: A unique relay identifier.
      required:
      - RelayId
    GetRelayResponse:
      type: object
      properties:
        RelayId:
          type: string
          description: The unique relay identifier.
        RelayArn:
          type: string
          description: The Amazon Resource Name (ARN) of the relay.
        RelayName:
          type: string
          description: The unique name of the relay.
        ServerName:
          type: string
          description: The destination relay server address.
        ServerPort:
          type: integer
          description: The destination relay server port.
        Authentication:
          $ref: '#/components/schemas/RelayAuthentication'
        CreatedTimestamp:
          type: string
          description: The timestamp of when the relay was created.
        LastModifiedTimestamp:
          type: string
          description: The timestamp of when relay was last updated.
      required:
      - RelayId
    ListRelaysRequest:
      type: object
      properties:
        PageSize:
          type: integer
          description: The number of relays to be returned in one request.
        NextToken:
          type: string
          description: If you received a pagination token from a previous call to this API, you can provide it here to continue
            paginating through the next page of results.
    ListRelaysResponse:
      type: object
      properties:
        Relays:
          type: array
          items:
            $ref: '#/components/schemas/Relay'
          description: The list of returned relays.
        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.
      required:
      - Relays
    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
    NoAuthentication:
      type: object
      properties: {}
    Relay:
      type: object
      properties:
        RelayId:
          type: string
          description: The unique relay identifier.
        RelayName:
          type: string
          description: The unique relay name.
        LastModifiedTimestamp:
          type: string
          description: The timestamp of when the relay was last modified.
    RelayAuthentication:
      type: object
      properties:
        SecretArn:
          type: string
          description: The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
        NoAuthentication:
          $ref: '#/components/schemas/NoAuthentication'
      description: Exactly one member is set.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
    UpdateRelayRequest:
      type: object
      properties:
        RelayId:
          type: string
          description: The unique relay identifier.
        RelayName:
          type: string
          description: The name of the relay resource.
        ServerName:
          type: string
          description: The destination relay server address.
        ServerPort:
          type: integer
          description: The destination relay server port.
        Authentication:
          $ref: '#/components/schemas/RelayAuthentication'
      required:
      - RelayId
    UpdateRelayResponse:
      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)