{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fsx/json-schema/amazon-fsx-describe-data-repository-tasks-request-schema.json",
  "title": "DescribeDataRepositoryTasksRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fsx-data-repository-task-api-openapi.yml#/components/schemas/DescribeDataRepositoryTasksRequest",
  "type": "object",
  "properties": {
    "TaskIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "(Optional) IDs of the tasks whose descriptions you want to retrieve (String)."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataRepositoryTaskFilter"
      },
      "description": "(Optional) You can use filters to narrow the DescribeDataRepositoryTasks response to include just tasks for specific file systems, or tasks in a specific lifecycle state."
    },
    "MaxResults": {
      "type": "integer"
    },
    "NextToken": {
      "type": "string"
    }
  },
  "$defs": {
    "DataRepositoryTaskFilter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "enum": [
            "file-system-id",
            "task-lifecycle",
            "data-repository-association-id",
            "file-cache-id"
          ],
          "description": "Name of the task property to use in filtering the tasks returned in the response. Use file-system-id to retrieve data repository tasks for specific file systems. Use task-lifecycle to retrieve data repository tasks with one or more specific lifecycle states, as follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Use Values to include the specific file system IDs and task lifecycle states for the filters you are using."
        }
      }
    }
  }
}