{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-describe-auto-mljob-v2-response-schema.json",
  "title": "DescribeAutoMLJobV2Response",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-operations-api-openapi.yml#/components/schemas/DescribeAutoMLJobV2Response",
  "type": "object",
  "properties": {
    "AutoMLJobName": {
      "type": "string",
      "description": "Returns the name of the AutoML job V2."
    },
    "AutoMLJobArn": {
      "type": "string",
      "description": "Returns the Amazon Resource Name (ARN) of the AutoML job V2."
    },
    "AutoMLJobInputDataConfig": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AutoMLJobChannel"
      },
      "description": "Returns an array of channel objects describing the input data and their location."
    },
    "OutputDataConfig": {
      "$ref": "#/$defs/AutoMLOutputDataConfig"
    },
    "RoleArn": {
      "type": "string",
      "description": "The ARN of the IAM role that has read permission to the input data location and write permission to the output data location in Amazon S3."
    },
    "AutoMLJobObjective": {
      "$ref": "#/$defs/AutoMLJobObjective"
    },
    "AutoMLProblemTypeConfig": {
      "$ref": "#/$defs/AutoMLProblemTypeConfig"
    },
    "AutoMLProblemTypeConfigName": {
      "type": "string",
      "enum": [
        "ImageClassification",
        "TextClassification",
        "TimeSeriesForecasting",
        "Tabular",
        "TextGeneration"
      ],
      "description": "Returns the name of the problem type configuration set for the AutoML job V2."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "Returns the creation time of the AutoML job V2."
    },
    "EndTime": {
      "type": "string",
      "format": "date-time",
      "description": "Returns the end time of the AutoML job V2."
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "Returns the job's last modified time."
    },
    "FailureReason": {
      "type": "string",
      "description": "Returns the reason for the failure of the AutoML job V2, when applicable."
    },
    "PartialFailureReasons": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AutoMLPartialFailureReason"
      },
      "description": "Returns a list of reasons for partial failures within an AutoML job V2."
    },
    "BestCandidate": {
      "$ref": "#/$defs/AutoMLCandidate"
    },
    "AutoMLJobStatus": {
      "type": "string",
      "enum": [
        "Completed",
        "InProgress",
        "Failed",
        "Stopped",
        "Stopping"
      ],
      "description": "Returns the status of the AutoML job V2."
    },
    "AutoMLJobSecondaryStatus": {
      "type": "string",
      "enum": [
        "Starting",
        "MaxCandidatesReached",
        "Failed",
        "Stopped",
        "MaxAutoMLJobRuntimeReached",
        "Stopping",
        "CandidateDefinitionsGenerated",
        "Completed",
        "ExplainabilityError",
        "DeployingModel",
        "ModelDeploymentError",
        "GeneratingModelInsightsReport",
        "ModelInsightsError",
        "AnalyzingData",
        "FeatureEngineering",
        "ModelTuning",
        "GeneratingExplainabilityReport",
        "TrainingModels",
        "PreTraining"
      ],
      "description": "Returns the secondary status of the AutoML job V2."
    },
    "AutoMLJobArtifacts": {
      "$ref": "#/$defs/AutoMLJobArtifacts"
    },
    "ResolvedAttributes": {
      "$ref": "#/$defs/AutoMLResolvedAttributes"
    },
    "ModelDeployConfig": {
      "$ref": "#/$defs/ModelDeployConfig"
    },
    "ModelDeployResult": {
      "$ref": "#/$defs/ModelDeployResult"
    },
    "DataSplitConfig": {
      "$ref": "#/$defs/AutoMLDataSplitConfig"
    },
    "SecurityConfig": {
      "$ref": "#/$defs/AutoMLSecurityConfig"
    },
    "AutoMLComputeConfig": {
      "$ref": "#/$defs/AutoMLComputeConfig"
    }
  },
  "required": [
    "AutoMLJobName",
    "AutoMLJobArn",
    "AutoMLJobInputDataConfig",
    "OutputDataConfig",
    "RoleArn",
    "CreationTime",
    "LastModifiedTime",
    "AutoMLJobStatus",
    "AutoMLJobSecondaryStatus"
  ],
  "$defs": {
    "AutoMLAlgorithmConfig": {
      "type": "object",
      "properties": {
        "AutoMLAlgorithms": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "xgboost",
              "linear-learner",
              "mlp",
              "lightgbm",
              "catboost",
              "randomforest",
              "extra-trees",
              "nn-torch",
              "fastai",
              "cnn-qr",
              "deepar",
              "prophet",
              "npts",
              "arima",
              "ets"
            ]
          },
          "description": "The selection of algorithms trained on your dataset to generate the model candidates for an Autopilot job. For the tabular problem type TabularJobConfig: Selected algorithms must belong to the list corresponding to the training mode set in AutoMLJobConfig.Mode (ENSEMBLING or HYPERPARAMETER_TUNING). Choose a minimum of 1 algorithm. In ENSEMBLING mode: \"catboost\" \"extra-trees\" \"fastai\" \"lightgbm\" \"linear-learner\" \"nn-torch\" \"randomforest\" \"xgboost\" In HYPERPARAMETER_TUNING mode: \"linear-learner\" \"mlp\" \"xgboost\" For the time-series forecasting problem type TimeSeriesForecastingJobConfig: Choose y"
        }
      },
      "required": [
        "AutoMLAlgorithms"
      ]
    },
    "AutoMLCandidate": {
      "type": "object",
      "properties": {
        "CandidateName": {
          "type": "string",
          "description": "The name of the candidate."
        },
        "FinalAutoMLJobObjectiveMetric": {
          "$ref": "#/$defs/FinalAutoMLJobObjectiveMetric"
        },
        "ObjectiveStatus": {
          "type": "string",
          "enum": [
            "Succeeded",
            "Pending",
            "Failed"
          ],
          "description": "The objective's status."
        },
        "CandidateSteps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AutoMLCandidateStep"
          },
          "description": "Information about the candidate's steps."
        },
        "CandidateStatus": {
          "type": "string",
          "enum": [
            "Completed",
            "InProgress",
            "Failed",
            "Stopped",
            "Stopping"
          ],
          "description": "The candidate's status."
        },
        "InferenceContainers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AutoMLContainerDefinition"
          },
          "description": "Information about the recommended inference container definitions."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The creation time."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The end time."
        },
        "LastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The last modified time."
        },
        "FailureReason": {
          "type": "string",
          "description": "The failure reason."
        },
        "CandidateProperties": {
          "$ref": "#/$defs/CandidateProperties"
        },
        "InferenceContainerDefinitions": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/AutoMLContainerDefinition"
            }
          },
          "description": "The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate. This field is populated for the AutoML jobs V2 (for example, for jobs created by calling CreateAutoMLJobV2) related to image or text classification problem types only."
        }
      },
      "required": [
        "CandidateName",
        "ObjectiveStatus",
        "CandidateSteps",
        "CandidateStatus",
        "CreationTime",
        "LastModifiedTime"
      ]
    },
    "AutoMLCandidateStep": {
      "type": "object",
      "properties": {
        "CandidateStepType": {
          "type": "string",
          "enum": [
            "AWS::SageMaker::TrainingJob",
            "AWS::SageMaker::TransformJob",
            "AWS::SageMaker::ProcessingJob"
          ],
          "description": "Whether the candidate is at the transform, training, or processing step."
        },
        "CandidateStepArn": {
          "type": "string",
          "description": "The ARN for the candidate's step."
        },
        "CandidateStepName": {
          "type": "string",
          "description": "The name for the candidate's step."
        }
      },
      "required": [
        "CandidateStepType",
        "CandidateStepArn",
        "CandidateStepName"
      ]
    },
    "AutoMLComputeConfig": {
      "type": "object",
      "properties": {
        "EmrServerlessComputeConfig": {
          "$ref": "#/$defs/EmrServerlessComputeConfig"
        }
      }
    },
    "AutoMLContainerDefinition": {
      "type": "object",
      "properties": {
        "Image": {
          "type": "string",
          "description": "The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see ContainerDefinition."
        },
        "ModelDataUrl": {
          "type": "string",
          "description": "The location of the model artifacts. For more information, see ContainerDefinition."
        },
        "Environment": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The environment variables to set in the container. For more information, see ContainerDefinition."
        }
      },
      "required": [
        "Image",
        "ModelDataUrl"
      ]
    },
    "AutoMLDataSource": {
      "type": "object",
      "properties": {
        "S3DataSource": {
          "$ref": "#/$defs/AutoMLS3DataSource"
        }
      },
      "required": [
        "S3DataSource"
      ]
    },
    "AutoMLDataSplitConfig": {
      "type": "object",
      "properties": {
        "ValidationFraction": {
          "type": "number",
          "description": "The validation fraction (optional) is a float that specifies the portion of the training dataset to be used for validation. The default value is 0.2, and values must be greater than 0 and less than 1. We recommend setting this value to be less than 0.5."
        }
      }
    },
    "AutoMLJobArtifacts": {
      "type": "object",
      "properties": {
        "CandidateDefinitionNotebookLocation": {
          "type": "string",
          "description": "The URL of the notebook location."
        },
        "DataExplorationNotebookLocation": {
          "type": "string",
          "description": "The URL of the notebook location."
        }
      }
    },
    "AutoMLJobChannel": {
      "type": "object",
      "properties": {
        "ChannelType": {
          "type": "string",
          "enum": [
            "training",
            "validation"
          ],
          "description": "The type of channel. Defines whether the data are used for training or validation. The default value is training. Channels for training and validation must share the same ContentType The type of channel defaults to training for the time-series forecasting problem type."
        },
        "ContentType": {
          "type": "string",
          "description": "The content type of the data from the input source. The following are the allowed content types for different problems: For tabular problem types: text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present. For image classification: image/png, image/jpeg, or image/*. The default value is image/*. For text classification: text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present. For time-series forecasting: text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;hea"
        },
        "CompressionType": {
          "type": "string",
          "enum": [
            "None",
            "Gzip"
          ],
          "description": "The allowed compression types depend on the input format and problem type. We allow the compression type Gzip for S3Prefix inputs on tabular data only. For all other inputs, the compression type should be None. If no compression type is provided, we default to None."
        },
        "DataSource": {
          "$ref": "#/$defs/AutoMLDataSource"
        }
      }
    },
    "AutoMLJobCompletionCriteria": {
      "type": "object",
      "properties": {
        "MaxCandidates": {
          "type": "integer",
          "description": "The maximum number of times a training job is allowed to run. For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750."
        },
        "MaxRuntimePerTrainingJobInSeconds": {
          "type": "integer",
          "description": "The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action. For job V2s (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate. For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds)."
        },
        "MaxAutoMLJobRuntimeInSeconds": {
          "type": "integer",
          "description": "The maximum runtime, in seconds, an AutoML job has to complete. If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed."
        }
      }
    },
    "AutoMLJobObjective": {
      "type": "object",
      "properties": {
        "MetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "BalancedAccuracy",
            "R2",
            "Recall",
            "RecallMacro",
            "Precision",
            "PrecisionMacro",
            "MAE",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss"
          ],
          "description": "The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset. The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type. For tabular problem types: List of available metrics: Regression: MAE, MSE, R2, RMSE Binary classification: Accuracy, AUC, BalancedAccura"
        }
      },
      "required": [
        "MetricName"
      ]
    },
    "AutoMLOutputDataConfig": {
      "type": "object",
      "properties": {
        "KmsKeyId": {
          "type": "string",
          "description": "The Key Management Service encryption key ID."
        },
        "S3OutputPath": {
          "type": "string",
          "description": "The Amazon S3 output path. Must be 512 characters or less."
        }
      },
      "required": [
        "S3OutputPath"
      ]
    },
    "AutoMLPartialFailureReason": {
      "type": "object",
      "properties": {
        "PartialFailureMessage": {
          "type": "string",
          "description": "The message containing the reason for a partial failure of an AutoML job."
        }
      }
    },
    "AutoMLProblemTypeConfig": {
      "type": "object",
      "properties": {
        "ImageClassificationJobConfig": {
          "$ref": "#/$defs/ImageClassificationJobConfig"
        },
        "TextClassificationJobConfig": {
          "$ref": "#/$defs/TextClassificationJobConfig"
        },
        "TimeSeriesForecastingJobConfig": {
          "$ref": "#/$defs/TimeSeriesForecastingJobConfig"
        },
        "TabularJobConfig": {
          "$ref": "#/$defs/TabularJobConfig"
        },
        "TextGenerationJobConfig": {
          "$ref": "#/$defs/TextGenerationJobConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "AutoMLProblemTypeResolvedAttributes": {
      "type": "object",
      "properties": {
        "TabularResolvedAttributes": {
          "$ref": "#/$defs/TabularResolvedAttributes"
        },
        "TextGenerationResolvedAttributes": {
          "$ref": "#/$defs/TextGenerationResolvedAttributes"
        }
      },
      "description": "Exactly one member is set."
    },
    "AutoMLResolvedAttributes": {
      "type": "object",
      "properties": {
        "AutoMLJobObjective": {
          "$ref": "#/$defs/AutoMLJobObjective"
        },
        "CompletionCriteria": {
          "$ref": "#/$defs/AutoMLJobCompletionCriteria"
        },
        "AutoMLProblemTypeResolvedAttributes": {
          "$ref": "#/$defs/AutoMLProblemTypeResolvedAttributes"
        }
      }
    },
    "AutoMLS3DataSource": {
      "type": "object",
      "properties": {
        "S3DataType": {
          "type": "string",
          "enum": [
            "ManifestFile",
            "S3Prefix",
            "AugmentedManifestFile"
          ],
          "description": "The data type. If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker AI uses all objects that match the specified key name prefix for model training. The S3Prefix should have the following format: s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want SageMaker AI to use for model training. A ManifestFile should have the format shown below: [ {\"prefix\": \"s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/\"}, \"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-"
        },
        "S3Uri": {
          "type": "string",
          "description": "The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type."
        }
      },
      "required": [
        "S3DataType",
        "S3Uri"
      ]
    },
    "AutoMLSecurityConfig": {
      "type": "object",
      "properties": {
        "VolumeKmsKeyId": {
          "type": "string",
          "description": "The key used to encrypt stored data."
        },
        "EnableInterContainerTrafficEncryption": {
          "type": "boolean",
          "description": "Whether to use traffic encryption between the container layers."
        },
        "VpcConfig": {
          "$ref": "#/$defs/VpcConfig"
        }
      }
    },
    "CandidateArtifactLocations": {
      "type": "object",
      "properties": {
        "Explainability": {
          "type": "string",
          "description": "The Amazon S3 prefix to the explainability artifacts generated for the AutoML candidate."
        },
        "ModelInsights": {
          "type": "string",
          "description": "The Amazon S3 prefix to the model insight artifacts generated for the AutoML candidate."
        },
        "BacktestResults": {
          "type": "string",
          "description": "The Amazon S3 prefix to the accuracy metrics and the inference results observed over the testing window. Available only for the time-series forecasting problem type."
        }
      },
      "required": [
        "Explainability"
      ]
    },
    "CandidateGenerationConfig": {
      "type": "object",
      "properties": {
        "AlgorithmsConfig": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AutoMLAlgorithmConfig"
          },
          "description": "Your Autopilot job trains a default set of algorithms on your dataset. For tabular and time-series data, you can customize the algorithm list by selecting a subset of algorithms for your problem type. AlgorithmsConfig stores the customized selection of algorithms to train on your data. For the tabular problem type TabularJobConfig, the list of available algorithms to choose from depends on the training mode set in AutoMLJobConfig.Mode . AlgorithmsConfig should not be set when the training mode AutoMLJobConfig.Mode is set to AUTO. When AlgorithmsConfig is provided, one AutoMLAlgorithms attribut"
        }
      }
    },
    "CandidateProperties": {
      "type": "object",
      "properties": {
        "CandidateArtifactLocations": {
          "$ref": "#/$defs/CandidateArtifactLocations"
        },
        "CandidateMetrics": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MetricDatum"
          },
          "description": "Information about the candidate metrics for an AutoML job."
        }
      }
    },
    "EmrServerlessComputeConfig": {
      "type": "object",
      "properties": {
        "ExecutionRoleARN": {
          "type": "string",
          "description": "The ARN of the IAM role granting the AutoML job V2 the necessary permissions access policies to list, connect to, or manage EMR Serverless jobs. For detailed information about the required permissions of this role, see \"How to configure AutoML to initiate a remote job on EMR Serverless for large datasets\" in Create a regression or classification job for tabular data using the AutoML API or Create an AutoML job for time-series forecasting using the API."
        }
      },
      "required": [
        "ExecutionRoleARN"
      ]
    },
    "FinalAutoMLJobObjectiveMetric": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "Maximize",
            "Minimize"
          ],
          "description": "The type of metric with the best result."
        },
        "MetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "BalancedAccuracy",
            "R2",
            "Recall",
            "RecallMacro",
            "Precision",
            "PrecisionMacro",
            "MAE",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss"
          ],
          "description": "The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName."
        },
        "Value": {
          "type": "number",
          "description": "The value of the metric with the best result."
        },
        "StandardMetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "BalancedAccuracy",
            "R2",
            "Recall",
            "RecallMacro",
            "Precision",
            "PrecisionMacro",
            "MAE",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss"
          ],
          "description": "The name of the standard metric. For a description of the standard metrics, see Autopilot candidate metrics."
        }
      },
      "required": [
        "MetricName",
        "Value"
      ]
    },
    "HolidayConfigAttributes": {
      "type": "object",
      "properties": {
        "CountryCode": {
          "type": "string",
          "description": "The country code for the holiday calendar. For the list of public holiday calendars supported by AutoML job V2, see Country Codes. Use the country code corresponding to the country of your choice."
        }
      }
    },
    "ImageClassificationJobConfig": {
      "type": "object",
      "properties": {
        "CompletionCriteria": {
          "$ref": "#/$defs/AutoMLJobCompletionCriteria"
        }
      }
    },
    "MetricDatum": {
      "type": "object",
      "properties": {
        "MetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "BalancedAccuracy",
            "R2",
            "Recall",
            "RecallMacro",
            "Precision",
            "PrecisionMacro",
            "MAE",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss"
          ],
          "description": "The name of the metric."
        },
        "StandardMetricName": {
          "type": "string",
          "enum": [
            "Accuracy",
            "MSE",
            "F1",
            "F1macro",
            "AUC",
            "RMSE",
            "MAE",
            "R2",
            "BalancedAccuracy",
            "Precision",
            "PrecisionMacro",
            "Recall",
            "RecallMacro",
            "LogLoss",
            "InferenceLatency",
            "MAPE",
            "MASE",
            "WAPE",
            "AverageWeightedQuantileLoss",
            "Rouge1",
            "Rouge2",
            "RougeL",
            "RougeLSum",
            "Perplexity",
            "ValidationLoss",
            "TrainingLoss"
          ],
          "description": "The name of the standard metric. For definitions of the standard metrics, see Autopilot candidate metrics ."
        },
        "Value": {
          "type": "number",
          "description": "The value of the metric."
        },
        "Set": {
          "type": "string",
          "enum": [
            "Train",
            "Validation",
            "Test"
          ],
          "description": "The dataset split from which the AutoML job produced the metric."
        }
      }
    },
    "ModelAccessConfig": {
      "type": "object",
      "properties": {
        "AcceptEula": {
          "type": "boolean",
          "description": "Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model."
        }
      },
      "required": [
        "AcceptEula"
      ]
    },
    "ModelDeployConfig": {
      "type": "object",
      "properties": {
        "AutoGenerateEndpointName": {
          "type": "boolean",
          "description": "Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False. If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown."
        },
        "EndpointName": {
          "type": "string",
          "description": "Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically. Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown."
        }
      }
    },
    "ModelDeployResult": {
      "type": "object",
      "properties": {
        "EndpointName": {
          "type": "string",
          "description": "The name of the endpoint to which the model has been deployed. If model deployment fails, this field is omitted from the response."
        }
      }
    },
    "TabularJobConfig": {
      "type": "object",
      "properties": {
        "CandidateGenerationConfig": {
          "$ref": "#/$defs/CandidateGenerationConfig"
        },
        "CompletionCriteria": {
          "$ref": "#/$defs/AutoMLJobCompletionCriteria"
        },
        "FeatureSpecificationS3Uri": {
          "type": "string",
          "description": "A URL to the Amazon S3 data source containing selected features from the input data source to run an Autopilot job V2. You can input FeatureAttributeNames (optional) in JSON format as shown below: { \"FeatureAttributeNames\":[\"col1\", \"col2\", ...] }. You can also specify the data type of the feature (optional) in the format shown below: { \"FeatureDataTypes\":{\"col1\":\"numeric\", \"col2\":\"categorical\" ... } } These column keys may not include the target column. In ensembling mode, Autopilot only supports the following data types: numeric, categorical, text, and datetime. In HPO mode, Autopilot can sup"
        },
        "Mode": {
          "type": "string",
          "enum": [
            "AUTO",
            "ENSEMBLING",
            "HYPERPARAMETER_TUNING"
          ],
          "description": "The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting AUTO. In AUTO mode, Autopilot chooses ENSEMBLING for datasets smaller than 100 MB, and HYPERPARAMETER_TUNING for larger ones. The ENSEMBLING mode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing member"
        },
        "GenerateCandidateDefinitionsOnly": {
          "type": "boolean",
          "description": "Generates possible candidates without training the models. A model candidate is a combination of data preprocessors, algorithms, and algorithm parameter settings."
        },
        "ProblemType": {
          "type": "string",
          "enum": [
            "BinaryClassification",
            "MulticlassClassification",
            "Regression"
          ],
          "description": "The type of supervised learning problem available for the model candidates of the AutoML job V2. For more information, see SageMaker Autopilot problem types. You must either specify the type of supervised learning problem in ProblemType and provide the AutoMLJobObjective metric, or none at all."
        },
        "TargetAttributeName": {
          "type": "string",
          "description": "The name of the target variable in supervised learning, usually represented by 'y'."
        },
        "SampleWeightAttributeName": {
          "type": "string",
          "description": "If specified, this column name indicates which column of the dataset should be treated as sample weights for use by the objective metric during the training, evaluation, and the selection of the best model. This column is not considered as a predictive feature. For more information on Autopilot metrics, see Metrics and validation. Sample weights should be numeric, non-negative, with larger values indicating which rows are more important than others. Data points that have invalid or no weight value are excluded. Support for sample weights is available in Ensembling mode only."
        }
      },
      "required": [
        "TargetAttributeName"
      ]
    },
    "TabularResolvedAttributes": {
      "type": "object",
      "properties": {
        "ProblemType": {
          "type": "string",
          "enum": [
            "BinaryClassification",
            "MulticlassClassification",
            "Regression"
          ],
          "description": "The type of supervised learning problem available for the model candidates of the AutoML job V2 (Binary Classification, Multiclass Classification, Regression). For more information, see SageMaker Autopilot problem types."
        }
      }
    },
    "TextClassificationJobConfig": {
      "type": "object",
      "properties": {
        "CompletionCriteria": {
          "$ref": "#/$defs/AutoMLJobCompletionCriteria"
        },
        "ContentColumn": {
          "type": "string",
          "description": "The name of the column used to provide the sentences to be classified. It should not be the same as the target column."
        },
        "TargetLabelColumn": {
          "type": "string",
          "description": "The name of the column used to provide the class labels. It should not be same as the content column."
        }
      },
      "required": [
        "ContentColumn",
        "TargetLabelColumn"
      ]
    },
    "TextGenerationJobConfig": {
      "type": "object",
      "properties": {
        "CompletionCriteria": {
          "$ref": "#/$defs/AutoMLJobCompletionCriteria"
        },
        "BaseModelName": {
          "type": "string",
          "description": "The name of the base model to fine-tune. Autopilot supports fine-tuning a variety of large language models. For information on the list of supported models, see Text generation models supporting fine-tuning in Autopilot. If no BaseModelName is provided, the default model used is Falcon7BInstruct."
        },
        "TextGenerationHyperParameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The hyperparameters used to configure and optimize the learning process of the base model. You can set any combination of the following hyperparameters for all base models. For more information on each supported hyperparameter, see Optimize the learning process of your text generation models with hyperparameters. \"epochCount\": The number of times the model goes through the entire training dataset. Its value should be a string containing an integer value within the range of \"1\" to \"10\". \"batchSize\": The number of data samples used in each iteration of training. Its value should be a string cont"
        },
        "ModelAccessConfig": {
          "$ref": "#/$defs/ModelAccessConfig"
        }
      }
    },
    "TextGenerationResolvedAttributes": {
      "type": "object",
      "properties": {
        "BaseModelName": {
          "type": "string",
          "description": "The name of the base model to fine-tune."
        }
      }
    },
    "TimeSeriesConfig": {
      "type": "object",
      "properties": {
        "TargetAttributeName": {
          "type": "string",
          "description": "The name of the column representing the target variable that you want to predict for each item in your dataset. The data type of the target variable must be numerical."
        },
        "TimestampAttributeName": {
          "type": "string",
          "description": "The name of the column indicating a point in time at which the target value of a given item is recorded."
        },
        "ItemIdentifierAttributeName": {
          "type": "string",
          "description": "The name of the column that represents the set of item identifiers for which you want to predict the target value."
        },
        "GroupingAttributeNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A set of columns names that can be grouped with the item identifier column to create a composite key for which a target value is predicted."
        }
      },
      "required": [
        "TargetAttributeName",
        "TimestampAttributeName",
        "ItemIdentifierAttributeName"
      ]
    },
    "TimeSeriesForecastingJobConfig": {
      "type": "object",
      "properties": {
        "FeatureSpecificationS3Uri": {
          "type": "string",
          "description": "A URL to the Amazon S3 data source containing additional selected features that complement the target, itemID, timestamp, and grouped columns set in TimeSeriesConfig. When not provided, the AutoML job V2 includes all the columns from the original dataset that are not already declared in TimeSeriesConfig. If provided, the AutoML job V2 only considers these additional columns as a complement to the ones declared in TimeSeriesConfig. You can input FeatureAttributeNames (optional) in JSON format as shown below: { \"FeatureAttributeNames\":[\"col1\", \"col2\", ...] }. You can also specify the data type o"
        },
        "CompletionCriteria": {
          "$ref": "#/$defs/AutoMLJobCompletionCriteria"
        },
        "ForecastFrequency": {
          "type": "string",
          "description": "The frequency of predictions in a forecast. Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, 1D indicates every day and 15min indicates every 15 minutes. The value of a frequency must not overlap with the next larger frequency. For example, you must use a frequency of 1H instead of 60min. The valid values for each frequency are the following: Minute - 1-59 Hour - 1-23 Day - 1-6 Week - 1-4 Month - 1-11 Year - 1"
        },
        "ForecastHorizon": {
          "type": "integer",
          "description": "The number of time-steps that the model predicts. The forecast horizon is also called the prediction length. The maximum forecast horizon is the lesser of 500 time-steps or 1/4 of the time-steps in the dataset."
        },
        "ForecastQuantiles": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The quantiles used to train the model for forecasts at a specified quantile. You can specify quantiles from 0.01 (p1) to 0.99 (p99), by increments of 0.01 or higher. Up to five forecast quantiles can be specified. When ForecastQuantiles is not provided, the AutoML job uses the quantiles p10, p50, and p90 as default."
        },
        "Transformations": {
          "$ref": "#/$defs/TimeSeriesTransformations"
        },
        "TimeSeriesConfig": {
          "$ref": "#/$defs/TimeSeriesConfig"
        },
        "HolidayConfig": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HolidayConfigAttributes"
          },
          "description": "The collection of holiday featurization attributes used to incorporate national holiday information into your forecasting model."
        },
        "CandidateGenerationConfig": {
          "$ref": "#/$defs/CandidateGenerationConfig"
        }
      },
      "required": [
        "ForecastFrequency",
        "ForecastHorizon",
        "TimeSeriesConfig"
      ]
    },
    "TimeSeriesTransformations": {
      "type": "object",
      "properties": {
        "Filling": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "description": "A key value pair defining the filling method for a column, where the key is the column name and the value is an object which defines the filling logic. You can specify multiple filling methods for a single column. The supported filling methods and their corresponding options are: frontfill: none (Supported only for target column) middlefill: zero, value, median, mean, min, max backfill: zero, value, median, mean, min, max futurefill: zero, value, median, mean, min, max To set a filling method to a specific value, set the fill parameter to the chosen filling method value (for example \"backfill\""
        },
        "Aggregation": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "enum": [
              "sum",
              "avg",
              "first",
              "min",
              "max"
            ]
          },
          "description": "A key value pair defining the aggregation method for a column, where the key is the column name and the value is the aggregation method. The supported aggregation methods are sum (default), avg, first, min, max. Aggregation is only supported for the target column."
        }
      }
    },
    "VpcConfig": {
      "type": "object",
      "properties": {
        "SecurityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field."
        },
        "Subnets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones."
        }
      },
      "required": [
        "SecurityGroupIds",
        "Subnets"
      ]
    }
  }
}