{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-billing-and-cost-management/json-schema/amazon-billing-and-cost-management-execute-scheduled-report-response-schema.json",
  "title": "ExecuteScheduledReportResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-scheduled-report-api-openapi.yml#/components/schemas/ExecuteScheduledReportResponse",
  "type": "object",
  "properties": {
    "healthStatus": {
      "$ref": "#/$defs/BcmDashboardsHealthStatus"
    },
    "executionTriggered": {
      "type": "boolean",
      "description": "Indicates whether the execution was successfully triggered."
    }
  },
  "$defs": {
    "BcmDashboardsHealthStatus": {
      "type": "object",
      "properties": {
        "statusCode": {
          "type": "string",
          "enum": [
            "HEALTHY",
            "UNHEALTHY"
          ],
          "description": "The health status code. HEALTHY indicates the scheduled report is configured properly and has all required permissions to execute. UNHEALTHY indicates the scheduled report is unable to deliver the notification to the default Amazon EventBridge EventBus in your account and your action is needed. The reason for the unhealthy state is captured in the health status reasons."
        },
        "lastRefreshedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the health status was last refreshed."
        },
        "statusReasons": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "DATA_SOURCE_ACCESS_DENIED",
              "EXECUTION_ROLE_ASSUME_FAILED",
              "EXECUTION_ROLE_INSUFFICIENT_PERMISSIONS",
              "DASHBOARD_NOT_FOUND",
              "DASHBOARD_ACCESS_DENIED",
              "INTERNAL_FAILURE",
              "WIDGET_ID_NOT_FOUND"
            ]
          },
          "description": "The list of reasons for the current health status. Only present when the status is UNHEALTHY."
        }
      },
      "required": [
        "statusCode"
      ]
    }
  }
}