{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-update-pipeline-request-schema.json",
  "title": "UpdatePipelineRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-pipeline-api-openapi.yml#/components/schemas/UpdatePipelineRequest",
  "type": "object",
  "properties": {
    "PipelineName": {
      "type": "string",
      "description": "The name of the pipeline to update."
    },
    "PipelineDisplayName": {
      "type": "string",
      "description": "The display name of the pipeline."
    },
    "PipelineDefinition": {
      "type": "string",
      "description": "The JSON pipeline definition."
    },
    "PipelineDefinitionS3Location": {
      "$ref": "#/$defs/PipelineDefinitionS3Location"
    },
    "PipelineDescription": {
      "type": "string",
      "description": "The description of the pipeline."
    },
    "RoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) that the pipeline uses to execute."
    },
    "ParallelismConfiguration": {
      "$ref": "#/$defs/ParallelismConfiguration"
    },
    "PipelineVersionAliases": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The aliases to assign to the new pipeline version that this update creates. You can specify aliases only when the update changes the pipeline definition. To change the aliases of an existing version, use UpdatePipelineVersion. An alias must be unique within the pipeline. To move an alias from an existing version to the new version, first remove the alias from the existing version with UpdatePipelineVersion."
    }
  },
  "required": [
    "PipelineName"
  ],
  "$defs": {
    "ParallelismConfiguration": {
      "type": "object",
      "properties": {
        "MaxParallelExecutionSteps": {
          "type": "integer",
          "description": "The max number of steps that can be executed in parallel."
        }
      },
      "required": [
        "MaxParallelExecutionSteps"
      ]
    },
    "PipelineDefinitionS3Location": {
      "type": "object",
      "properties": {
        "Bucket": {
          "type": "string",
          "description": "Name of the S3 bucket."
        },
        "ObjectKey": {
          "type": "string",
          "description": "The object key (or key name) uniquely identifies the object in an S3 bucket."
        },
        "VersionId": {
          "type": "string",
          "description": "Version Id of the pipeline definition file. If not specified, Amazon SageMaker will retrieve the latest version."
        }
      },
      "required": [
        "Bucket",
        "ObjectKey"
      ]
    }
  }
}