{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-list-detect-mitigation-actions-executions-response-schema.json",
  "title": "ListDetectMitigationActionsExecutionsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-detect-api-openapi.yml#/components/schemas/ListDetectMitigationActionsExecutionsResponse",
  "type": "object",
  "properties": {
    "actionsExecutions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DetectMitigationActionExecution"
      },
      "description": "List of actions executions."
    },
    "nextToken": {
      "type": "string",
      "description": "A token that can be used to retrieve the next set of results, or null if there are no additional results."
    }
  },
  "$defs": {
    "DetectMitigationActionExecution": {
      "type": "object",
      "properties": {
        "taskId": {
          "type": "string",
          "description": "The unique identifier of the task."
        },
        "violationId": {
          "type": "string",
          "description": "The unique identifier of the violation."
        },
        "actionName": {
          "type": "string",
          "description": "The friendly name that uniquely identifies the mitigation action."
        },
        "thingName": {
          "type": "string",
          "description": "The name of the thing."
        },
        "executionStartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date a mitigation action was started."
        },
        "executionEndDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date a mitigation action ended."
        },
        "status": {
          "type": "string",
          "enum": [
            "IN_PROGRESS",
            "SUCCESSFUL",
            "FAILED",
            "SKIPPED"
          ],
          "description": "The status of a mitigation action."
        },
        "errorCode": {
          "type": "string",
          "description": "The error code of a mitigation action."
        },
        "message": {
          "type": "string",
          "description": "The message of a mitigation action."
        }
      }
    }
  }
}