{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-list-on-demand-scans-request-schema.json",
  "title": "ListOnDemandScansRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-ondemand-api-openapi.yml#/components/schemas/ListOnDemandScansRequest",
  "type": "object",
  "properties": {
    "resourceId": {
      "type": "string",
      "description": "The ID of the resource whose on-demand scans are being listed."
    },
    "resourceType": {
      "type": "string",
      "enum": [
        "AMI"
      ],
      "description": "The type of the resource whose on-demand scans are being listed."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return in a single page of the response."
    },
    "nextToken": {
      "type": "string",
      "description": "A pagination token from a previous response used to retrieve the next page of results."
    }
  },
  "required": [
    "resourceId",
    "resourceType"
  ]
}