{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-describe-user-groups-result-schema.json",
  "title": "DescribeUserGroupsResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-elasticache-user-group-api-openapi.yml#/components/schemas/DescribeUserGroupsResult",
  "type": "object",
  "properties": {
    "UserGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserGroup"
      },
      "description": "Returns a list of user groups."
    },
    "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.>"
    }
  },
  "$defs": {
    "UserGroup": {
      "type": "object",
      "properties": {
        "UserGroupId": {
          "type": "string",
          "description": "The ID of the user group."
        },
        "Status": {
          "type": "string",
          "description": "Indicates user group status. Can be \"creating\", \"active\", \"modifying\", \"deleting\"."
        },
        "Engine": {
          "type": "string",
          "description": "The options are valkey or redis."
        },
        "UserIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of user IDs that belong to the user group."
        },
        "MinimumEngineVersion": {
          "type": "string",
          "description": "The minimum engine version required, which is Redis OSS 6.0"
        },
        "PendingChanges": {
          "$ref": "#/$defs/UserGroupPendingChanges"
        },
        "ReplicationGroups": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of replication groups that the user group can access."
        },
        "ServerlessCaches": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Indicates which serverless caches the specified user group is associated with. Available for Valkey, Redis OSS and Serverless Memcached only."
        },
        "ARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the user group."
        }
      }
    },
    "UserGroupPendingChanges": {
      "type": "object",
      "properties": {
        "UserIdsToRemove": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of user IDs to remove."
        },
        "UserIdsToAdd": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of user IDs to add."
        }
      }
    }
  }
}