{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-list-sessions-request-schema.json",
  "title": "ListSessionsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-session-api-openapi.yml#/components/schemas/ListSessionsRequest",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The ID of the application to list sessions for."
    },
    "nextToken": {
      "type": "string",
      "description": "The token for the next set of session results."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of sessions to return in each page of results."
    },
    "states": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state."
    },
    "createdAtAfter": {
      "type": "string",
      "format": "date-time",
      "description": "The lower bound of the option to filter by creation date and time."
    },
    "createdAtBefore": {
      "type": "string",
      "format": "date-time",
      "description": "The upper bound of the option to filter by creation date and time."
    }
  },
  "required": [
    "applicationId"
  ]
}