{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-update-actions-message-schema.json",
  "title": "UpdateActionsMessage",
  "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/UpdateActionsMessage",
  "type": "object",
  "properties": {
    "Marker": {
      "type": "string",
      "description": "An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords."
    },
    "UpdateActions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UpdateAction"
      },
      "description": "Returns a list of update actions"
    }
  },
  "$defs": {
    "CacheNodeUpdateStatus": {
      "type": "object",
      "properties": {
        "CacheNodeId": {
          "type": "string",
          "description": "The node ID of the cache cluster"
        },
        "NodeUpdateStatus": {
          "type": "string",
          "enum": [
            "not-applied",
            "waiting-to-start",
            "in-progress",
            "stopping",
            "stopped",
            "complete"
          ],
          "description": "The update status of the node"
        },
        "NodeDeletionDate": {
          "type": "string",
          "format": "date-time",
          "description": "The deletion date of the node"
        },
        "NodeUpdateStartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The start date of the update for a node"
        },
        "NodeUpdateEndDate": {
          "type": "string",
          "format": "date-time",
          "description": "The end date of the update for a node"
        },
        "NodeUpdateInitiatedBy": {
          "type": "string",
          "enum": [
            "system",
            "customer"
          ],
          "description": "Reflects whether the update was initiated by the customer or automatically applied"
        },
        "NodeUpdateInitiatedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date when the update is triggered"
        },
        "NodeUpdateStatusModifiedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date when the NodeUpdateStatus was last modified>"
        }
      }
    },
    "NodeGroupMemberUpdateStatus": {
      "type": "object",
      "properties": {
        "CacheClusterId": {
          "type": "string",
          "description": "The cache cluster ID"
        },
        "CacheNodeId": {
          "type": "string",
          "description": "The node ID of the cache cluster"
        },
        "NodeUpdateStatus": {
          "type": "string",
          "enum": [
            "not-applied",
            "waiting-to-start",
            "in-progress",
            "stopping",
            "stopped",
            "complete"
          ],
          "description": "The update status of the node"
        },
        "NodeDeletionDate": {
          "type": "string",
          "format": "date-time",
          "description": "The deletion date of the node"
        },
        "NodeUpdateStartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The start date of the update for a node"
        },
        "NodeUpdateEndDate": {
          "type": "string",
          "format": "date-time",
          "description": "The end date of the update for a node"
        },
        "NodeUpdateInitiatedBy": {
          "type": "string",
          "enum": [
            "system",
            "customer"
          ],
          "description": "Reflects whether the update was initiated by the customer or automatically applied"
        },
        "NodeUpdateInitiatedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date when the update is triggered"
        },
        "NodeUpdateStatusModifiedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date when the NodeUpdateStatus was last modified"
        }
      }
    },
    "NodeGroupUpdateStatus": {
      "type": "object",
      "properties": {
        "NodeGroupId": {
          "type": "string",
          "description": "The ID of the node group"
        },
        "NodeGroupMemberUpdateStatus": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NodeGroupMemberUpdateStatus"
          },
          "description": "The status of the service update on the node group member"
        }
      }
    },
    "UpdateAction": {
      "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"
        },
        "ServiceUpdateReleaseDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the update is first available"
        },
        "ServiceUpdateSeverity": {
          "type": "string",
          "enum": [
            "critical",
            "important",
            "medium",
            "low"
          ],
          "description": "The severity of the service update"
        },
        "ServiceUpdateStatus": {
          "type": "string",
          "enum": [
            "available",
            "cancelled",
            "expired"
          ],
          "description": "The status of the service update"
        },
        "ServiceUpdateRecommendedApplyByDate": {
          "type": "string",
          "format": "date-time",
          "description": "The recommended date to apply the service update to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance."
        },
        "ServiceUpdateType": {
          "type": "string",
          "enum": [
            "security-update"
          ],
          "description": "Reflects the nature of the service update"
        },
        "UpdateActionAvailableDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date that the service update is available to a replication group"
        },
        "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"
        },
        "NodesUpdated": {
          "type": "string",
          "description": "The progress of the service update on the replication group"
        },
        "UpdateActionStatusModifiedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date when the UpdateActionStatus was last modified"
        },
        "SlaMet": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "n/a"
          ],
          "description": "If yes, all nodes in the replication group have been updated by the recommended apply-by date. If no, at least one node in the replication group have not been updated by the recommended apply-by date. If N/A, the replication group was created after the recommended apply-by date."
        },
        "NodeGroupUpdateStatus": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NodeGroupUpdateStatus"
          },
          "description": "The status of the service update on the node group"
        },
        "CacheNodeUpdateStatus": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CacheNodeUpdateStatus"
          },
          "description": "The status of the service update on the cache node"
        },
        "EstimatedUpdateTime": {
          "type": "string",
          "description": "The estimated length of time for the update to complete"
        },
        "Engine": {
          "type": "string",
          "description": "The Elasticache engine to which the update applies. Either Valkey, Redis OSS or Memcached."
        }
      }
    }
  }
}