{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-describe-pipeline-execution-response-schema.json",
  "title": "DescribePipelineExecutionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-pipeline-execution-api-openapi.yml#/components/schemas/DescribePipelineExecutionResponse",
  "type": "object",
  "properties": {
    "PipelineArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the pipeline."
    },
    "PipelineExecutionArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the pipeline execution."
    },
    "PipelineExecutionDisplayName": {
      "type": "string",
      "description": "The display name of the pipeline execution."
    },
    "PipelineExecutionStatus": {
      "type": "string",
      "enum": [
        "Executing",
        "Stopping",
        "Stopped",
        "Failed",
        "Succeeded",
        "CompletedWithFailures"
      ],
      "description": "The status of the pipeline execution."
    },
    "PipelineExecutionDescription": {
      "type": "string",
      "description": "The description of the pipeline execution."
    },
    "PipelineExperimentConfig": {
      "$ref": "#/$defs/PipelineExperimentConfig"
    },
    "FailureReason": {
      "type": "string",
      "description": "If the execution failed, a message describing why."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time when the pipeline execution was created."
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time when the pipeline execution was modified last."
    },
    "CreatedBy": {
      "$ref": "#/$defs/UserContext"
    },
    "LastModifiedBy": {
      "$ref": "#/$defs/UserContext"
    },
    "ParallelismConfiguration": {
      "$ref": "#/$defs/ParallelismConfiguration"
    },
    "SelectiveExecutionConfig": {
      "$ref": "#/$defs/SelectiveExecutionConfig"
    },
    "PipelineVersionId": {
      "type": "integer",
      "description": "The ID of the pipeline version."
    },
    "MLflowConfig": {
      "$ref": "#/$defs/MLflowConfiguration"
    },
    "PipelineVersionAliases": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The aliases currently assigned to the pipeline version that the execution ran."
    },
    "RoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM role that the execution uses. SageMaker returns this value only for executions of pipelines that AWS manages."
    }
  },
  "$defs": {
    "IamIdentity": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM identity."
        },
        "PrincipalId": {
          "type": "string",
          "description": "The ID of the principal that assumes the IAM identity."
        },
        "SourceIdentity": {
          "type": "string",
          "description": "The person or application which assumes the IAM identity."
        }
      }
    },
    "MLflowConfiguration": {
      "type": "object",
      "properties": {
        "MlflowResourceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of MLflow configuration resource."
        },
        "MlflowExperimentName": {
          "type": "string",
          "description": "The name of the MLflow configuration."
        }
      }
    },
    "ParallelismConfiguration": {
      "type": "object",
      "properties": {
        "MaxParallelExecutionSteps": {
          "type": "integer",
          "description": "The max number of steps that can be executed in parallel."
        }
      },
      "required": [
        "MaxParallelExecutionSteps"
      ]
    },
    "PipelineExperimentConfig": {
      "type": "object",
      "properties": {
        "ExperimentName": {
          "type": "string",
          "description": "The name of the experiment."
        },
        "TrialName": {
          "type": "string",
          "description": "The name of the trial."
        }
      }
    },
    "SelectedStep": {
      "type": "object",
      "properties": {
        "StepName": {
          "type": "string",
          "description": "The name of the pipeline step."
        }
      },
      "required": [
        "StepName"
      ]
    },
    "SelectiveExecutionConfig": {
      "type": "object",
      "properties": {
        "SourcePipelineExecutionArn": {
          "type": "string",
          "description": "The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the selected steps to run. The execution status of the pipeline can be either Failed or Success. This field is required if the steps you specify for SelectedSteps depend on output collaterals from any non-specified pipeline steps. For more information, see Selective Execution for Pipeline Steps."
        },
        "SelectedSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SelectedStep"
          },
          "description": "A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included."
        }
      },
      "required": [
        "SelectedSteps"
      ]
    },
    "UserContext": {
      "type": "object",
      "properties": {
        "UserProfileArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the user's profile."
        },
        "UserProfileName": {
          "type": "string",
          "description": "The name of the user's profile."
        },
        "DomainId": {
          "type": "string",
          "description": "The domain associated with the user."
        },
        "IamIdentity": {
          "$ref": "#/$defs/IamIdentity"
        }
      }
    }
  }
}