Amazon Athena · Schema

ListSessionsResponse

Amazon AthenaSQLAnalyticsServerlessAmazon Web Services

Properties

Name Type Description
NextToken string 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
Sessions array A list of sessions.
View JSON Schema on GitHub

JSON Schema

amazon-athena-list-sessions-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-athena/json-schema/amazon-athena-list-sessions-response-schema.json",
  "title": "ListSessionsResponse",
  "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/ListSessionsResponse",
  "type": "object",
  "properties": {
    "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."
    },
    "Sessions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SessionSummary"
      },
      "description": "A list of sessions."
    }
  },
  "$defs": {
    "EngineVersion": {
      "type": "object",
      "properties": {
        "SelectedEngineVersion": {
          "type": "string",
          "description": "The engine version requested by the user. Possible values are determined by the output of ListEngineVersions, including AUTO. The default is AUTO."
        },
        "EffectiveEngineVersion": {
          "type": "string",
          "description": "Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored."
        }
      }
    },
    "SessionStatus": {
      "type": "object",
      "properties": {
        "StartDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the session started."
        },
        "LastModifiedDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The most recent date and time that the session was modified."
        },
        "EndDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the session ended."
        },
        "IdleSinceDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time starting at which the session became idle. Can be empty if the session is not currently idle."
        },
        "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."
        },
        "StateChangeReason": {
          "type": "string",
          "description": "The reason for the session state change (for example, canceled because the session was terminated)."
        }
      }
    },
    "SessionSummary": {
      "type": "object",
      "properties": {
        "SessionId": {
          "type": "string",
          "description": "The session ID."
        },
        "Description": {
          "type": "string",
          "description": "The session description."
        },
        "EngineVersion": {
          "$ref": "#/$defs/EngineVersion"
        },
        "NotebookVersion": {
          "type": "string",
          "description": "The notebook version."
        },
        "Status": {
          "$ref": "#/$defs/SessionStatus"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-athena-list-sessions-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.