{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-batch-delete-automation-rules-response-schema.json",
  "title": "BatchDeleteAutomationRulesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-automation-rules-api-openapi.yml#/components/schemas/BatchDeleteAutomationRulesResponse",
  "type": "object",
  "properties": {
    "ProcessedAutomationRules": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of properly processed rule ARNs."
    },
    "UnprocessedAutomationRules": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UnprocessedAutomationRule"
      },
      "description": "A list of objects containing RuleArn, ErrorCode, and ErrorMessage. This parameter tells you which automation rules the request didn't delete and why."
    }
  },
  "$defs": {
    "UnprocessedAutomationRule": {
      "type": "object",
      "properties": {
        "RuleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the unprocessed automation rule."
        },
        "ErrorCode": {
          "type": "integer",
          "description": "The error code associated with the unprocessed automation rule."
        },
        "ErrorMessage": {
          "type": "string",
          "description": "An error message describing why a request didn't process a specific rule."
        }
      }
    }
  }
}