{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-start-malware-scan-request-schema.json",
  "title": "StartMalwareScanRequest",
  "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/StartMalwareScanRequest",
  "type": "object",
  "properties": {
    "ResourceArn": {
      "type": "string",
      "description": "Amazon Resource Name (ARN) of the resource for which you invoked the API."
    },
    "ClientToken": {
      "type": "string",
      "description": "The idempotency token for the create request."
    },
    "ScanConfiguration": {
      "$ref": "#/$defs/StartMalwareScanConfiguration"
    }
  },
  "required": [
    "ResourceArn"
  ],
  "$defs": {
    "ContinuousScanDetails": {
      "type": "object",
      "properties": {
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp representing the start of the time range to scan. Reserved for internal use."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp representing the end of the time range to scan."
        }
      },
      "required": [
        "EndTime"
      ]
    },
    "IncrementalScanDetails": {
      "type": "object",
      "properties": {
        "BaselineResourceArn": {
          "type": "string",
          "description": "Amazon Resource Name (ARN) of the baseline resource used for incremental scanning. The scan will only process changes since this baseline resource was created."
        }
      },
      "required": [
        "BaselineResourceArn"
      ]
    },
    "RecoveryPoint": {
      "type": "object",
      "properties": {
        "BackupVaultName": {
          "type": "string",
          "description": "The name of the Amazon Web Services Backup vault that contains the name of the recovery point to be scanned."
        },
        "ContinuousScanDetails": {
          "$ref": "#/$defs/ContinuousScanDetails"
        }
      },
      "required": [
        "BackupVaultName"
      ]
    },
    "StartMalwareScanConfiguration": {
      "type": "object",
      "properties": {
        "Role": {
          "type": "string",
          "description": "Amazon Resource Name (ARN) of the IAM role that is used for scanning the resource."
        },
        "IncrementalScanDetails": {
          "$ref": "#/$defs/IncrementalScanDetails"
        },
        "RecoveryPoint": {
          "$ref": "#/$defs/RecoveryPoint"
        }
      },
      "required": [
        "Role"
      ]
    }
  }
}