{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ses/json-schema/amazon-ses-get-relay-response-schema.json",
  "title": "GetRelayResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ses-relay-api-openapi.yml#/components/schemas/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": "#/$defs/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"
  ],
  "$defs": {
    "NoAuthentication": {
      "type": "object",
      "properties": {}
    },
    "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": "#/$defs/NoAuthentication"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}