{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-athena/json-schema/amazon-athena-list-executors-response-schema.json",
  "title": "ListExecutorsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-athena-operations-api-openapi.yml#/components/schemas/ListExecutorsResponse",
  "type": "object",
  "properties": {
    "SessionId": {
      "type": "string",
      "description": "The session ID."
    },
    "NextToken": {
      "type": "string",
      "description": "A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call."
    },
    "ExecutorsSummary": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ExecutorsSummary"
      },
      "description": "Contains summary information about the executor."
    }
  },
  "required": [
    "SessionId"
  ],
  "$defs": {
    "ExecutorsSummary": {
      "type": "object",
      "properties": {
        "ExecutorId": {
          "type": "string",
          "description": "The UUID of the executor."
        },
        "ExecutorType": {
          "type": "string",
          "enum": [
            "COORDINATOR",
            "GATEWAY",
            "WORKER"
          ],
          "description": "The type of executor used for the application (COORDINATOR, GATEWAY, or WORKER)."
        },
        "StartDateTime": {
          "type": "integer",
          "description": "The date and time that the executor started."
        },
        "TerminationDateTime": {
          "type": "integer",
          "description": "The date and time that the executor was terminated."
        },
        "ExecutorState": {
          "type": "string",
          "enum": [
            "CREATING",
            "CREATED",
            "REGISTERED",
            "TERMINATING",
            "TERMINATED",
            "FAILED"
          ],
          "description": "The processing state of the executor. A description of each state follows. CREATING - The executor is being started, including acquiring resources. CREATED - The executor has been started. REGISTERED - The executor has been registered. TERMINATING - The executor is in the process of shutting down. TERMINATED - The executor is no longer running. FAILED - Due to a failure, the executor is no longer running."
        },
        "ExecutorSize": {
          "type": "integer",
          "description": "The smallest unit of compute that a session can request from Athena. Size is measured in data processing unit (DPU) values, a relative measure of processing power."
        }
      },
      "required": [
        "ExecutorId"
      ]
    }
  }
}