{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-list-malware-scans-request-schema.json",
  "title": "ListMalwareScansRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-malware-scan-api-openapi.yml#/components/schemas/ListMalwareScansRequest",
  "type": "object",
  "properties": {
    "MaxResults": {
      "type": "integer",
      "description": "You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50."
    },
    "NextToken": {
      "type": "string",
      "description": "You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing results."
    },
    "FilterCriteria": {
      "$ref": "#/$defs/ListMalwareScansFilterCriteria"
    },
    "SortCriteria": {
      "$ref": "#/$defs/SortCriteria"
    }
  },
  "$defs": {
    "FilterCondition": {
      "type": "object",
      "properties": {
        "EqualsValue": {
          "type": "string",
          "description": "Represents an equal condition to be applied to a single field when querying for scan entries."
        },
        "GreaterThan": {
          "type": "integer",
          "description": "Represents a greater than condition to be applied to a single field when querying for scan entries."
        },
        "LessThan": {
          "type": "integer",
          "description": "Represents a less than condition to be applied to a single field when querying for scan entries."
        }
      }
    },
    "ListMalwareScansFilterCriteria": {
      "type": "object",
      "properties": {
        "ListMalwareScansFilterCriterion": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ListMalwareScansFilterCriterion"
          },
          "description": "Represents a condition that when matched will be added to the response of the operation."
        }
      }
    },
    "ListMalwareScansFilterCriterion": {
      "type": "object",
      "properties": {
        "ListMalwareScansCriterionKey": {
          "type": "string",
          "enum": [
            "RESOURCE_ARN",
            "SCAN_ID",
            "ACCOUNT_ID",
            "GUARDDUTY_FINDING_ID",
            "RESOURCE_TYPE",
            "SCAN_START_TIME",
            "SCAN_STATUS",
            "SCAN_TYPE"
          ],
          "description": "An enum value representing possible scan properties to match with given scan entries."
        },
        "FilterCondition": {
          "$ref": "#/$defs/FilterCondition"
        }
      }
    },
    "SortCriteria": {
      "type": "object",
      "properties": {
        "AttributeName": {
          "type": "string",
          "description": "Represents the finding attribute, such as accountId, that sorts the findings."
        },
        "OrderBy": {
          "type": "string",
          "enum": [
            "ASC",
            "DESC"
          ],
          "description": "The order by which the sorted findings are to be displayed."
        }
      }
    }
  }
}