{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fsx/json-schema/amazon-fsx-describe-backups-request-schema.json",
  "title": "DescribeBackupsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fsx-backup-api-openapi.yml#/components/schemas/DescribeBackupsRequest",
  "type": "object",
  "properties": {
    "BackupIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The IDs of the backups that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a BackupNotFound error occurs."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "The filters structure. The supported names are file-system-id, backup-type, file-system-type, and volume-id."
    },
    "MaxResults": {
      "type": "integer",
      "description": "Maximum number of backups to return in the response. This parameter value must be greater than 0. The number of items that Amazon FSx returns is the minimum of the MaxResults parameter specified in the request and the service's internal maximum number of items per page."
    },
    "NextToken": {
      "type": "string",
      "description": "An opaque pagination token returned from a previous DescribeBackups operation. If a token is present, the operation continues the list from where the returning call left off."
    }
  },
  "$defs": {
    "Filter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "enum": [
            "file-system-id",
            "backup-type",
            "file-system-type",
            "volume-id",
            "data-repository-type",
            "file-cache-id",
            "file-cache-type"
          ],
          "description": "The name for this filter."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The values of the filter. These are all the values for any of the applied filters."
        }
      }
    }
  }
}