{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-athena/json-schema/amazon-athena-start-session-response-schema.json",
  "title": "StartSessionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-athena-session-api-openapi.yml#/components/schemas/StartSessionResponse",
  "type": "object",
  "properties": {
    "SessionId": {
      "type": "string",
      "description": "The session ID."
    },
    "State": {
      "type": "string",
      "enum": [
        "CREATING",
        "CREATED",
        "IDLE",
        "BUSY",
        "TERMINATING",
        "TERMINATED",
        "DEGRADED",
        "FAILED"
      ],
      "description": "The state of the session. A description of each state follows. CREATING - The session is being started, including acquiring resources. CREATED - The session has been started. IDLE - The session is able to accept a calculation. BUSY - The session is processing another task and is unable to accept a calculation. TERMINATING - The session is in the process of shutting down. TERMINATED - The session and its resources are no longer running. DEGRADED - The session has no healthy coordinators. FAILED - Due to a failure, the session and its resources are no longer running."
    }
  }
}