{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-stop-assessment-run-request-schema.json",
  "title": "StopAssessmentRunRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-assessment-run-api-openapi.yml#/components/schemas/StopAssessmentRunRequest",
  "type": "object",
  "properties": {
    "assessmentRunArn": {
      "type": "string",
      "description": "The ARN of the assessment run that you want to stop."
    },
    "stopAction": {
      "type": "string",
      "enum": [
        "START_EVALUATION",
        "SKIP_EVALUATION"
      ],
      "description": "An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated."
    }
  },
  "required": [
    "assessmentRunArn"
  ]
}