{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-create-hyper-parameter-tuning-job-request-schema.json",
  "title": "CreateHyperParameterTuningJobRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-hyper-parameter-tuning-job-api-openapi.yml#/components/schemas/CreateHyperParameterTuningJobRequest",
  "type": "object",
  "properties": {
    "HyperParameterTuningJobName": {
      "type": "string",
      "description": "The name of the tuning job. This name is the prefix for the names of all training jobs that this tuning job launches. The name must be unique within the same Amazon Web Services account and Amazon Web Services Region. The name must have 1 to 32 characters. Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name is not case sensitive."
    },
    "HyperParameterTuningJobConfig": {
      "$ref": "#/$defs/HyperParameterTuningJobConfig"
    },
    "TrainingJobDefinition": {
      "$ref": "#/$defs/HyperParameterTrainingJobDefinition"
    },
    "TrainingJobDefinitions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HyperParameterTrainingJobDefinition"
      },
      "description": "A list of the HyperParameterTrainingJobDefinition objects launched for this tuning job."
    },
    "WarmStartConfig": {
      "$ref": "#/$defs/HyperParameterTuningJobWarmStartConfig"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches."
    },
    "Autotune": {
      "$ref": "#/$defs/Autotune"
    }
  },
  "required": [
    "HyperParameterTuningJobName",
    "HyperParameterTuningJobConfig"
  ],
  "$defs": {
    "AutoParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the hyperparameter to optimize using Autotune."
        },
        "ValueHint": {
          "type": "string",
          "description": "An example value of the hyperparameter to optimize using Autotune."
        }
      },
      "required": [
        "Name",
        "ValueHint"
      ]
    },
    "Autotune": {
      "type": "object",
      "properties": {
        "Mode": {
          "type": "string",
          "enum": [
            "Enabled"
          ],
          "description": "Set Mode to Enabled if you want to use Autotune."
        }
      },
      "required": [
        "Mode"
      ]
    },
    "BestObjectiveNotImproving": {
      "type": "object",
      "properties": {
        "MaxNumberOfTrainingJobsNotImproving": {
          "type": "integer",
          "description": "The number of training jobs that have failed to improve model performance by 1% or greater over prior training jobs as evaluated against an objective function."
        }
      }
    },
    "CategoricalParameterRange": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the categorical hyperparameter to tune."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of the categories for the hyperparameter."
        }
      },
      "required": [
        "Name",
        "Values"
      ]
    },
    "Channel": {
      "type": "object",
      "properties": {
        "ChannelName": {
          "type": "string",
          "description": "The name of the channel."
        },
        "DataSource": {
          "$ref": "#/$defs/DataSource"
        },
        "ContentType": {
          "type": "string",
          "description": "The MIME type of the data."
        },
        "CompressionType": {
          "type": "string",
          "enum": [
            "None",
            "Gzip"
          ],
          "description": "If training data is compressed, the compression type. The default value is None. CompressionType is used only in Pipe input mode. In File mode, leave this field unset or set it to None."
        },
        "RecordWrapperType": {
          "type": "string",
          "enum": [
            "None",
            "RecordIO"
          ],
          "description": "Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format. In this case, SageMaker wraps each individual S3 object in a RecordIO record. If the input data is already in RecordIO format, you don't need to set this attribute. For more information, see Create a Dataset Using RecordIO. In File mode, leave this field unset or set it to None."
        },
        "InputMode": {
          "type": "string",
          "enum": [
            "Pipe",
            "File",
            "FastFile"
          ],
          "description": "(Optional) The input mode to use for the data channel in a training job. If you don't set a value for InputMode, SageMaker uses the value set for TrainingInputMode. Use this parameter to override the TrainingInputMode setting in a AlgorithmSpecification request when you have a channel that needs a different input mode from the training job's general setting. To download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned ML storage volume, and mount the directory to a Docker volume, use File input mode. To stream data directly from Amazon S3 to the container, choose Pipe"
        },
        "ShuffleConfig": {
          "$ref": "#/$defs/ShuffleConfig"
        }
      },
      "required": [
        "ChannelName",
        "DataSource"
      ]
    },
    "CheckpointConfig": {
      "type": "object",
      "properties": {
        "S3Uri": {
          "type": "string",
          "description": "Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix."
        },
        "LocalPath": {
          "type": "string",
          "description": "(Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/."
        }
      },
      "required": [
        "S3Uri"
      ]
    },
    "ContinuousParameterRange": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the continuous hyperparameter to tune."
        },
        "MinValue": {
          "type": "string",
          "description": "The minimum value for the hyperparameter. The tuning job uses floating-point values between this value and MaxValuefor tuning."
        },
        "MaxValue": {
          "type": "string",
          "description": "The maximum value for the hyperparameter. The tuning job uses floating-point values between MinValue value and this value for tuning."
        },
        "ScalingType": {
          "type": "string",
          "enum": [
            "Auto",
            "Linear",
            "Logarithmic",
            "ReverseLogarithmic"
          ],
          "description": "The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values: Auto SageMaker hyperparameter tuning chooses the best scale for the hyperparameter. Linear Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale. Logarithmic Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale. Logarithmic scaling works only for ranges that have only values greater than 0. ReverseLogarithmic Hyperparamete"
        }
      },
      "required": [
        "Name",
        "MinValue",
        "MaxValue"
      ]
    },
    "ConvergenceDetected": {
      "type": "object",
      "properties": {
        "CompleteOnConvergence": {
          "type": "string",
          "enum": [
            "Disabled",
            "Enabled"
          ],
          "description": "A flag to stop a tuning job once AMT has detected that the job has converged."
        }
      }
    },
    "DataSource": {
      "type": "object",
      "properties": {
        "S3DataSource": {
          "$ref": "#/$defs/S3DataSource"
        },
        "FileSystemDataSource": {
          "$ref": "#/$defs/FileSystemDataSource"
        },
        "DatasetSource": {
          "$ref": "#/$defs/DatasetSource"
        }
      }
    },
    "DatasetSource": {
      "type": "object",
      "properties": {
        "DatasetArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the dataset resource."
        }
      },
      "required": [
        "DatasetArn"
      ]
    },
    "FileSystemDataSource": {
      "type": "object",
      "properties": {
        "FileSystemId": {
          "type": "string",
          "description": "The file system id."
        },
        "FileSystemAccessMode": {
          "type": "string",
          "enum": [
            "rw",
            "ro"
          ],
          "description": "The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro (read-only) or rw (read-write) mode."
        },
        "FileSystemType": {
          "type": "string",
          "enum": [
            "EFS",
            "FSxLustre"
          ],
          "description": "The file system type."
        },
        "DirectoryPath": {
          "type": "string",
          "description": "The full path to the directory to associate with the channel."
        }
      },
      "required": [
        "FileSystemId",
        "FileSystemAccessMode",
        "FileSystemType",
        "DirectoryPath"
      ]
    },
    "HubAccessConfig": {
      "type": "object",
      "properties": {
        "HubContentArn": {
          "type": "string",
          "description": "The ARN of your private model hub content. This should be a ModelReference resource type that points to a SageMaker JumpStart public hub model."
        }
      },
      "required": [
        "HubContentArn"
      ]
    },
    "HyperParameterAlgorithmSpecification": {
      "type": "object",
      "properties": {
        "TrainingImage": {
          "type": "string",
          "description": "The registry path of the Docker image that contains the training algorithm. For information about Docker registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker."
        },
        "TrainingInputMode": {
          "type": "string",
          "enum": [
            "Pipe",
            "File",
            "FastFile"
          ]
        },
        "AlgorithmName": {
          "type": "string",
          "description": "The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this parameter, do not specify a value for TrainingImage."
        },
        "MetricDefinitions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MetricDefinition"
          },
          "description": "An array of MetricDefinition objects that specify the metrics that the algorithm emits."
        }
      },
      "required": [
        "TrainingInputMode"
      ]
    },
    "HyperParameterTrainingJobDefinition": {
      "type": "object",
      "properties": {
        "DefinitionName": {
          "type": "string",
          "description": "The job definition name."
        },
        "TuningObjective": {
          "$ref": "#/$defs/HyperParameterTuningJobObjective"
        },
        "HyperParameterRanges": {
          "$ref": "#/$defs/ParameterRanges"
        },
        "StaticHyperParameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Specifies the values of hyperparameters that do not change for the tuning job."
        },
        "AlgorithmSpecification": {
          "$ref": "#/$defs/HyperParameterAlgorithmSpecification"
        },
        "RoleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches."
        },
        "InputDataConfig": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Channel"
          },
          "description": "An array of Channel objects that specify the input for the training jobs that the tuning job launches."
        },
        "VpcConfig": {
          "$ref": "#/$defs/VpcConfig"
        },
        "OutputDataConfig": {
          "$ref": "#/$defs/OutputDataConfig"
        },
        "ResourceConfig": {
          "$ref": "#/$defs/ResourceConfig"
        },
        "HyperParameterTuningResourceConfig": {
          "$ref": "#/$defs/HyperParameterTuningResourceConfig"
        },
        "StoppingCondition": {
          "$ref": "#/$defs/StoppingCondition"
        },
        "EnableNetworkIsolation": {
          "type": "boolean",
          "description": "Isolates the training container. No inbound or outbound network calls can be made, except for calls between peers within a training cluster for distributed training. If network isolation is used for training jobs that are configured to use a VPC, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access."
        },
        "EnableInterContainerTrafficEncryption": {
          "type": "boolean",
          "description": "To encrypt all communications between ML compute instances in distributed training, choose True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training."
        },
        "EnableManagedSpotTraining": {
          "type": "boolean",
          "description": "A Boolean indicating whether managed spot training is enabled (True) or not (False)."
        },
        "CheckpointConfig": {
          "$ref": "#/$defs/CheckpointConfig"
        },
        "RetryStrategy": {
          "$ref": "#/$defs/RetryStrategy"
        },
        "Environment": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "An environment variable that you can pass into the SageMaker CreateTrainingJob API. You can use an existing environment variable from the training container or use your own. See Define metrics and variables for more information. The maximum number of items specified for Map Entries refers to the maximum number of environment variables for each TrainingJobDefinition and also the maximum for the hyperparameter tuning job itself. That is, the sum of the number of environment variables for all the training job definitions can't exceed the maximum number specified."
        }
      },
      "required": [
        "AlgorithmSpecification",
        "RoleArn",
        "OutputDataConfig",
        "StoppingCondition"
      ]
    },
    "HyperParameterTuningInstanceConfig": {
      "type": "object",
      "properties": {
        "InstanceType": {
          "type": "string",
          "enum": [
            "ml.m4.xlarge",
            "ml.m4.2xlarge",
            "ml.m4.4xlarge",
            "ml.m4.10xlarge",
            "ml.m4.16xlarge",
            "ml.g4dn.xlarge",
            "ml.g4dn.2xlarge",
            "ml.g4dn.4xlarge",
            "ml.g4dn.8xlarge",
            "ml.g4dn.12xlarge",
            "ml.g4dn.16xlarge",
            "ml.m5.large",
            "ml.m5.xlarge",
            "ml.m5.2xlarge",
            "ml.m5.4xlarge",
            "ml.m5.12xlarge",
            "ml.m5.24xlarge",
            "ml.c4.xlarge",
            "ml.c4.2xlarge",
            "ml.c4.4xlarge",
            "ml.c4.8xlarge",
            "ml.p2.xlarge",
            "ml.p2.8xlarge",
            "ml.p2.16xlarge",
            "ml.p3.2xlarge",
            "ml.p3.8xlarge",
            "ml.p3.16xlarge",
            "ml.p3dn.24xlarge",
            "ml.p4d.24xlarge",
            "ml.p4de.24xlarge",
            "ml.p5.48xlarge",
            "ml.p5e.48xlarge",
            "ml.p5en.48xlarge",
            "ml.c5.xlarge",
            "ml.c5.2xlarge",
            "ml.c5.4xlarge",
            "ml.c5.9xlarge",
            "ml.c5.18xlarge",
            "ml.c5n.xlarge",
            "ml.c5n.2xlarge",
            "ml.c5n.4xlarge",
            "ml.c5n.9xlarge",
            "ml.c5n.18xlarge",
            "ml.g5.xlarge",
            "ml.g5.2xlarge",
            "ml.g5.4xlarge",
            "ml.g5.8xlarge",
            "ml.g5.16xlarge",
            "ml.g5.12xlarge",
            "ml.g5.24xlarge",
            "ml.g5.48xlarge",
            "ml.g6.xlarge",
            "ml.g6.2xlarge",
            "ml.g6.4xlarge",
            "ml.g6.8xlarge",
            "ml.g6.16xlarge",
            "ml.g6.12xlarge",
            "ml.g6.24xlarge",
            "ml.g6.48xlarge",
            "ml.g6e.xlarge",
            "ml.g6e.2xlarge",
            "ml.g6e.4xlarge",
            "ml.g6e.8xlarge",
            "ml.g6e.16xlarge",
            "ml.g6e.12xlarge",
            "ml.g6e.24xlarge",
            "ml.g6e.48xlarge",
            "ml.trn1.2xlarge",
            "ml.trn1.32xlarge",
            "ml.trn1n.32xlarge",
            "ml.trn2.48xlarge",
            "ml.m6i.large",
            "ml.m6i.xlarge",
            "ml.m6i.2xlarge",
            "ml.m6i.4xlarge",
            "ml.m6i.8xlarge",
            "ml.m6i.12xlarge",
            "ml.m6i.16xlarge",
            "ml.m6i.24xlarge",
            "ml.m6i.32xlarge",
            "ml.c6i.xlarge",
            "ml.c6i.2xlarge",
            "ml.c6i.8xlarge",
            "ml.c6i.4xlarge",
            "ml.c6i.12xlarge",
            "ml.c6i.16xlarge",
            "ml.c6i.24xlarge",
            "ml.c6i.32xlarge",
            "ml.r5d.large",
            "ml.r5d.xlarge",
            "ml.r5d.2xlarge",
            "ml.r5d.4xlarge",
            "ml.r5d.8xlarge",
            "ml.r5d.12xlarge",
            "ml.r5d.16xlarge",
            "ml.r5d.24xlarge",
            "ml.t3.medium",
            "ml.t3.large",
            "ml.t3.xlarge",
            "ml.t3.2xlarge",
            "ml.r5.large",
            "ml.r5.xlarge",
            "ml.r5.2xlarge",
            "ml.r5.4xlarge",
            "ml.r5.8xlarge",
            "ml.r5.12xlarge",
            "ml.r5.16xlarge",
            "ml.r5.24xlarge",
            "ml.p6-b200.48xlarge",
            "ml.m7i.large",
            "ml.m7i.xlarge",
            "ml.m7i.2xlarge",
            "ml.m7i.4xlarge",
            "ml.m7i.8xlarge",
            "ml.m7i.12xlarge",
            "ml.m7i.16xlarge",
            "ml.m7i.24xlarge",
            "ml.m7i.48xlarge",
            "ml.c7i.large",
            "ml.c7i.xlarge",
            "ml.c7i.2xlarge",
            "ml.c7i.4xlarge",
            "ml.c7i.8xlarge",
            "ml.c7i.12xlarge",
            "ml.c7i.16xlarge",
            "ml.c7i.24xlarge",
            "ml.c7i.48xlarge",
            "ml.r7i.large",
            "ml.r7i.xlarge",
            "ml.r7i.2xlarge",
            "ml.r7i.4xlarge",
            "ml.r7i.8xlarge",
            "ml.r7i.12xlarge",
            "ml.r7i.16xlarge",
            "ml.r7i.24xlarge",
            "ml.r7i.48xlarge",
            "ml.p6e-gb200.36xlarge",
            "ml.p5.4xlarge",
            "ml.p6-b300.48xlarge",
            "ml.g7e.2xlarge",
            "ml.g7e.4xlarge",
            "ml.g7e.8xlarge",
            "ml.g7e.12xlarge",
            "ml.g7e.24xlarge",
            "ml.g7e.48xlarge",
            "ml.g7.2xlarge",
            "ml.g7.4xlarge",
            "ml.g7.8xlarge",
            "ml.g7.12xlarge",
            "ml.g7.24xlarge",
            "ml.g7.48xlarge",
            "ml.r6i.large",
            "ml.r6i.xlarge",
            "ml.r6i.2xlarge",
            "ml.r6i.4xlarge",
            "ml.r6i.8xlarge",
            "ml.r6i.12xlarge",
            "ml.r6i.16xlarge",
            "ml.r6i.24xlarge",
            "ml.r6i.32xlarge",
            "ml.m8i.large",
            "ml.m8i.xlarge",
            "ml.m8i.2xlarge",
            "ml.m8i.4xlarge",
            "ml.m8i.8xlarge",
            "ml.m8i.12xlarge",
            "ml.m8i.16xlarge",
            "ml.m8i.24xlarge",
            "ml.m8i.32xlarge",
            "ml.m8i.48xlarge",
            "ml.m8i.96xlarge",
            "ml.c8i.xlarge",
            "ml.c8i.2xlarge",
            "ml.c8i.4xlarge",
            "ml.c8i.8xlarge",
            "ml.c8i.12xlarge",
            "ml.c8i.16xlarge",
            "ml.c8i.24xlarge",
            "ml.c8i.32xlarge",
            "ml.c8i.48xlarge",
            "ml.c8i.96xlarge",
            "ml.r8i.large",
            "ml.r8i.xlarge",
            "ml.r8i.2xlarge",
            "ml.r8i.4xlarge",
            "ml.r8i.8xlarge",
            "ml.r8i.12xlarge",
            "ml.r8i.16xlarge",
            "ml.r8i.24xlarge",
            "ml.r8i.32xlarge",
            "ml.r8i.48xlarge",
            "ml.r8i.96xlarge",
            "ml.m7i-flex.large",
            "ml.m7i-flex.xlarge",
            "ml.m7i-flex.2xlarge",
            "ml.m7i-flex.4xlarge",
            "ml.m7i-flex.8xlarge",
            "ml.m7i-flex.12xlarge",
            "ml.m7i-flex.16xlarge",
            "ml.c7i-flex.xlarge",
            "ml.c7i-flex.2xlarge",
            "ml.c7i-flex.4xlarge",
            "ml.c7i-flex.8xlarge",
            "ml.c7i-flex.12xlarge",
            "ml.c7i-flex.16xlarge",
            "ml.m8i-flex.large",
            "ml.m8i-flex.xlarge",
            "ml.m8i-flex.2xlarge",
            "ml.m8i-flex.4xlarge",
            "ml.m8i-flex.8xlarge",
            "ml.m8i-flex.12xlarge",
            "ml.m8i-flex.16xlarge",
            "ml.c8i-flex.xlarge",
            "ml.c8i-flex.2xlarge",
            "ml.c8i-flex.4xlarge",
            "ml.c8i-flex.8xlarge",
            "ml.c8i-flex.12xlarge",
            "ml.c8i-flex.16xlarge",
            "ml.r8i-flex.large",
            "ml.r8i-flex.xlarge",
            "ml.r8i-flex.2xlarge",
            "ml.r8i-flex.4xlarge",
            "ml.r8i-flex.8xlarge",
            "ml.r8i-flex.12xlarge",
            "ml.r8i-flex.16xlarge"
          ],
          "description": "The instance type used for processing of hyperparameter optimization jobs. Choose from general purpose (no GPUs) instance types: ml.m5.xlarge, ml.m5.2xlarge, and ml.m5.4xlarge or compute optimized (no GPUs) instance types: ml.c5.xlarge and ml.c5.2xlarge. For more information about instance types, see instance type descriptions."
        },
        "InstanceCount": {
          "type": "integer",
          "description": "The number of instances of the type specified by InstanceType. Choose an instance count larger than 1 for distributed training algorithms. See Step 2: Launch a SageMaker Distributed Training Job Using the SageMaker Python SDK for more information."
        },
        "VolumeSizeInGB": {
          "type": "integer",
          "description": "The volume size in GB of the data to be processed for hyperparameter optimization (optional)."
        }
      },
      "required": [
        "InstanceType",
        "InstanceCount",
        "VolumeSizeInGB"
      ]
    },
    "HyperParameterTuningJobConfig": {
      "type": "object",
      "properties": {
        "Strategy": {
          "type": "string",
          "enum": [
            "Bayesian",
            "Random",
            "Hyperband",
            "Grid"
          ],
          "description": "Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job it launches. For information about search strategies, see How Hyperparameter Tuning Works."
        },
        "StrategyConfig": {
          "$ref": "#/$defs/HyperParameterTuningJobStrategyConfig"
        },
        "HyperParameterTuningJobObjective": {
          "$ref": "#/$defs/HyperParameterTuningJobObjective"
        },
        "ResourceLimits": {
          "$ref": "#/$defs/ResourceLimits"
        },
        "ParameterRanges": {
          "$ref": "#/$defs/ParameterRanges"
        },
        "TrainingJobEarlyStoppingType": {
          "type": "string",
          "enum": [
            "Off",
            "Auto"
          ],
          "description": "Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. Because the Hyperband strategy has its own advanced internal early stopping mechanism, TrainingJobEarlyStoppingType must be OFF to use Hyperband. This parameter can take on one of the following values (the default value is OFF): OFF Training jobs launched by the hyperparameter tuning job do not use early stopping. AUTO SageMaker stops training jobs launched by the hyperparameter tuning job when they are unlikely to perform better than previously completed training jobs. For more information, se"
        },
        "TuningJobCompletionCriteria": {
          "$ref": "#/$defs/TuningJobCompletionCriteria"
        },
        "RandomSeed": {
          "type": "integer",
          "description": "A value used to initialize a pseudo-random number generator. Setting a random seed and using the same seed later for the same tuning job will allow hyperparameter optimization to find more a consistent hyperparameter configuration between the two runs."
        }
      },
      "required": [
        "Strategy",
        "ResourceLimits"
      ]
    },
    "HyperParameterTuningJobObjective": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "Maximize",
            "Minimize"
          ],
          "description": "Whether to minimize or maximize the objective metric."
        },
        "MetricName": {
          "type": "string",
          "description": "The name of the metric to use for the objective metric."
        }
      },
      "required": [
        "Type",
        "MetricName"
      ]
    },
    "HyperParameterTuningJobStrategyConfig": {
      "type": "object",
      "properties": {
        "HyperbandStrategyConfig": {
          "$ref": "#/$defs/HyperbandStrategyConfig"
        }
      }
    },
    "HyperParameterTuningJobWarmStartConfig": {
      "type": "object",
      "properties": {
        "ParentHyperParameterTuningJobs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ParentHyperParameterTuningJob"
          },
          "description": "An array of hyperparameter tuning jobs that are used as the starting point for the new hyperparameter tuning job. For more information about warm starting a hyperparameter tuning job, see Using a Previous Hyperparameter Tuning Job as a Starting Point. Hyperparameter tuning jobs created before October 1, 2018 cannot be used as parent jobs for warm start tuning jobs."
        },
        "WarmStartType": {
          "type": "string",
          "enum": [
            "IdenticalDataAndAlgorithm",
            "TransferLearning"
          ],
          "description": "Specifies one of the following: IDENTICAL_DATA_AND_ALGORITHM The new hyperparameter tuning job uses the same input data and training image as the parent tuning jobs. You can change the hyperparameter ranges to search and the maximum number of training jobs that the hyperparameter tuning job launches. You cannot use a new version of the training algorithm, unless the changes in the new version do not affect the algorithm itself. For example, changes that improve logging or adding support for a different data format are allowed. You can also change hyperparameters from tunable to static, and fro"
        }
      },
      "required": [
        "ParentHyperParameterTuningJobs",
        "WarmStartType"
      ]
    },
    "HyperParameterTuningResourceConfig": {
      "type": "object",
      "properties": {
        "InstanceType": {
          "type": "string",
          "enum": [
            "ml.m4.xlarge",
            "ml.m4.2xlarge",
            "ml.m4.4xlarge",
            "ml.m4.10xlarge",
            "ml.m4.16xlarge",
            "ml.g4dn.xlarge",
            "ml.g4dn.2xlarge",
            "ml.g4dn.4xlarge",
            "ml.g4dn.8xlarge",
            "ml.g4dn.12xlarge",
            "ml.g4dn.16xlarge",
            "ml.m5.large",
            "ml.m5.xlarge",
            "ml.m5.2xlarge",
            "ml.m5.4xlarge",
            "ml.m5.12xlarge",
            "ml.m5.24xlarge",
            "ml.c4.xlarge",
            "ml.c4.2xlarge",
            "ml.c4.4xlarge",
            "ml.c4.8xlarge",
            "ml.p2.xlarge",
            "ml.p2.8xlarge",
            "ml.p2.16xlarge",
            "ml.p3.2xlarge",
            "ml.p3.8xlarge",
            "ml.p3.16xlarge",
            "ml.p3dn.24xlarge",
            "ml.p4d.24xlarge",
            "ml.p4de.24xlarge",
            "ml.p5.48xlarge",
            "ml.p5e.48xlarge",
            "ml.p5en.48xlarge",
            "ml.c5.xlarge",
            "ml.c5.2xlarge",
            "ml.c5.4xlarge",
            "ml.c5.9xlarge",
            "ml.c5.18xlarge",
            "ml.c5n.xlarge",
            "ml.c5n.2xlarge",
            "ml.c5n.4xlarge",
            "ml.c5n.9xlarge",
            "ml.c5n.18xlarge",
            "ml.g5.xlarge",
            "ml.g5.2xlarge",
            "ml.g5.4xlarge",
            "ml.g5.8xlarge",
            "ml.g5.16xlarge",
            "ml.g5.12xlarge",
            "ml.g5.24xlarge",
            "ml.g5.48xlarge",
            "ml.g6.xlarge",
            "ml.g6.2xlarge",
            "ml.g6.4xlarge",
            "ml.g6.8xlarge",
            "ml.g6.16xlarge",
            "ml.g6.12xlarge",
            "ml.g6.24xlarge",
            "ml.g6.48xlarge",
            "ml.g6e.xlarge",
            "ml.g6e.2xlarge",
            "ml.g6e.4xlarge",
            "ml.g6e.8xlarge",
            "ml.g6e.16xlarge",
            "ml.g6e.12xlarge",
            "ml.g6e.24xlarge",
            "ml.g6e.48xlarge",
            "ml.trn1.2xlarge",
            "ml.trn1.32xlarge",
            "ml.trn1n.32xlarge",
            "ml.trn2.48xlarge",
            "ml.m6i.large",
            "ml.m6i.xlarge",
            "ml.m6i.2xlarge",
            "ml.m6i.4xlarge",
            "ml.m6i.8xlarge",
            "ml.m6i.12xlarge",
            "ml.m6i.16xlarge",
            "ml.m6i.24xlarge",
            "ml.m6i.32xlarge",
            "ml.c6i.xlarge",
            "ml.c6i.2xlarge",
            "ml.c6i.8xlarge",
            "ml.c6i.4xlarge",
            "ml.c6i.12xlarge",
            "ml.c6i.16xlarge",
            "ml.c6i.24xlarge",
            "ml.c6i.32xlarge",
            "ml.r5d.large",
            "ml.r5d.xlarge",
            "ml.r5d.2xlarge",
            "ml.r5d.4xlarge",
            "ml.r5d.8xlarge",
            "ml.r5d.12xlarge",
            "ml.r5d.16xlarge",
            "ml.r5d.24xlarge",
            "ml.t3.medium",
            "ml.t3.large",
            "ml.t3.xlarge",
            "ml.t3.2xlarge",
            "ml.r5.large",
            "ml.r5.xlarge",
            "ml.r5.2xlarge",
            "ml.r5.4xlarge",
            "ml.r5.8xlarge",
            "ml.r5.12xlarge",
            "ml.r5.16xlarge",
            "ml.r5.24xlarge",
            "ml.p6-b200.48xlarge",
            "ml.m7i.large",
            "ml.m7i.xlarge",
            "ml.m7i.2xlarge",
            "ml.m7i.4xlarge",
            "ml.m7i.8xlarge",
            "ml.m7i.12xlarge",
            "ml.m7i.16xlarge",
            "ml.m7i.24xlarge",
            "ml.m7i.48xlarge",
            "ml.c7i.large",
            "ml.c7i.xlarge",
            "ml.c7i.2xlarge",
            "ml.c7i.4xlarge",
            "ml.c7i.8xlarge",
            "ml.c7i.12xlarge",
            "ml.c7i.16xlarge",
            "ml.c7i.24xlarge",
            "ml.c7i.48xlarge",
            "ml.r7i.large",
            "ml.r7i.xlarge",
            "ml.r7i.2xlarge",
            "ml.r7i.4xlarge",
            "ml.r7i.8xlarge",
            "ml.r7i.12xlarge",
            "ml.r7i.16xlarge",
            "ml.r7i.24xlarge",
            "ml.r7i.48xlarge",
            "ml.p6e-gb200.36xlarge",
            "ml.p5.4xlarge",
            "ml.p6-b300.48xlarge",
            "ml.g7e.2xlarge",
            "ml.g7e.4xlarge",
            "ml.g7e.8xlarge",
            "ml.g7e.12xlarge",
            "ml.g7e.24xlarge",
            "ml.g7e.48xlarge",
            "ml.g7.2xlarge",
            "ml.g7.4xlarge",
            "ml.g7.8xlarge",
            "ml.g7.12xlarge",
            "ml.g7.24xlarge",
            "ml.g7.48xlarge",
            "ml.r6i.large",
            "ml.r6i.xlarge",
            "ml.r6i.2xlarge",
            "ml.r6i.4xlarge",
            "ml.r6i.8xlarge",
            "ml.r6i.12xlarge",
            "ml.r6i.16xlarge",
            "ml.r6i.24xlarge",
            "ml.r6i.32xlarge",
            "ml.m8i.large",
            "ml.m8i.xlarge",
            "ml.m8i.2xlarge",
            "ml.m8i.4xlarge",
            "ml.m8i.8xlarge",
            "ml.m8i.12xlarge",
            "ml.m8i.16xlarge",
            "ml.m8i.24xlarge",
            "ml.m8i.32xlarge",
            "ml.m8i.48xlarge",
            "ml.m8i.96xlarge",
            "ml.c8i.xlarge",
            "ml.c8i.2xlarge",
            "ml.c8i.4xlarge",
            "ml.c8i.8xlarge",
            "ml.c8i.12xlarge",
            "ml.c8i.16xlarge",
            "ml.c8i.24xlarge",
            "ml.c8i.32xlarge",
            "ml.c8i.48xlarge",
            "ml.c8i.96xlarge",
            "ml.r8i.large",
            "ml.r8i.xlarge",
            "ml.r8i.2xlarge",
            "ml.r8i.4xlarge",
            "ml.r8i.8xlarge",
            "ml.r8i.12xlarge",
            "ml.r8i.16xlarge",
            "ml.r8i.24xlarge",
            "ml.r8i.32xlarge",
            "ml.r8i.48xlarge",
            "ml.r8i.96xlarge",
            "ml.m7i-flex.large",
            "ml.m7i-flex.xlarge",
            "ml.m7i-flex.2xlarge",
            "ml.m7i-flex.4xlarge",
            "ml.m7i-flex.8xlarge",
            "ml.m7i-flex.12xlarge",
            "ml.m7i-flex.16xlarge",
            "ml.c7i-flex.xlarge",
            "ml.c7i-flex.2xlarge",
            "ml.c7i-flex.4xlarge",
            "ml.c7i-flex.8xlarge",
            "ml.c7i-flex.12xlarge",
            "ml.c7i-flex.16xlarge",
            "ml.m8i-flex.large",
            "ml.m8i-flex.xlarge",
            "ml.m8i-flex.2xlarge",
            "ml.m8i-flex.4xlarge",
            "ml.m8i-flex.8xlarge",
            "ml.m8i-flex.12xlarge",
            "ml.m8i-flex.16xlarge",
            "ml.c8i-flex.xlarge",
            "ml.c8i-flex.2xlarge",
            "ml.c8i-flex.4xlarge",
            "ml.c8i-flex.8xlarge",
            "ml.c8i-flex.12xlarge",
            "ml.c8i-flex.16xlarge",
            "ml.r8i-flex.large",
            "ml.r8i-flex.xlarge",
            "ml.r8i-flex.2xlarge",
            "ml.r8i-flex.4xlarge",
            "ml.r8i-flex.8xlarge",
            "ml.r8i-flex.12xlarge",
            "ml.r8i-flex.16xlarge"
          ],
          "description": "The instance type used to run hyperparameter optimization tuning jobs. See descriptions of instance types for more information."
        },
        "InstanceCount": {
          "type": "integer",
          "description": "The number of compute instances of type InstanceType to use. For distributed training, select a value greater than 1."
        },
        "VolumeSizeInGB": {
          "type": "integer",
          "description": "The volume size in GB for the storage volume to be used in processing hyperparameter optimization jobs (optional). These volumes store model artifacts, incremental states and optionally, scratch space for training algorithms. Do not provide a value for this parameter if a value for InstanceConfigs is also specified. Some instance types have a fixed total local storage size. If you select one of these instances for training, VolumeSizeInGB cannot be greater than this total size. For a list of instance types with local instance storage and their sizes, see instance store volumes. SageMaker suppo"
        },
        "VolumeKmsKeyId": {
          "type": "string",
          "description": "A key used by Amazon Web Services Key Management Service to encrypt data on the storage volume attached to the compute instances used to run the training job. You can use either of the following formats to specify a key. KMS Key ID: \"1234abcd-12ab-34cd-56ef-1234567890ab\" Amazon Resource Name (ARN) of a KMS key: \"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\" Some instances use local storage, which use a hardware module to encrypt storage volumes. If you choose one of these instance types, you cannot request a VolumeKmsKeyId. For a list of instance types that use l"
        },
        "AllocationStrategy": {
          "type": "string",
          "enum": [
            "Prioritized"
          ],
          "description": "The strategy that determines the order of preference for resources specified in InstanceConfigs used in hyperparameter optimization."
        },
        "InstanceConfigs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HyperParameterTuningInstanceConfig"
          },
          "description": "A list containing the configuration(s) for one or more resources for processing hyperparameter jobs. These resources include compute instances and storage volumes to use in model training jobs launched by hyperparameter tuning jobs. The AllocationStrategy controls the order in which multiple configurations provided in InstanceConfigs are used. If you only want to use a single instance configuration inside the HyperParameterTuningResourceConfig API, do not provide a value for InstanceConfigs. Instead, use InstanceType, VolumeSizeInGB and InstanceCount. If you use InstanceConfigs, do not provide"
        }
      }
    },
    "HyperbandStrategyConfig": {
      "type": "object",
      "properties": {
        "MinResource": {
          "type": "integer",
          "description": "The minimum number of resources (such as epochs) that can be used by a training job launched by a hyperparameter tuning job. If the value for MinResource has not been reached, the training job is not stopped by Hyperband."
        },
        "MaxResource": {
          "type": "integer",
          "description": "The maximum number of resources (such as epochs) that can be used by a training job launched by a hyperparameter tuning job. Once a job reaches the MaxResource value, it is stopped. If a value for MaxResource is not provided, and Hyperband is selected as the hyperparameter tuning strategy, HyperbandTraining attempts to infer MaxResource from the following keys (if present) in StaticsHyperParameters: epochs numepochs n-epochs n_epochs num_epochs If HyperbandStrategyConfig is unable to infer a value for MaxResource, it generates a validation error. The maximum value is 20,000 epochs. All metrics"
        }
      }
    },
    "InstanceGroup": {
      "type": "object",
      "properties": {
        "InstanceType": {
          "type": "string",
          "enum": [
            "ml.m4.xlarge",
            "ml.m4.2xlarge",
            "ml.m4.4xlarge",
            "ml.m4.10xlarge",
            "ml.m4.16xlarge",
            "ml.g4dn.xlarge",
            "ml.g4dn.2xlarge",
            "ml.g4dn.4xlarge",
            "ml.g4dn.8xlarge",
            "ml.g4dn.12xlarge",
            "ml.g4dn.16xlarge",
            "ml.m5.large",
            "ml.m5.xlarge",
            "ml.m5.2xlarge",
            "ml.m5.4xlarge",
            "ml.m5.12xlarge",
            "ml.m5.24xlarge",
            "ml.c4.xlarge",
            "ml.c4.2xlarge",
            "ml.c4.4xlarge",
            "ml.c4.8xlarge",
            "ml.p2.xlarge",
            "ml.p2.8xlarge",
            "ml.p2.16xlarge",
            "ml.p3.2xlarge",
            "ml.p3.8xlarge",
            "ml.p3.16xlarge",
            "ml.p3dn.24xlarge",
            "ml.p4d.24xlarge",
            "ml.p4de.24xlarge",
            "ml.p5.48xlarge",
            "ml.p5e.48xlarge",
            "ml.p5en.48xlarge",
            "ml.c5.xlarge",
            "ml.c5.2xlarge",
            "ml.c5.4xlarge",
            "ml.c5.9xlarge",
            "ml.c5.18xlarge",
            "ml.c5n.xlarge",
            "ml.c5n.2xlarge",
            "ml.c5n.4xlarge",
            "ml.c5n.9xlarge",
            "ml.c5n.18xlarge",
            "ml.g5.xlarge",
            "ml.g5.2xlarge",
            "ml.g5.4xlarge",
            "ml.g5.8xlarge",
            "ml.g5.16xlarge",
            "ml.g5.12xlarge",
            "ml.g5.24xlarge",
            "ml.g5.48xlarge",
            "ml.g6.xlarge",
            "ml.g6.2xlarge",
            "ml.g6.4xlarge",
            "ml.g6.8xlarge",
            "ml.g6.16xlarge",
            "ml.g6.12xlarge",
            "ml.g6.24xlarge",
            "ml.g6.48xlarge",
            "ml.g6e.xlarge",
            "ml.g6e.2xlarge",
            "ml.g6e.4xlarge",
            "ml.g6e.8xlarge",
            "ml.g6e.16xlarge",
            "ml.g6e.12xlarge",
            "ml.g6e.24xlarge",
            "ml.g6e.48xlarge",
            "ml.trn1.2xlarge",
            "ml.trn1.32xlarge",
            "ml.trn1n.32xlarge",
            "ml.trn2.48xlarge",
            "ml.m6i.large",
            "ml.m6i.xlarge",
            "ml.m6i.2xlarge",
            "ml.m6i.4xlarge",
            "ml.m6i.8xlarge",
            "ml.m6i.12xlarge",
            "ml.m6i.16xlarge",
            "ml.m6i.24xlarge",
            "ml.m6i.32xlarge",
            "ml.c6i.xlarge",
            "ml.c6i.2xlarge",
            "ml.c6i.8xlarge",
            "ml.c6i.4xlarge",
            "ml.c6i.12xlarge",
            "ml.c6i.16xlarge",
            "ml.c6i.24xlarge",
            "ml.c6i.32xlarge",
            "ml.r5d.large",
            "ml.r5d.xlarge",
            "ml.r5d.2xlarge",
            "ml.r5d.4xlarge",
            "ml.r5d.8xlarge",
            "ml.r5d.12xlarge",
            "ml.r5d.16xlarge",
            "ml.r5d.24xlarge",
            "ml.t3.medium",
            "ml.t3.large",
            "ml.t3.xlarge",
            "ml.t3.2xlarge",
            "ml.r5.large",
            "ml.r5.xlarge",
            "ml.r5.2xlarge",
            "ml.r5.4xlarge",
            "ml.r5.8xlarge",
            "ml.r5.12xlarge",
            "ml.r5.16xlarge",
            "ml.r5.24xlarge",
            "ml.p6-b200.48xlarge",
            "ml.m7i.large",
            "ml.m7i.xlarge",
            "ml.m7i.2xlarge",
            "ml.m7i.4xlarge",
            "ml.m7i.8xlarge",
            "ml.m7i.12xlarge",
            "ml.m7i.16xlarge",
            "ml.m7i.24xlarge",
            "ml.m7i.48xlarge",
            "ml.c7i.large",
            "ml.c7i.xlarge",
            "ml.c7i.2xlarge",
            "ml.c7i.4xlarge",
            "ml.c7i.8xlarge",
            "ml.c7i.12xlarge",
            "ml.c7i.16xlarge",
            "ml.c7i.24xlarge",
            "ml.c7i.48xlarge",
            "ml.r7i.large",
            "ml.r7i.xlarge",
            "ml.r7i.2xlarge",
            "ml.r7i.4xlarge",
            "ml.r7i.8xlarge",
            "ml.r7i.12xlarge",
            "ml.r7i.16xlarge",
            "ml.r7i.24xlarge",
            "ml.r7i.48xlarge",
            "ml.p6e-gb200.36xlarge",
            "ml.p5.4xlarge",
            "ml.p6-b300.48xlarge",
            "ml.g7e.2xlarge",
            "ml.g7e.4xlarge",
            "ml.g7e.8xlarge",
            "ml.g7e.12xlarge",
            "ml.g7e.24xlarge",
            "ml.g7e.48xlarge",
            "ml.g7.2xlarge",
            "ml.g7.4xlarge",
            "ml.g7.8xlarge",
            "ml.g7.12xlarge",
            "ml.g7.24xlarge",
            "ml.g7.48xlarge",
            "ml.r6i.large",
            "ml.r6i.xlarge",
            "ml.r6i.2xlarge",
            "ml.r6i.4xlarge",
            "ml.r6i.8xlarge",
            "ml.r6i.12xlarge",
            "ml.r6i.16xlarge",
            "ml.r6i.24xlarge",
            "ml.r6i.32xlarge",
            "ml.m8i.large",
            "ml.m8i.xlarge",
            "ml.m8i.2xlarge",
            "ml.m8i.4xlarge",
            "ml.m8i.8xlarge",
            "ml.m8i.12xlarge",
            "ml.m8i.16xlarge",
            "ml.m8i.24xlarge",
            "ml.m8i.32xlarge",
            "ml.m8i.48xlarge",
            "ml.m8i.96xlarge",
            "ml.c8i.xlarge",
            "ml.c8i.2xlarge",
            "ml.c8i.4xlarge",
            "ml.c8i.8xlarge",
            "ml.c8i.12xlarge",
            "ml.c8i.16xlarge",
            "ml.c8i.24xlarge",
            "ml.c8i.32xlarge",
            "ml.c8i.48xlarge",
            "ml.c8i.96xlarge",
            "ml.r8i.large",
            "ml.r8i.xlarge",
            "ml.r8i.2xlarge",
            "ml.r8i.4xlarge",
            "ml.r8i.8xlarge",
            "ml.r8i.12xlarge",
            "ml.r8i.16xlarge",
            "ml.r8i.24xlarge",
            "ml.r8i.32xlarge",
            "ml.r8i.48xlarge",
            "ml.r8i.96xlarge",
            "ml.m7i-flex.large",
            "ml.m7i-flex.xlarge",
            "ml.m7i-flex.2xlarge",
            "ml.m7i-flex.4xlarge",
            "ml.m7i-flex.8xlarge",
            "ml.m7i-flex.12xlarge",
            "ml.m7i-flex.16xlarge",
            "ml.c7i-flex.xlarge",
            "ml.c7i-flex.2xlarge",
            "ml.c7i-flex.4xlarge",
            "ml.c7i-flex.8xlarge",
            "ml.c7i-flex.12xlarge",
            "ml.c7i-flex.16xlarge",
            "ml.m8i-flex.large",
            "ml.m8i-flex.xlarge",
            "ml.m8i-flex.2xlarge",
            "ml.m8i-flex.4xlarge",
            "ml.m8i-flex.8xlarge",
            "ml.m8i-flex.12xlarge",
            "ml.m8i-flex.16xlarge",
            "ml.c8i-flex.xlarge",
            "ml.c8i-flex.2xlarge",
            "ml.c8i-flex.4xlarge",
            "ml.c8i-flex.8xlarge",
            "ml.c8i-flex.12xlarge",
            "ml.c8i-flex.16xlarge",
            "ml.r8i-flex.large",
            "ml.r8i-flex.xlarge",
            "ml.r8i-flex.2xlarge",
            "ml.r8i-flex.4xlarge",
            "ml.r8i-flex.8xlarge",
            "ml.r8i-flex.12xlarge",
            "ml.r8i-flex.16xlarge"
          ],
          "description": "Specifies the instance type of the instance group."
        },
        "InstanceCount": {
          "type": "integer",
          "description": "Specifies the number of instances of the instance group."
        },
        "InstanceGroupName": {
          "type": "string",
          "description": "Specifies the name of the instance group."
        }
      },
      "required": [
        "InstanceType",
        "InstanceCount",
        "InstanceGroupName"
      ]
    },
    "InstancePlacementConfig": {
      "type": "object",
      "properties": {
        "EnableMultipleJobs": {
          "type": "boolean",
          "description": "If set to true, allows multiple jobs to share the same UltraServer instances. If set to false, ensures this job's instances are placed on an UltraServer exclusively, with no other jobs sharing the same UltraServer. Default is false."
        },
        "PlacementSpecifications": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PlacementSpecification"
          },
          "description": "A list of specifications for how instances should be placed on specific UltraServers. Maximum of 10 items is supported."
        }
      }
    },
    "InstancePreference": {
      "type": "object",
      "properties": {
        "InstanceType": {
          "type": "string",
          "enum": [
            "ml.m4.xlarge",
            "ml.m4.2xlarge",
            "ml.m4.4xlarge",
            "ml.m4.10xlarge",
            "ml.m4.16xlarge",
            "ml.g4dn.xlarge",
            "ml.g4dn.2xlarge",
            "ml.g4dn.4xlarge",
            "ml.g4dn.8xlarge",
            "ml.g4dn.12xlarge",
            "ml.g4dn.16xlarge",
            "ml.m5.large",
            "ml.m5.xlarge",
            "ml.m5.2xlarge",
            "ml.m5.4xlarge",
            "ml.m5.12xlarge",
            "ml.m5.24xlarge",
            "ml.c4.xlarge",
            "ml.c4.2xlarge",
            "ml.c4.4xlarge",
            "ml.c4.8xlarge",
            "ml.p2.xlarge",
            "ml.p2.8xlarge",
            "ml.p2.16xlarge",
            "ml.p3.2xlarge",
            "ml.p3.8xlarge",
            "ml.p3.16xlarge",
            "ml.p3dn.24xlarge",
            "ml.p4d.24xlarge",
            "ml.p4de.24xlarge",
            "ml.p5.48xlarge",
            "ml.p5e.48xlarge",
            "ml.p5en.48xlarge",
            "ml.c5.xlarge",
            "ml.c5.2xlarge",
            "ml.c5.4xlarge",
            "ml.c5.9xlarge",
            "ml.c5.18xlarge",
            "ml.c5n.xlarge",
            "ml.c5n.2xlarge",
            "ml.c5n.4xlarge",
            "ml.c5n.9xlarge",
            "ml.c5n.18xlarge",
            "ml.g5.xlarge",
            "ml.g5.2xlarge",
            "ml.g5.4xlarge",
            "ml.g5.8xlarge",
            "ml.g5.16xlarge",
            "ml.g5.12xlarge",
            "ml.g5.24xlarge",
            "ml.g5.48xlarge",
            "ml.g6.xlarge",
            "ml.g6.2xlarge",
            "ml.g6.4xlarge",
            "ml.g6.8xlarge",
            "ml.g6.16xlarge",
            "ml.g6.12xlarge",
            "ml.g6.24xlarge",
            "ml.g6.48xlarge",
            "ml.g6e.xlarge",
            "ml.g6e.2xlarge",
            "ml.g6e.4xlarge",
            "ml.g6e.8xlarge",
            "ml.g6e.16xlarge",
            "ml.g6e.12xlarge",
            "ml.g6e.24xlarge",
            "ml.g6e.48xlarge",
            "ml.trn1.2xlarge",
            "ml.trn1.32xlarge",
            "ml.trn1n.32xlarge",
            "ml.trn2.48xlarge",
            "ml.m6i.large",
            "ml.m6i.xlarge",
            "ml.m6i.2xlarge",
            "ml.m6i.4xlarge",
            "ml.m6i.8xlarge",
            "ml.m6i.12xlarge",
            "ml.m6i.16xlarge",
            "ml.m6i.24xlarge",
            "ml.m6i.32xlarge",
            "ml.c6i.xlarge",
            "ml.c6i.2xlarge",
            "ml.c6i.8xlarge",
            "ml.c6i.4xlarge",
            "ml.c6i.12xlarge",
            "ml.c6i.16xlarge",
            "ml.c6i.24xlarge",
            "ml.c6i.32xlarge",
            "ml.r5d.large",
            "ml.r5d.xlarge",
            "ml.r5d.2xlarge",
            "ml.r5d.4xlarge",
            "ml.r5d.8xlarge",
            "ml.r5d.12xlarge",
            "ml.r5d.16xlarge",
            "ml.r5d.24xlarge",
            "ml.t3.medium",
            "ml.t3.large",
            "ml.t3.xlarge",
            "ml.t3.2xlarge",
            "ml.r5.large",
            "ml.r5.xlarge",
            "ml.r5.2xlarge",
            "ml.r5.4xlarge",
            "ml.r5.8xlarge",
            "ml.r5.12xlarge",
            "ml.r5.16xlarge",
            "ml.r5.24xlarge",
            "ml.p6-b200.48xlarge",
            "ml.m7i.large",
            "ml.m7i.xlarge",
            "ml.m7i.2xlarge",
            "ml.m7i.4xlarge",
            "ml.m7i.8xlarge",
            "ml.m7i.12xlarge",
            "ml.m7i.16xlarge",
            "ml.m7i.24xlarge",
            "ml.m7i.48xlarge",
            "ml.c7i.large",
            "ml.c7i.xlarge",
            "ml.c7i.2xlarge",
            "ml.c7i.4xlarge",
            "ml.c7i.8xlarge",
            "ml.c7i.12xlarge",
            "ml.c7i.16xlarge",
            "ml.c7i.24xlarge",
            "ml.c7i.48xlarge",
            "ml.r7i.large",
            "ml.r7i.xlarge",
            "ml.r7i.2xlarge",
            "ml.r7i.4xlarge",
            "ml.r7i.8xlarge",
            "ml.r7i.12xlarge",
            "ml.r7i.16xlarge",
            "ml.r7i.24xlarge",
            "ml.r7i.48xlarge",
            "ml.p6e-gb200.36xlarge",
            "ml.p5.4xlarge",
            "ml.p6-b300.48xlarge",
            "ml.g7e.2xlarge",
            "ml.g7e.4xlarge",
            "ml.g7e.8xlarge",
            "ml.g7e.12xlarge",
            "ml.g7e.24xlarge",
            "ml.g7e.48xlarge",
            "ml.g7.2xlarge",
            "ml.g7.4xlarge",
            "ml.g7.8xlarge",
            "ml.g7.12xlarge",
            "ml.g7.24xlarge",
            "ml.g7.48xlarge",
            "ml.r6i.large",
            "ml.r6i.xlarge",
            "ml.r6i.2xlarge",
            "ml.r6i.4xlarge",
            "ml.r6i.8xlarge",
            "ml.r6i.12xlarge",
            "ml.r6i.16xlarge",
            "ml.r6i.24xlarge",
            "ml.r6i.32xlarge",
            "ml.m8i.large",
            "ml.m8i.xlarge",
            "ml.m8i.2xlarge",
            "ml.m8i.4xlarge",
            "ml.m8i.8xlarge",
            "ml.m8i.12xlarge",
            "ml.m8i.16xlarge",
            "ml.m8i.24xlarge",
            "ml.m8i.32xlarge",
            "ml.m8i.48xlarge",
            "ml.m8i.96xlarge",
            "ml.c8i.xlarge",
            "ml.c8i.2xlarge",
            "ml.c8i.4xlarge",
            "ml.c8i.8xlarge",
            "ml.c8i.12xlarge",
            "ml.c8i.16xlarge",
            "ml.c8i.24xlarge",
            "ml.c8i.32xlarge",
            "ml.c8i.48xlarge",
            "ml.c8i.96xlarge",
            "ml.r8i.large",
            "ml.r8i.xlarge",
            "ml.r8i.2xlarge",
            "ml.r8i.4xlarge",
            "ml.r8i.8xlarge",
            "ml.r8i.12xlarge",
            "ml.r8i.16xlarge",
            "ml.r8i.24xlarge",
            "ml.r8i.32xlarge",
            "ml.r8i.48xlarge",
            "ml.r8i.96xlarge",
            "ml.m7i-flex.large",
            "ml.m7i-flex.xlarge",
            "ml.m7i-flex.2xlarge",
            "ml.m7i-flex.4xlarge",
            "ml.m7i-flex.8xlarge",
            "ml.m7i-flex.12xlarge",
            "ml.m7i-flex.16xlarge",
            "ml.c7i-flex.xlarge",
            "ml.c7i-flex.2xlarge",
            "ml.c7i-flex.4xlarge",
            "ml.c7i-flex.8xlarge",
            "ml.c7i-flex.12xlarge",
            "ml.c7i-flex.16xlarge",
            "ml.m8i-flex.large",
            "ml.m8i-flex.xlarge",
            "ml.m8i-flex.2xlarge",
            "ml.m8i-flex.4xlarge",
            "ml.m8i-flex.8xlarge",
            "ml.m8i-flex.12xlarge",
            "ml.m8i-flex.16xlarge",
            "ml.c8i-flex.xlarge",
            "ml.c8i-flex.2xlarge",
            "ml.c8i-flex.4xlarge",
            "ml.c8i-flex.8xlarge",
            "ml.c8i-flex.12xlarge",
            "ml.c8i-flex.16xlarge",
            "ml.r8i-flex.large",
            "ml.r8i-flex.xlarge",
            "ml.r8i-flex.2xlarge",
            "ml.r8i-flex.4xlarge",
            "ml.r8i-flex.8xlarge",
            "ml.r8i-flex.12xlarge",
            "ml.r8i-flex.16xlarge"
          ],
          "description": "The ML compute instance type. An instance type can appear only once in an InstancePreferences list."
        },
        "InstanceCount": {
          "type": "integer",
          "description": "The number of instances to launch if this instance type is selected. Specify the instance count for the training job in one of the following two ways: Per preference – Set InstanceCount on every preference in the InstancePreferences list and don't set ResourceConfig$InstanceCount. Use this when each instance type needs a different number of instances to deliver equivalent compute. One count for the job – Set ResourceConfig$InstanceCount and omit it from every preference. SageMaker applies this to all instance types in the list. For example, in a list of five preferences, either all five specif"
        },
        "TrainingPlanArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Resource Name (ARN) of a training plan to use if this instance type is selected. The plan's instance type must match InstanceType. A preference with a training plan uses that plan's reserved capacity; a preference without one uses on-demand capacity. Per-preference TrainingPlanArns is mutually exclusive with the job-level TrainingPlanArn in ResourceConfig."
        }
      },
      "required": [
        "InstanceType"
      ]
    },
    "IntegerParameterRange": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the hyperparameter to search."
        },
        "MinValue": {
          "type": "string",
          "description": "The minimum value of the hyperparameter to search."
        },
        "MaxValue": {
          "type": "string",
          "description": "The maximum value of the hyperparameter to search."
        },
        "ScalingType": {
          "type": "string",
          "enum": [
            "Auto",
            "Linear",
            "Logarithmic",
            "ReverseLogarithmic"
          ],
          "description": "The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values: Auto SageMaker hyperparameter tuning chooses the best scale for the hyperparameter. Linear Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale. Logarithmic Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale. Logarithmic scaling works only for ranges that have only values greater than 0."
        }
      },
      "required": [
        "Name",
        "MinValue",
        "MaxValue"
      ]
    },
    "MetricDefinition": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the metric."
        },
        "Regex": {
          "type": "string",
          "description": "A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables."
        }
      },
      "required": [
        "Name",
        "Regex"
      ]
    },
    "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"
      ]
    },
    "OutputDataConfig": {
      "type": "object",
      "properties": {
        "KmsKeyId": {
          "type": "string",
          "description": "The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats: // KMS Key ID \"1234abcd-12ab-34cd-56ef-1234567890ab\" // Amazon Resource Name (ARN) of a KMS Key \"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\" // KMS Key Alias \"alias/ExampleAlias\" // Amazon Resource Name (ARN) of a KMS Key Alias \"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias\" If you use a KMS key ID or an alias of your KMS key, the "
        },
        "S3OutputPath": {
          "type": "string",
          "description": "Identifies the S3 path where you want SageMaker to store the model artifacts. For example, s3://bucket-name/key-name-prefix."
        },
        "CompressionType": {
          "type": "string",
          "enum": [
            "GZIP",
            "NONE"
          ],
          "description": "The model output compression type. Select None to output an uncompressed model, recommended for large model outputs. Defaults to gzip."
        }
      },
      "required": [
        "S3OutputPath"
      ]
    },
    "ParameterRanges": {
      "type": "object",
      "properties": {
        "IntegerParameterRanges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IntegerParameterRange"
          },
          "description": "The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches."
        },
        "ContinuousParameterRanges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ContinuousParameterRange"
          },
          "description": "The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches."
        },
        "CategoricalParameterRanges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CategoricalParameterRange"
          },
          "description": "The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches."
        },
        "AutoParameters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AutoParameter"
          },
          "description": "A list containing hyperparameter names and example values to be used by Autotune to determine optimal ranges for your tuning job."
        }
      }
    },
    "ParentHyperParameterTuningJob": {
      "type": "object",
      "properties": {
        "HyperParameterTuningJobName": {
          "type": "string",
          "description": "The name of the hyperparameter tuning job to be used as a starting point for a new hyperparameter tuning job."
        }
      }
    },
    "PlacementSpecification": {
      "type": "object",
      "properties": {
        "UltraServerId": {
          "type": "string",
          "description": "The unique identifier of the UltraServer where instances should be placed."
        },
        "InstanceCount": {
          "type": "integer",
          "description": "The number of ML compute instances required to be placed together on the same UltraServer. Minimum value of 1."
        }
      },
      "required": [
        "InstanceCount"
      ]
    },
    "ResourceConfig": {
      "type": "object",
      "properties": {
        "InstanceType": {
          "type": "string",
          "enum": [
            "ml.m4.xlarge",
            "ml.m4.2xlarge",
            "ml.m4.4xlarge",
            "ml.m4.10xlarge",
            "ml.m4.16xlarge",
            "ml.g4dn.xlarge",
            "ml.g4dn.2xlarge",
            "ml.g4dn.4xlarge",
            "ml.g4dn.8xlarge",
            "ml.g4dn.12xlarge",
            "ml.g4dn.16xlarge",
            "ml.m5.large",
            "ml.m5.xlarge",
            "ml.m5.2xlarge",
            "ml.m5.4xlarge",
            "ml.m5.12xlarge",
            "ml.m5.24xlarge",
            "ml.c4.xlarge",
            "ml.c4.2xlarge",
            "ml.c4.4xlarge",
            "ml.c4.8xlarge",
            "ml.p2.xlarge",
            "ml.p2.8xlarge",
            "ml.p2.16xlarge",
            "ml.p3.2xlarge",
            "ml.p3.8xlarge",
            "ml.p3.16xlarge",
            "ml.p3dn.24xlarge",
            "ml.p4d.24xlarge",
            "ml.p4de.24xlarge",
            "ml.p5.48xlarge",
            "ml.p5e.48xlarge",
            "ml.p5en.48xlarge",
            "ml.c5.xlarge",
            "ml.c5.2xlarge",
            "ml.c5.4xlarge",
            "ml.c5.9xlarge",
            "ml.c5.18xlarge",
            "ml.c5n.xlarge",
            "ml.c5n.2xlarge",
            "ml.c5n.4xlarge",
            "ml.c5n.9xlarge",
            "ml.c5n.18xlarge",
            "ml.g5.xlarge",
            "ml.g5.2xlarge",
            "ml.g5.4xlarge",
            "ml.g5.8xlarge",
            "ml.g5.16xlarge",
            "ml.g5.12xlarge",
            "ml.g5.24xlarge",
            "ml.g5.48xlarge",
            "ml.g6.xlarge",
            "ml.g6.2xlarge",
            "ml.g6.4xlarge",
            "ml.g6.8xlarge",
            "ml.g6.16xlarge",
            "ml.g6.12xlarge",
            "ml.g6.24xlarge",
            "ml.g6.48xlarge",
            "ml.g6e.xlarge",
            "ml.g6e.2xlarge",
            "ml.g6e.4xlarge",
            "ml.g6e.8xlarge",
            "ml.g6e.16xlarge",
            "ml.g6e.12xlarge",
            "ml.g6e.24xlarge",
            "ml.g6e.48xlarge",
            "ml.trn1.2xlarge",
            "ml.trn1.32xlarge",
            "ml.trn1n.32xlarge",
            "ml.trn2.48xlarge",
            "ml.m6i.large",
            "ml.m6i.xlarge",
            "ml.m6i.2xlarge",
            "ml.m6i.4xlarge",
            "ml.m6i.8xlarge",
            "ml.m6i.12xlarge",
            "ml.m6i.16xlarge",
            "ml.m6i.24xlarge",
            "ml.m6i.32xlarge",
            "ml.c6i.xlarge",
            "ml.c6i.2xlarge",
            "ml.c6i.8xlarge",
            "ml.c6i.4xlarge",
            "ml.c6i.12xlarge",
            "ml.c6i.16xlarge",
            "ml.c6i.24xlarge",
            "ml.c6i.32xlarge",
            "ml.r5d.large",
            "ml.r5d.xlarge",
            "ml.r5d.2xlarge",
            "ml.r5d.4xlarge",
            "ml.r5d.8xlarge",
            "ml.r5d.12xlarge",
            "ml.r5d.16xlarge",
            "ml.r5d.24xlarge",
            "ml.t3.medium",
            "ml.t3.large",
            "ml.t3.xlarge",
            "ml.t3.2xlarge",
            "ml.r5.large",
            "ml.r5.xlarge",
            "ml.r5.2xlarge",
            "ml.r5.4xlarge",
            "ml.r5.8xlarge",
            "ml.r5.12xlarge",
            "ml.r5.16xlarge",
            "ml.r5.24xlarge",
            "ml.p6-b200.48xlarge",
            "ml.m7i.large",
            "ml.m7i.xlarge",
            "ml.m7i.2xlarge",
            "ml.m7i.4xlarge",
            "ml.m7i.8xlarge",
            "ml.m7i.12xlarge",
            "ml.m7i.16xlarge",
            "ml.m7i.24xlarge",
            "ml.m7i.48xlarge",
            "ml.c7i.large",
            "ml.c7i.xlarge",
            "ml.c7i.2xlarge",
            "ml.c7i.4xlarge",
            "ml.c7i.8xlarge",
            "ml.c7i.12xlarge",
            "ml.c7i.16xlarge",
            "ml.c7i.24xlarge",
            "ml.c7i.48xlarge",
            "ml.r7i.large",
            "ml.r7i.xlarge",
            "ml.r7i.2xlarge",
            "ml.r7i.4xlarge",
            "ml.r7i.8xlarge",
            "ml.r7i.12xlarge",
            "ml.r7i.16xlarge",
            "ml.r7i.24xlarge",
            "ml.r7i.48xlarge",
            "ml.p6e-gb200.36xlarge",
            "ml.p5.4xlarge",
            "ml.p6-b300.48xlarge",
            "ml.g7e.2xlarge",
            "ml.g7e.4xlarge",
            "ml.g7e.8xlarge",
            "ml.g7e.12xlarge",
            "ml.g7e.24xlarge",
            "ml.g7e.48xlarge",
            "ml.g7.2xlarge",
            "ml.g7.4xlarge",
            "ml.g7.8xlarge",
            "ml.g7.12xlarge",
            "ml.g7.24xlarge",
            "ml.g7.48xlarge",
            "ml.r6i.large",
            "ml.r6i.xlarge",
            "ml.r6i.2xlarge",
            "ml.r6i.4xlarge",
            "ml.r6i.8xlarge",
            "ml.r6i.12xlarge",
            "ml.r6i.16xlarge",
            "ml.r6i.24xlarge",
            "ml.r6i.32xlarge",
            "ml.m8i.large",
            "ml.m8i.xlarge",
            "ml.m8i.2xlarge",
            "ml.m8i.4xlarge",
            "ml.m8i.8xlarge",
            "ml.m8i.12xlarge",
            "ml.m8i.16xlarge",
            "ml.m8i.24xlarge",
            "ml.m8i.32xlarge",
            "ml.m8i.48xlarge",
            "ml.m8i.96xlarge",
            "ml.c8i.xlarge",
            "ml.c8i.2xlarge",
            "ml.c8i.4xlarge",
            "ml.c8i.8xlarge",
            "ml.c8i.12xlarge",
            "ml.c8i.16xlarge",
            "ml.c8i.24xlarge",
            "ml.c8i.32xlarge",
            "ml.c8i.48xlarge",
            "ml.c8i.96xlarge",
            "ml.r8i.large",
            "ml.r8i.xlarge",
            "ml.r8i.2xlarge",
            "ml.r8i.4xlarge",
            "ml.r8i.8xlarge",
            "ml.r8i.12xlarge",
            "ml.r8i.16xlarge",
            "ml.r8i.24xlarge",
            "ml.r8i.32xlarge",
            "ml.r8i.48xlarge",
            "ml.r8i.96xlarge",
            "ml.m7i-flex.large",
            "ml.m7i-flex.xlarge",
            "ml.m7i-flex.2xlarge",
            "ml.m7i-flex.4xlarge",
            "ml.m7i-flex.8xlarge",
            "ml.m7i-flex.12xlarge",
            "ml.m7i-flex.16xlarge",
            "ml.c7i-flex.xlarge",
            "ml.c7i-flex.2xlarge",
            "ml.c7i-flex.4xlarge",
            "ml.c7i-flex.8xlarge",
            "ml.c7i-flex.12xlarge",
            "ml.c7i-flex.16xlarge",
            "ml.m8i-flex.large",
            "ml.m8i-flex.xlarge",
            "ml.m8i-flex.2xlarge",
            "ml.m8i-flex.4xlarge",
            "ml.m8i-flex.8xlarge",
            "ml.m8i-flex.12xlarge",
            "ml.m8i-flex.16xlarge",
            "ml.c8i-flex.xlarge",
            "ml.c8i-flex.2xlarge",
            "ml.c8i-flex.4xlarge",
            "ml.c8i-flex.8xlarge",
            "ml.c8i-flex.12xlarge",
            "ml.c8i-flex.16xlarge",
            "ml.r8i-flex.large",
            "ml.r8i-flex.xlarge",
            "ml.r8i-flex.2xlarge",
            "ml.r8i-flex.4xlarge",
            "ml.r8i-flex.8xlarge",
            "ml.r8i-flex.12xlarge",
            "ml.r8i-flex.16xlarge"
          ],
          "description": "The ML compute instance type."
        },
        "InstanceCount": {
          "type": "integer",
          "description": "The number of ML compute instances to use. For distributed training, provide a value greater than 1."
        },
        "VolumeSizeInGB": {
          "type": "integer",
          "description": "The size of the ML storage volume that you want to provision. SageMaker automatically selects the volume size for serverless training jobs. You cannot customize this setting. ML storage volumes store model artifacts and incremental states. Training algorithms might also use the ML storage volume for scratch space. If you want to store the training data in the ML storage volume, choose File as the TrainingInputMode in the algorithm specification. When using an ML instance with NVMe SSD volumes, SageMaker doesn't provision Amazon EBS General Purpose SSD (gp2) storage. Available storage is fixed "
        },
        "VolumeKmsKeyId": {
          "type": "string",
          "description": "The Amazon Web Services KMS key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job. Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a VolumeKmsKeyId when using an instance type with local storage. For a list of instance types that support local instance storage, see Instance Store Volumes. For more information about local instance storage encryption, see SSD Instance Store Volumes. The VolumeK"
        },
        "KeepAlivePeriodInSeconds": {
          "type": "integer",
          "description": "The duration of time in seconds to retain configured resources in a warm pool for subsequent training jobs."
        },
        "InstanceGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InstanceGroup"
          },
          "description": "The configuration of a heterogeneous cluster in JSON format."
        },
        "TrainingPlanArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN); of the training plan to use for this resource configuration."
        },
        "InstancePlacementConfig": {
          "$ref": "#/$defs/InstancePlacementConfig"
        },
        "InstancePreferences": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InstancePreference"
          },
          "description": "An ordered list of ML compute instance types for the training job, in priority order. SageMaker launches the training job on the first instance type in the list that has available capacity. If capacity is insufficient, SageMaker evaluates the next instance type in the preferred list. Exactly one instance type is selected for the job. InstancePreferences is mutually exclusive with InstanceType, InstanceGroups, InstancePlacementConfig, and EnableManagedSpotTraining, and supports only Flexible Training Plans (FTP) and On-Demand capacity."
        },
        "SelectedInstanceType": {
          "type": "string",
          "enum": [
            "ml.m4.xlarge",
            "ml.m4.2xlarge",
            "ml.m4.4xlarge",
            "ml.m4.10xlarge",
            "ml.m4.16xlarge",
            "ml.g4dn.xlarge",
            "ml.g4dn.2xlarge",
            "ml.g4dn.4xlarge",
            "ml.g4dn.8xlarge",
            "ml.g4dn.12xlarge",
            "ml.g4dn.16xlarge",
            "ml.m5.large",
            "ml.m5.xlarge",
            "ml.m5.2xlarge",
            "ml.m5.4xlarge",
            "ml.m5.12xlarge",
            "ml.m5.24xlarge",
            "ml.c4.xlarge",
            "ml.c4.2xlarge",
            "ml.c4.4xlarge",
            "ml.c4.8xlarge",
            "ml.p2.xlarge",
            "ml.p2.8xlarge",
            "ml.p2.16xlarge",
            "ml.p3.2xlarge",
            "ml.p3.8xlarge",
            "ml.p3.16xlarge",
            "ml.p3dn.24xlarge",
            "ml.p4d.24xlarge",
            "ml.p4de.24xlarge",
            "ml.p5.48xlarge",
            "ml.p5e.48xlarge",
            "ml.p5en.48xlarge",
            "ml.c5.xlarge",
            "ml.c5.2xlarge",
            "ml.c5.4xlarge",
            "ml.c5.9xlarge",
            "ml.c5.18xlarge",
            "ml.c5n.xlarge",
            "ml.c5n.2xlarge",
            "ml.c5n.4xlarge",
            "ml.c5n.9xlarge",
            "ml.c5n.18xlarge",
            "ml.g5.xlarge",
            "ml.g5.2xlarge",
            "ml.g5.4xlarge",
            "ml.g5.8xlarge",
            "ml.g5.16xlarge",
            "ml.g5.12xlarge",
            "ml.g5.24xlarge",
            "ml.g5.48xlarge",
            "ml.g6.xlarge",
            "ml.g6.2xlarge",
            "ml.g6.4xlarge",
            "ml.g6.8xlarge",
            "ml.g6.16xlarge",
            "ml.g6.12xlarge",
            "ml.g6.24xlarge",
            "ml.g6.48xlarge",
            "ml.g6e.xlarge",
            "ml.g6e.2xlarge",
            "ml.g6e.4xlarge",
            "ml.g6e.8xlarge",
            "ml.g6e.16xlarge",
            "ml.g6e.12xlarge",
            "ml.g6e.24xlarge",
            "ml.g6e.48xlarge",
            "ml.trn1.2xlarge",
            "ml.trn1.32xlarge",
            "ml.trn1n.32xlarge",
            "ml.trn2.48xlarge",
            "ml.m6i.large",
            "ml.m6i.xlarge",
            "ml.m6i.2xlarge",
            "ml.m6i.4xlarge",
            "ml.m6i.8xlarge",
            "ml.m6i.12xlarge",
            "ml.m6i.16xlarge",
            "ml.m6i.24xlarge",
            "ml.m6i.32xlarge",
            "ml.c6i.xlarge",
            "ml.c6i.2xlarge",
            "ml.c6i.8xlarge",
            "ml.c6i.4xlarge",
            "ml.c6i.12xlarge",
            "ml.c6i.16xlarge",
            "ml.c6i.24xlarge",
            "ml.c6i.32xlarge",
            "ml.r5d.large",
            "ml.r5d.xlarge",
            "ml.r5d.2xlarge",
            "ml.r5d.4xlarge",
            "ml.r5d.8xlarge",
            "ml.r5d.12xlarge",
            "ml.r5d.16xlarge",
            "ml.r5d.24xlarge",
            "ml.t3.medium",
            "ml.t3.large",
            "ml.t3.xlarge",
            "ml.t3.2xlarge",
            "ml.r5.large",
            "ml.r5.xlarge",
            "ml.r5.2xlarge",
            "ml.r5.4xlarge",
            "ml.r5.8xlarge",
            "ml.r5.12xlarge",
            "ml.r5.16xlarge",
            "ml.r5.24xlarge",
            "ml.p6-b200.48xlarge",
            "ml.m7i.large",
            "ml.m7i.xlarge",
            "ml.m7i.2xlarge",
            "ml.m7i.4xlarge",
            "ml.m7i.8xlarge",
            "ml.m7i.12xlarge",
            "ml.m7i.16xlarge",
            "ml.m7i.24xlarge",
            "ml.m7i.48xlarge",
            "ml.c7i.large",
            "ml.c7i.xlarge",
            "ml.c7i.2xlarge",
            "ml.c7i.4xlarge",
            "ml.c7i.8xlarge",
            "ml.c7i.12xlarge",
            "ml.c7i.16xlarge",
            "ml.c7i.24xlarge",
            "ml.c7i.48xlarge",
            "ml.r7i.large",
            "ml.r7i.xlarge",
            "ml.r7i.2xlarge",
            "ml.r7i.4xlarge",
            "ml.r7i.8xlarge",
            "ml.r7i.12xlarge",
            "ml.r7i.16xlarge",
            "ml.r7i.24xlarge",
            "ml.r7i.48xlarge",
            "ml.p6e-gb200.36xlarge",
            "ml.p5.4xlarge",
            "ml.p6-b300.48xlarge",
            "ml.g7e.2xlarge",
            "ml.g7e.4xlarge",
            "ml.g7e.8xlarge",
            "ml.g7e.12xlarge",
            "ml.g7e.24xlarge",
            "ml.g7e.48xlarge",
            "ml.g7.2xlarge",
            "ml.g7.4xlarge",
            "ml.g7.8xlarge",
            "ml.g7.12xlarge",
            "ml.g7.24xlarge",
            "ml.g7.48xlarge",
            "ml.r6i.large",
            "ml.r6i.xlarge",
            "ml.r6i.2xlarge",
            "ml.r6i.4xlarge",
            "ml.r6i.8xlarge",
            "ml.r6i.12xlarge",
            "ml.r6i.16xlarge",
            "ml.r6i.24xlarge",
            "ml.r6i.32xlarge",
            "ml.m8i.large",
            "ml.m8i.xlarge",
            "ml.m8i.2xlarge",
            "ml.m8i.4xlarge",
            "ml.m8i.8xlarge",
            "ml.m8i.12xlarge",
            "ml.m8i.16xlarge",
            "ml.m8i.24xlarge",
            "ml.m8i.32xlarge",
            "ml.m8i.48xlarge",
            "ml.m8i.96xlarge",
            "ml.c8i.xlarge",
            "ml.c8i.2xlarge",
            "ml.c8i.4xlarge",
            "ml.c8i.8xlarge",
            "ml.c8i.12xlarge",
            "ml.c8i.16xlarge",
            "ml.c8i.24xlarge",
            "ml.c8i.32xlarge",
            "ml.c8i.48xlarge",
            "ml.c8i.96xlarge",
            "ml.r8i.large",
            "ml.r8i.xlarge",
            "ml.r8i.2xlarge",
            "ml.r8i.4xlarge",
            "ml.r8i.8xlarge",
            "ml.r8i.12xlarge",
            "ml.r8i.16xlarge",
            "ml.r8i.24xlarge",
            "ml.r8i.32xlarge",
            "ml.r8i.48xlarge",
            "ml.r8i.96xlarge",
            "ml.m7i-flex.large",
            "ml.m7i-flex.xlarge",
            "ml.m7i-flex.2xlarge",
            "ml.m7i-flex.4xlarge",
            "ml.m7i-flex.8xlarge",
            "ml.m7i-flex.12xlarge",
            "ml.m7i-flex.16xlarge",
            "ml.c7i-flex.xlarge",
            "ml.c7i-flex.2xlarge",
            "ml.c7i-flex.4xlarge",
            "ml.c7i-flex.8xlarge",
            "ml.c7i-flex.12xlarge",
            "ml.c7i-flex.16xlarge",
            "ml.m8i-flex.large",
            "ml.m8i-flex.xlarge",
            "ml.m8i-flex.2xlarge",
            "ml.m8i-flex.4xlarge",
            "ml.m8i-flex.8xlarge",
            "ml.m8i-flex.12xlarge",
            "ml.m8i-flex.16xlarge",
            "ml.c8i-flex.xlarge",
            "ml.c8i-flex.2xlarge",
            "ml.c8i-flex.4xlarge",
            "ml.c8i-flex.8xlarge",
            "ml.c8i-flex.12xlarge",
            "ml.c8i-flex.16xlarge",
            "ml.r8i-flex.large",
            "ml.r8i-flex.xlarge",
            "ml.r8i-flex.2xlarge",
            "ml.r8i-flex.4xlarge",
            "ml.r8i-flex.8xlarge",
            "ml.r8i-flex.12xlarge",
            "ml.r8i-flex.16xlarge"
          ],
          "description": "The instance type that SageMaker selected for the job from the provided InstancePreferences. The job is billed for this instance type and count. Returned by DescribeTrainingJob after an instance type is selected. This field is read-only and isn't accepted in CreateTrainingJob requests."
        },
        "SelectedInstanceCount": {
          "type": "integer",
          "description": "The number of instances of SelectedInstanceType that the training job launched with. The job is billed for this instance type and count. Returned by DescribeTrainingJob after an instance type is selected. This field is read-only and isn't accepted in CreateTrainingJob requests."
        }
      }
    },
    "ResourceLimits": {
      "type": "object",
      "properties": {
        "MaxNumberOfTrainingJobs": {
          "type": "integer",
          "description": "The maximum number of training jobs that a hyperparameter tuning job can launch."
        },
        "MaxParallelTrainingJobs": {
          "type": "integer",
          "description": "The maximum number of concurrent training jobs that a hyperparameter tuning job can launch."
        },
        "MaxRuntimeInSeconds": {
          "type": "integer",
          "description": "The maximum time in seconds that a hyperparameter tuning job can run."
        }
      },
      "required": [
        "MaxParallelTrainingJobs"
      ]
    },
    "RetryStrategy": {
      "type": "object",
      "properties": {
        "MaximumRetryAttempts": {
          "type": "integer",
          "description": "The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING."
        }
      },
      "required": [
        "MaximumRetryAttempts"
      ]
    },
    "S3DataSource": {
      "type": "object",
      "properties": {
        "S3DataType": {
          "type": "string",
          "enum": [
            "ManifestFile",
            "S3Prefix",
            "AugmentedManifestFile",
            "Converse"
          ],
          "description": "If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. AugmentedManifestFile can only be used if the Channel's input mode is Pipe. If you choose Converse, S3Ur"
        },
        "S3Uri": {
          "type": "string",
          "description": "Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example: A key name prefix might look like this: s3://bucketname/exampleprefix/ A manifest might look like this: s3://bucketname/example.manifest A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri that precludes users from specifying a manifest whose in"
        },
        "S3DataDistributionType": {
          "type": "string",
          "enum": [
            "FullyReplicated",
            "ShardedByS3Key"
          ],
          "description": "If you want SageMaker to replicate the entire dataset on each ML compute instance that is launched for model training, specify FullyReplicated. If you want SageMaker to replicate a subset of data on each ML compute instance that is launched for model training, specify ShardedByS3Key. If there are n ML compute instances launched for a training job, each instance gets approximately 1/n of the number of S3 objects. In this case, model training on each machine uses only the subset of training data. Don't choose more ML compute instances for training than available S3 objects. If you do, some nodes"
        },
        "AttributeNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of one or more attribute names to use that are found in a specified augmented manifest file."
        },
        "InstanceGroupNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of names of instance groups that get data from the S3 data source."
        },
        "ModelAccessConfig": {
          "$ref": "#/$defs/ModelAccessConfig"
        },
        "HubAccessConfig": {
          "$ref": "#/$defs/HubAccessConfig"
        }
      },
      "required": [
        "S3DataType",
        "S3Uri"
      ]
    },
    "ShuffleConfig": {
      "type": "object",
      "properties": {
        "Seed": {
          "type": "integer",
          "description": "Determines the shuffling order in ShuffleConfig value."
        }
      },
      "required": [
        "Seed"
      ]
    },
    "StoppingCondition": {
      "type": "object",
      "properties": {
        "MaxRuntimeInSeconds": {
          "type": "integer",
          "description": "The maximum length of time, in seconds, that a training or compilation job can run before it is stopped. For compilation jobs, if the job does not complete during this time, a TimeOut error is generated. We recommend starting with 900 seconds and increasing as necessary based on your model. For all other jobs, if the job does not complete during this time, SageMaker ends the job. When RetryStrategy is specified in the job request, MaxRuntimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt. The default value is 1 day. The maximum value is 28 day"
        },
        "MaxWaitTimeInSeconds": {
          "type": "integer",
          "description": "The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the amount of time spent waiting for Spot capacity plus the amount of time the job can run. It must be equal to or greater than MaxRuntimeInSeconds. If the job does not complete during this time, SageMaker ends the job. When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt."
        },
        "MaxPendingTimeInSeconds": {
          "type": "integer",
          "description": "The maximum length of time, in seconds, that a training or compilation job can be pending before it is stopped. When working with training jobs that use capacity from training plans, not all Pending job states count against the MaxPendingTimeInSeconds limit. The following scenarios do not increment the MaxPendingTimeInSeconds counter: The plan is in a Scheduled state: Jobs queued (in Pending status) before a plan's start date (waiting for scheduled start time) Between capacity reservations: Jobs temporarily back to Pending status between two capacity reservation periods MaxPendingTimeInSeconds"
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key. Tag keys must be unique per resource."
        },
        "Value": {
          "type": "string",
          "description": "The tag value."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    },
    "TuningJobCompletionCriteria": {
      "type": "object",
      "properties": {
        "TargetObjectiveMetricValue": {
          "type": "number",
          "description": "The value of the objective metric."
        },
        "BestObjectiveNotImproving": {
          "$ref": "#/$defs/BestObjectiveNotImproving"
        },
        "ConvergenceDetected": {
          "$ref": "#/$defs/ConvergenceDetected"
        }
      }
    },
    "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"
      ]
    }
  }
}