{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-update-notebook-input-schema.json",
  "title": "UpdateNotebookInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-notebooks-api-openapi.yml#/components/schemas/UpdateNotebookInput",
  "type": "object",
  "properties": {
    "domainIdentifier": {
      "type": "string",
      "description": "The identifier of the Amazon SageMaker Unified Studio domain in which the notebook exists."
    },
    "identifier": {
      "type": "string",
      "description": "The identifier of the notebook to update."
    },
    "description": {
      "type": "string",
      "description": "The updated description of the notebook."
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "ARCHIVED",
        "SYNC_IN_PROGRESS",
        "SYNC_FAILED"
      ],
      "description": "The updated status of the notebook."
    },
    "name": {
      "type": "string",
      "description": "The updated name of the notebook."
    },
    "cellOrder": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CellInformation"
      },
      "description": "The updated ordered list of cells in the notebook."
    },
    "type": {
      "type": "string",
      "enum": [
        "DATA",
        "SQL"
      ],
      "description": "The updated type of the notebook."
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The updated metadata for the notebook, specified as key-value pairs."
    },
    "parameters": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The updated sensitive parameters for the notebook, specified as key-value pairs."
    },
    "environmentConfiguration": {
      "$ref": "#/$defs/EnvironmentConfig"
    },
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided."
    }
  },
  "required": [
    "domainIdentifier",
    "identifier"
  ],
  "$defs": {
    "CellInformation": {
      "type": "object",
      "properties": {}
    },
    "EnvironmentConfig": {
      "type": "object",
      "properties": {
        "imageVersion": {
          "type": "string",
          "description": "The image version for the notebook run environment."
        },
        "packageConfig": {
          "$ref": "#/$defs/PackageConfig"
        }
      }
    },
    "PackageConfig": {
      "type": "object",
      "properties": {
        "packageManager": {
          "type": "string",
          "enum": [
            "UV"
          ],
          "description": "The package manager for the notebook run environment. The default value is UV."
        },
        "packageSpecification": {
          "type": "string",
          "description": "The package specification content for the notebook run environment. The maximum length is 10240 characters."
        }
      },
      "required": [
        "packageManager"
      ]
    }
  }
}