{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-neptune/json-schema/amazon-neptune-start-index-rebuild-input-schema.json",
  "title": "StartIndexRebuildInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-neptune-storage-api-openapi.yml#/components/schemas/StartIndexRebuildInput",
  "type": "object",
  "properties": {
    "scope": {
      "type": "string",
      "enum": [
        "ALL",
        "QUADS",
        "DICTIONARIES"
      ],
      "description": "Specifies the scope of the rebuild operation. Possible values are: ALL - Rebuild all (quads and dictionaries). This is the default if not specified. QUADS - Rebuild only the quad indexes. DICTIONARIES - Rebuild only the dictionaries."
    },
    "concurrency": {
      "type": "integer",
      "description": "The number of concurrent indexes to rebuild in parallel. If not specified, defaults to 1. Valid values are between 1 and the number of vCPUs available on the writer instance. If the value exceeds the available vCPUs, it is capped at the maximum instead of returning an InvalidParameterException. The effective (capped) value is returned in the response. Higher concurrency can shorten the overall rebuild, but also increases CPU and I/O load during the operation."
    },
    "writeBufferSize": {
      "type": "string",
      "enum": [
        "LOW",
        "MEDIUM",
        "HIGH"
      ],
      "description": "Controls the buffer size used for tracking concurrent write operations during the index rebuild. If your database has high write traffic during the rebuild, a larger buffer prevents the operation from failing due to buffer overflow. Possible values are: LOW - Suitable for databases with light to moderate write activity. This is the default. MEDIUM - Recommended for databases with sustained write traffic or bulk loading. HIGH - Use when rebuilding indexes during heavy write workloads or continuous bulk data ingestion. If your rebuild fails and you are actively writing data to the database, retr"
    },
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, the SDK automatically generates one."
    }
  }
}