{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-update-collection-group-request-schema.json",
  "title": "UpdateCollectionGroupRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-collection-group-api-openapi.yml#/components/schemas/UpdateCollectionGroupRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the collection group to update."
    },
    "description": {
      "type": "string",
      "description": "A new description for the collection group."
    },
    "capacityLimits": {
      "$ref": "#/$defs/CollectionGroupCapacityLimits"
    },
    "clientToken": {
      "type": "string",
      "description": "Unique, case-sensitive identifier to ensure idempotency of the request."
    }
  },
  "required": [
    "id"
  ],
  "$defs": {
    "CollectionGroupCapacityLimits": {
      "type": "object",
      "properties": {
        "maxIndexingCapacityInOCU": {
          "type": "number",
          "description": "The maximum indexing capacity for collections in the group."
        },
        "maxSearchCapacityInOCU": {
          "type": "number",
          "description": "The maximum search capacity for collections in the group."
        },
        "minIndexingCapacityInOCU": {
          "type": "number",
          "description": "The minimum indexing capacity for collections in the group."
        },
        "minSearchCapacityInOCU": {
          "type": "number",
          "description": "The minimum search capacity for collections in the group."
        }
      }
    }
  }
}