{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-update-action-results-message-schema.json",
  "title": "UpdateActionResultsMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-elasticache-update-action-api-openapi.yml#/components/schemas/UpdateActionResultsMessage",
  "type": "object",
  "properties": {
    "ProcessedUpdateActions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProcessedUpdateAction"
      },
      "description": "Update actions that have been processed successfully"
    },
    "UnprocessedUpdateActions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UnprocessedUpdateAction"
      },
      "description": "Update actions that haven't been processed successfully"
    }
  },
  "$defs": {
    "ProcessedUpdateAction": {
      "type": "object",
      "properties": {
        "ReplicationGroupId": {
          "type": "string",
          "description": "The ID of the replication group"
        },
        "CacheClusterId": {
          "type": "string",
          "description": "The ID of the cache cluster"
        },
        "ServiceUpdateName": {
          "type": "string",
          "description": "The unique ID of the service update"
        },
        "UpdateActionStatus": {
          "type": "string",
          "enum": [
            "not-applied",
            "waiting-to-start",
            "in-progress",
            "stopping",
            "stopped",
            "complete",
            "scheduling",
            "scheduled",
            "not-applicable"
          ],
          "description": "The status of the update action on the Valkey or Redis OSS cluster"
        }
      }
    },
    "UnprocessedUpdateAction": {
      "type": "object",
      "properties": {
        "ReplicationGroupId": {
          "type": "string",
          "description": "The replication group ID"
        },
        "CacheClusterId": {
          "type": "string",
          "description": "The ID of the cache cluster"
        },
        "ServiceUpdateName": {
          "type": "string",
          "description": "The unique ID of the service update"
        },
        "ErrorType": {
          "type": "string",
          "description": "The error type for requests that are not processed"
        },
        "ErrorMessage": {
          "type": "string",
          "description": "The error message that describes the reason the request was not processed"
        }
      }
    }
  }
}