{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-describe-maintenance-window-tasks-request-schema.json",
  "title": "DescribeMaintenanceWindowTasksRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-maintenance-window-task-api-openapi.yml#/components/schemas/DescribeMaintenanceWindowTasksRequest",
  "type": "object",
  "properties": {
    "WindowId": {
      "type": "string",
      "description": "The ID of the maintenance window whose tasks should be retrieved."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MaintenanceWindowFilter"
      },
      "description": "Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId, TaskArn, Priority, and TaskType."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of items to return. (You received this token from a previous call.)"
    }
  },
  "required": [
    "WindowId"
  ],
  "$defs": {
    "MaintenanceWindowFilter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The name of the filter."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The filter values."
        }
      }
    }
  }
}