{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-update-model-package-input-schema.json",
  "title": "UpdateModelPackageInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-model-package-api-openapi.yml#/components/schemas/UpdateModelPackageInput",
  "type": "object",
  "properties": {
    "ModelPackageArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the model package."
    },
    "ModelApprovalStatus": {
      "type": "string",
      "enum": [
        "Approved",
        "Rejected",
        "PendingManualApproval"
      ],
      "description": "The approval status of the model."
    },
    "ModelPackageRegistrationType": {
      "type": "string",
      "enum": [
        "Logged",
        "Registered"
      ],
      "description": "The package registration type of the model package input."
    },
    "ApprovalDescription": {
      "type": "string",
      "description": "A description for the approval status of the model."
    },
    "CustomerMetadataProperties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The metadata properties associated with the model package versions."
    },
    "CustomerMetadataPropertiesToRemove": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The metadata properties associated with the model package versions to remove."
    },
    "AdditionalInferenceSpecificationsToAdd": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AdditionalInferenceSpecificationDefinition"
      },
      "description": "An array of additional Inference Specification objects to be added to the existing array additional Inference Specification. Total number of additional Inference Specifications can not exceed 15. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts."
    },
    "InferenceSpecification": {
      "$ref": "#/$defs/InferenceSpecification"
    },
    "SourceUri": {
      "type": "string",
      "description": "The URI of the source for the model package."
    },
    "ModelCard": {
      "$ref": "#/$defs/ModelPackageModelCard"
    },
    "ModelLifeCycle": {
      "$ref": "#/$defs/ModelLifeCycle"
    },
    "ClientToken": {
      "type": "string",
      "description": "A unique token that guarantees that the call to this API is idempotent."
    }
  },
  "required": [
    "ModelPackageArn"
  ],
  "$defs": {
    "AdditionalInferenceSpecificationDefinition": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package."
        },
        "Description": {
          "type": "string",
          "description": "A description of the additional Inference specification"
        },
        "Containers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ModelPackageContainerDefinition"
          },
          "description": "The Amazon ECR registry path of the Docker image that contains the inference code."
        },
        "SupportedTransformInstanceTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ml.m4.xlarge",
              "ml.m4.2xlarge",
              "ml.m4.4xlarge",
              "ml.m4.10xlarge",
              "ml.m4.16xlarge",
              "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.c5.xlarge",
              "ml.c5.2xlarge",
              "ml.c5.4xlarge",
              "ml.c5.9xlarge",
              "ml.c5.18xlarge",
              "ml.m5.large",
              "ml.m5.xlarge",
              "ml.m5.2xlarge",
              "ml.m5.4xlarge",
              "ml.m5.12xlarge",
              "ml.m5.24xlarge",
              "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.large",
              "ml.c6i.xlarge",
              "ml.c6i.2xlarge",
              "ml.c6i.4xlarge",
              "ml.c6i.8xlarge",
              "ml.c6i.12xlarge",
              "ml.c6i.16xlarge",
              "ml.c6i.24xlarge",
              "ml.c6i.32xlarge",
              "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.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.g4dn.xlarge",
              "ml.g4dn.2xlarge",
              "ml.g4dn.4xlarge",
              "ml.g4dn.8xlarge",
              "ml.g4dn.12xlarge",
              "ml.g4dn.16xlarge",
              "ml.g5.xlarge",
              "ml.g5.2xlarge",
              "ml.g5.4xlarge",
              "ml.g5.8xlarge",
              "ml.g5.12xlarge",
              "ml.g5.16xlarge",
              "ml.g5.24xlarge",
              "ml.g5.48xlarge",
              "ml.trn1.2xlarge",
              "ml.trn1.32xlarge",
              "ml.inf2.xlarge",
              "ml.inf2.8xlarge",
              "ml.inf2.24xlarge",
              "ml.inf2.48xlarge",
              "ml.g6.xlarge",
              "ml.g6.2xlarge",
              "ml.g6.4xlarge",
              "ml.g6.8xlarge",
              "ml.g6.12xlarge",
              "ml.g6.16xlarge",
              "ml.g6.24xlarge",
              "ml.g6.48xlarge",
              "ml.g6e.xlarge",
              "ml.g6e.2xlarge",
              "ml.g6e.4xlarge",
              "ml.g6e.8xlarge",
              "ml.g6e.12xlarge",
              "ml.g6e.16xlarge",
              "ml.g6e.24xlarge",
              "ml.g6e.48xlarge"
            ]
          },
          "description": "A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed."
        },
        "SupportedRealtimeInferenceInstanceTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ml.t2.medium",
              "ml.t2.large",
              "ml.t2.xlarge",
              "ml.t2.2xlarge",
              "ml.m4.xlarge",
              "ml.m4.2xlarge",
              "ml.m4.4xlarge",
              "ml.m4.10xlarge",
              "ml.m4.16xlarge",
              "ml.m5.large",
              "ml.m5.xlarge",
              "ml.m5.2xlarge",
              "ml.m5.4xlarge",
              "ml.m5.12xlarge",
              "ml.m5.24xlarge",
              "ml.m5d.large",
              "ml.m5d.xlarge",
              "ml.m5d.2xlarge",
              "ml.m5d.4xlarge",
              "ml.m5d.12xlarge",
              "ml.m5d.24xlarge",
              "ml.c4.large",
              "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.c5.large",
              "ml.c5.xlarge",
              "ml.c5.2xlarge",
              "ml.c5.4xlarge",
              "ml.c5.9xlarge",
              "ml.c5.18xlarge",
              "ml.c5d.large",
              "ml.c5d.xlarge",
              "ml.c5d.2xlarge",
              "ml.c5d.4xlarge",
              "ml.c5d.9xlarge",
              "ml.c5d.18xlarge",
              "ml.g4dn.xlarge",
              "ml.g4dn.2xlarge",
              "ml.g4dn.4xlarge",
              "ml.g4dn.8xlarge",
              "ml.g4dn.12xlarge",
              "ml.g4dn.16xlarge",
              "ml.r5.large",
              "ml.r5.xlarge",
              "ml.r5.2xlarge",
              "ml.r5.4xlarge",
              "ml.r5.12xlarge",
              "ml.r5.24xlarge",
              "ml.r5d.large",
              "ml.r5d.xlarge",
              "ml.r5d.2xlarge",
              "ml.r5d.4xlarge",
              "ml.r5d.12xlarge",
              "ml.r5d.24xlarge",
              "ml.inf1.xlarge",
              "ml.inf1.2xlarge",
              "ml.inf1.6xlarge",
              "ml.inf1.24xlarge",
              "ml.dl1.24xlarge",
              "ml.c6i.large",
              "ml.c6i.xlarge",
              "ml.c6i.2xlarge",
              "ml.c6i.4xlarge",
              "ml.c6i.8xlarge",
              "ml.c6i.12xlarge",
              "ml.c6i.16xlarge",
              "ml.c6i.24xlarge",
              "ml.c6i.32xlarge",
              "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.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.g5.xlarge",
              "ml.g5.2xlarge",
              "ml.g5.4xlarge",
              "ml.g5.8xlarge",
              "ml.g5.12xlarge",
              "ml.g5.16xlarge",
              "ml.g5.24xlarge",
              "ml.g5.48xlarge",
              "ml.g6.xlarge",
              "ml.g6.2xlarge",
              "ml.g6.4xlarge",
              "ml.g6.8xlarge",
              "ml.g6.12xlarge",
              "ml.g6.16xlarge",
              "ml.g6.24xlarge",
              "ml.g6.48xlarge",
              "ml.r8g.medium",
              "ml.r8g.large",
              "ml.r8g.xlarge",
              "ml.r8g.2xlarge",
              "ml.r8g.4xlarge",
              "ml.r8g.8xlarge",
              "ml.r8g.12xlarge",
              "ml.r8g.16xlarge",
              "ml.r8g.24xlarge",
              "ml.r8g.48xlarge",
              "ml.g6e.xlarge",
              "ml.g6e.2xlarge",
              "ml.g6e.4xlarge",
              "ml.g6e.8xlarge",
              "ml.g6e.12xlarge",
              "ml.g6e.16xlarge",
              "ml.g6e.24xlarge",
              "ml.g6e.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.p4d.24xlarge",
              "ml.c7g.large",
              "ml.c7g.xlarge",
              "ml.c7g.2xlarge",
              "ml.c7g.4xlarge",
              "ml.c7g.8xlarge",
              "ml.c7g.12xlarge",
              "ml.c7g.16xlarge",
              "ml.m6g.large",
              "ml.m6g.xlarge",
              "ml.m6g.2xlarge",
              "ml.m6g.4xlarge",
              "ml.m6g.8xlarge",
              "ml.m6g.12xlarge",
              "ml.m6g.16xlarge",
              "ml.m6gd.large",
              "ml.m6gd.xlarge",
              "ml.m6gd.2xlarge",
              "ml.m6gd.4xlarge",
              "ml.m6gd.8xlarge",
              "ml.m6gd.12xlarge",
              "ml.m6gd.16xlarge",
              "ml.c6g.large",
              "ml.c6g.xlarge",
              "ml.c6g.2xlarge",
              "ml.c6g.4xlarge",
              "ml.c6g.8xlarge",
              "ml.c6g.12xlarge",
              "ml.c6g.16xlarge",
              "ml.c6gd.large",
              "ml.c6gd.xlarge",
              "ml.c6gd.2xlarge",
              "ml.c6gd.4xlarge",
              "ml.c6gd.8xlarge",
              "ml.c6gd.12xlarge",
              "ml.c6gd.16xlarge",
              "ml.c6gn.large",
              "ml.c6gn.xlarge",
              "ml.c6gn.2xlarge",
              "ml.c6gn.4xlarge",
              "ml.c6gn.8xlarge",
              "ml.c6gn.12xlarge",
              "ml.c6gn.16xlarge",
              "ml.r6g.large",
              "ml.r6g.xlarge",
              "ml.r6g.2xlarge",
              "ml.r6g.4xlarge",
              "ml.r6g.8xlarge",
              "ml.r6g.12xlarge",
              "ml.r6g.16xlarge",
              "ml.r6gd.large",
              "ml.r6gd.xlarge",
              "ml.r6gd.2xlarge",
              "ml.r6gd.4xlarge",
              "ml.r6gd.8xlarge",
              "ml.r6gd.12xlarge",
              "ml.r6gd.16xlarge",
              "ml.p4de.24xlarge",
              "ml.trn1.2xlarge",
              "ml.trn1.32xlarge",
              "ml.trn1n.32xlarge",
              "ml.trn2.48xlarge",
              "ml.inf2.xlarge",
              "ml.inf2.8xlarge",
              "ml.inf2.24xlarge",
              "ml.inf2.48xlarge",
              "ml.p5.48xlarge",
              "ml.p5e.48xlarge",
              "ml.p5en.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.c8g.medium",
              "ml.c8g.large",
              "ml.c8g.xlarge",
              "ml.c8g.2xlarge",
              "ml.c8g.4xlarge",
              "ml.c8g.8xlarge",
              "ml.c8g.12xlarge",
              "ml.c8g.16xlarge",
              "ml.c8g.24xlarge",
              "ml.c8g.48xlarge",
              "ml.r7gd.medium",
              "ml.r7gd.large",
              "ml.r7gd.xlarge",
              "ml.r7gd.2xlarge",
              "ml.r7gd.4xlarge",
              "ml.r7gd.8xlarge",
              "ml.r7gd.12xlarge",
              "ml.r7gd.16xlarge",
              "ml.m8g.medium",
              "ml.m8g.large",
              "ml.m8g.xlarge",
              "ml.m8g.2xlarge",
              "ml.m8g.4xlarge",
              "ml.m8g.8xlarge",
              "ml.m8g.12xlarge",
              "ml.m8g.16xlarge",
              "ml.m8g.24xlarge",
              "ml.m8g.48xlarge",
              "ml.c6in.large",
              "ml.c6in.xlarge",
              "ml.c6in.2xlarge",
              "ml.c6in.4xlarge",
              "ml.c6in.8xlarge",
              "ml.c6in.12xlarge",
              "ml.c6in.16xlarge",
              "ml.c6in.24xlarge",
              "ml.c6in.32xlarge",
              "ml.p6-b200.48xlarge",
              "ml.p6-b300.48xlarge",
              "ml.p6e-gb200.36xlarge",
              "ml.p5.4xlarge"
            ]
          },
          "description": "A list of the instance types that are used to generate inferences in real-time."
        },
        "SupportedContentTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The supported MIME types for the input data."
        },
        "SupportedResponseMIMETypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The supported MIME types for the output data."
        }
      },
      "required": [
        "Name",
        "Containers"
      ]
    },
    "AdditionalModelDataSource": {
      "type": "object",
      "properties": {
        "ChannelName": {
          "type": "string",
          "description": "A custom name for this AdditionalModelDataSource object."
        },
        "S3DataSource": {
          "$ref": "#/$defs/S3ModelDataSource"
        }
      },
      "required": [
        "ChannelName",
        "S3DataSource"
      ]
    },
    "AdditionalS3DataSource": {
      "type": "object",
      "properties": {
        "S3DataType": {
          "type": "string",
          "enum": [
            "S3Object",
            "S3Prefix"
          ],
          "description": "The data type of the additional data source that you specify for use in inference or training."
        },
        "S3Uri": {
          "type": "string",
          "description": "The uniform resource identifier (URI) used to identify an additional data source used in inference or training."
        },
        "CompressionType": {
          "type": "string",
          "enum": [
            "None",
            "Gzip"
          ],
          "description": "The type of compression used for an additional data source used in inference or training. Specify None if your additional data source is not compressed."
        },
        "ETag": {
          "type": "string",
          "description": "The ETag associated with S3 URI."
        }
      },
      "required": [
        "S3DataType",
        "S3Uri"
      ]
    },
    "BaseModel": {
      "type": "object",
      "properties": {
        "HubContentName": {
          "type": "string",
          "description": "The hub content name of the base model."
        },
        "HubContentVersion": {
          "type": "string",
          "description": "The hub content version of the base model."
        },
        "RecipeName": {
          "type": "string",
          "description": "The recipe name of the base model."
        }
      }
    },
    "InferenceHubAccessConfig": {
      "type": "object",
      "properties": {
        "HubContentArn": {
          "type": "string",
          "description": "The ARN of the hub content for which deployment access is allowed."
        }
      },
      "required": [
        "HubContentArn"
      ]
    },
    "InferenceSpecification": {
      "type": "object",
      "properties": {
        "Containers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ModelPackageContainerDefinition"
          },
          "description": "The Amazon ECR registry path of the Docker image that contains the inference code."
        },
        "SupportedTransformInstanceTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ml.m4.xlarge",
              "ml.m4.2xlarge",
              "ml.m4.4xlarge",
              "ml.m4.10xlarge",
              "ml.m4.16xlarge",
              "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.c5.xlarge",
              "ml.c5.2xlarge",
              "ml.c5.4xlarge",
              "ml.c5.9xlarge",
              "ml.c5.18xlarge",
              "ml.m5.large",
              "ml.m5.xlarge",
              "ml.m5.2xlarge",
              "ml.m5.4xlarge",
              "ml.m5.12xlarge",
              "ml.m5.24xlarge",
              "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.large",
              "ml.c6i.xlarge",
              "ml.c6i.2xlarge",
              "ml.c6i.4xlarge",
              "ml.c6i.8xlarge",
              "ml.c6i.12xlarge",
              "ml.c6i.16xlarge",
              "ml.c6i.24xlarge",
              "ml.c6i.32xlarge",
              "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.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.g4dn.xlarge",
              "ml.g4dn.2xlarge",
              "ml.g4dn.4xlarge",
              "ml.g4dn.8xlarge",
              "ml.g4dn.12xlarge",
              "ml.g4dn.16xlarge",
              "ml.g5.xlarge",
              "ml.g5.2xlarge",
              "ml.g5.4xlarge",
              "ml.g5.8xlarge",
              "ml.g5.12xlarge",
              "ml.g5.16xlarge",
              "ml.g5.24xlarge",
              "ml.g5.48xlarge",
              "ml.trn1.2xlarge",
              "ml.trn1.32xlarge",
              "ml.inf2.xlarge",
              "ml.inf2.8xlarge",
              "ml.inf2.24xlarge",
              "ml.inf2.48xlarge",
              "ml.g6.xlarge",
              "ml.g6.2xlarge",
              "ml.g6.4xlarge",
              "ml.g6.8xlarge",
              "ml.g6.12xlarge",
              "ml.g6.16xlarge",
              "ml.g6.24xlarge",
              "ml.g6.48xlarge",
              "ml.g6e.xlarge",
              "ml.g6e.2xlarge",
              "ml.g6e.4xlarge",
              "ml.g6e.8xlarge",
              "ml.g6e.12xlarge",
              "ml.g6e.16xlarge",
              "ml.g6e.24xlarge",
              "ml.g6e.48xlarge"
            ]
          },
          "description": "A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed. This parameter is required for unversioned models, and optional for versioned models."
        },
        "SupportedRealtimeInferenceInstanceTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ml.t2.medium",
              "ml.t2.large",
              "ml.t2.xlarge",
              "ml.t2.2xlarge",
              "ml.m4.xlarge",
              "ml.m4.2xlarge",
              "ml.m4.4xlarge",
              "ml.m4.10xlarge",
              "ml.m4.16xlarge",
              "ml.m5.large",
              "ml.m5.xlarge",
              "ml.m5.2xlarge",
              "ml.m5.4xlarge",
              "ml.m5.12xlarge",
              "ml.m5.24xlarge",
              "ml.m5d.large",
              "ml.m5d.xlarge",
              "ml.m5d.2xlarge",
              "ml.m5d.4xlarge",
              "ml.m5d.12xlarge",
              "ml.m5d.24xlarge",
              "ml.c4.large",
              "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.c5.large",
              "ml.c5.xlarge",
              "ml.c5.2xlarge",
              "ml.c5.4xlarge",
              "ml.c5.9xlarge",
              "ml.c5.18xlarge",
              "ml.c5d.large",
              "ml.c5d.xlarge",
              "ml.c5d.2xlarge",
              "ml.c5d.4xlarge",
              "ml.c5d.9xlarge",
              "ml.c5d.18xlarge",
              "ml.g4dn.xlarge",
              "ml.g4dn.2xlarge",
              "ml.g4dn.4xlarge",
              "ml.g4dn.8xlarge",
              "ml.g4dn.12xlarge",
              "ml.g4dn.16xlarge",
              "ml.r5.large",
              "ml.r5.xlarge",
              "ml.r5.2xlarge",
              "ml.r5.4xlarge",
              "ml.r5.12xlarge",
              "ml.r5.24xlarge",
              "ml.r5d.large",
              "ml.r5d.xlarge",
              "ml.r5d.2xlarge",
              "ml.r5d.4xlarge",
              "ml.r5d.12xlarge",
              "ml.r5d.24xlarge",
              "ml.inf1.xlarge",
              "ml.inf1.2xlarge",
              "ml.inf1.6xlarge",
              "ml.inf1.24xlarge",
              "ml.dl1.24xlarge",
              "ml.c6i.large",
              "ml.c6i.xlarge",
              "ml.c6i.2xlarge",
              "ml.c6i.4xlarge",
              "ml.c6i.8xlarge",
              "ml.c6i.12xlarge",
              "ml.c6i.16xlarge",
              "ml.c6i.24xlarge",
              "ml.c6i.32xlarge",
              "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.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.g5.xlarge",
              "ml.g5.2xlarge",
              "ml.g5.4xlarge",
              "ml.g5.8xlarge",
              "ml.g5.12xlarge",
              "ml.g5.16xlarge",
              "ml.g5.24xlarge",
              "ml.g5.48xlarge",
              "ml.g6.xlarge",
              "ml.g6.2xlarge",
              "ml.g6.4xlarge",
              "ml.g6.8xlarge",
              "ml.g6.12xlarge",
              "ml.g6.16xlarge",
              "ml.g6.24xlarge",
              "ml.g6.48xlarge",
              "ml.r8g.medium",
              "ml.r8g.large",
              "ml.r8g.xlarge",
              "ml.r8g.2xlarge",
              "ml.r8g.4xlarge",
              "ml.r8g.8xlarge",
              "ml.r8g.12xlarge",
              "ml.r8g.16xlarge",
              "ml.r8g.24xlarge",
              "ml.r8g.48xlarge",
              "ml.g6e.xlarge",
              "ml.g6e.2xlarge",
              "ml.g6e.4xlarge",
              "ml.g6e.8xlarge",
              "ml.g6e.12xlarge",
              "ml.g6e.16xlarge",
              "ml.g6e.24xlarge",
              "ml.g6e.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.p4d.24xlarge",
              "ml.c7g.large",
              "ml.c7g.xlarge",
              "ml.c7g.2xlarge",
              "ml.c7g.4xlarge",
              "ml.c7g.8xlarge",
              "ml.c7g.12xlarge",
              "ml.c7g.16xlarge",
              "ml.m6g.large",
              "ml.m6g.xlarge",
              "ml.m6g.2xlarge",
              "ml.m6g.4xlarge",
              "ml.m6g.8xlarge",
              "ml.m6g.12xlarge",
              "ml.m6g.16xlarge",
              "ml.m6gd.large",
              "ml.m6gd.xlarge",
              "ml.m6gd.2xlarge",
              "ml.m6gd.4xlarge",
              "ml.m6gd.8xlarge",
              "ml.m6gd.12xlarge",
              "ml.m6gd.16xlarge",
              "ml.c6g.large",
              "ml.c6g.xlarge",
              "ml.c6g.2xlarge",
              "ml.c6g.4xlarge",
              "ml.c6g.8xlarge",
              "ml.c6g.12xlarge",
              "ml.c6g.16xlarge",
              "ml.c6gd.large",
              "ml.c6gd.xlarge",
              "ml.c6gd.2xlarge",
              "ml.c6gd.4xlarge",
              "ml.c6gd.8xlarge",
              "ml.c6gd.12xlarge",
              "ml.c6gd.16xlarge",
              "ml.c6gn.large",
              "ml.c6gn.xlarge",
              "ml.c6gn.2xlarge",
              "ml.c6gn.4xlarge",
              "ml.c6gn.8xlarge",
              "ml.c6gn.12xlarge",
              "ml.c6gn.16xlarge",
              "ml.r6g.large",
              "ml.r6g.xlarge",
              "ml.r6g.2xlarge",
              "ml.r6g.4xlarge",
              "ml.r6g.8xlarge",
              "ml.r6g.12xlarge",
              "ml.r6g.16xlarge",
              "ml.r6gd.large",
              "ml.r6gd.xlarge",
              "ml.r6gd.2xlarge",
              "ml.r6gd.4xlarge",
              "ml.r6gd.8xlarge",
              "ml.r6gd.12xlarge",
              "ml.r6gd.16xlarge",
              "ml.p4de.24xlarge",
              "ml.trn1.2xlarge",
              "ml.trn1.32xlarge",
              "ml.trn1n.32xlarge",
              "ml.trn2.48xlarge",
              "ml.inf2.xlarge",
              "ml.inf2.8xlarge",
              "ml.inf2.24xlarge",
              "ml.inf2.48xlarge",
              "ml.p5.48xlarge",
              "ml.p5e.48xlarge",
              "ml.p5en.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.c8g.medium",
              "ml.c8g.large",
              "ml.c8g.xlarge",
              "ml.c8g.2xlarge",
              "ml.c8g.4xlarge",
              "ml.c8g.8xlarge",
              "ml.c8g.12xlarge",
              "ml.c8g.16xlarge",
              "ml.c8g.24xlarge",
              "ml.c8g.48xlarge",
              "ml.r7gd.medium",
              "ml.r7gd.large",
              "ml.r7gd.xlarge",
              "ml.r7gd.2xlarge",
              "ml.r7gd.4xlarge",
              "ml.r7gd.8xlarge",
              "ml.r7gd.12xlarge",
              "ml.r7gd.16xlarge",
              "ml.m8g.medium",
              "ml.m8g.large",
              "ml.m8g.xlarge",
              "ml.m8g.2xlarge",
              "ml.m8g.4xlarge",
              "ml.m8g.8xlarge",
              "ml.m8g.12xlarge",
              "ml.m8g.16xlarge",
              "ml.m8g.24xlarge",
              "ml.m8g.48xlarge",
              "ml.c6in.large",
              "ml.c6in.xlarge",
              "ml.c6in.2xlarge",
              "ml.c6in.4xlarge",
              "ml.c6in.8xlarge",
              "ml.c6in.12xlarge",
              "ml.c6in.16xlarge",
              "ml.c6in.24xlarge",
              "ml.c6in.32xlarge",
              "ml.p6-b200.48xlarge",
              "ml.p6-b300.48xlarge",
              "ml.p6e-gb200.36xlarge",
              "ml.p5.4xlarge"
            ]
          },
          "description": "A list of the instance types that are used to generate inferences in real-time. This parameter is required for unversioned models, and optional for versioned models."
        },
        "SupportedContentTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The supported MIME types for the input data."
        },
        "SupportedResponseMIMETypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The supported MIME types for the output data."
        }
      },
      "required": [
        "Containers"
      ]
    },
    "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"
      ]
    },
    "ModelDataSource": {
      "type": "object",
      "properties": {
        "S3DataSource": {
          "$ref": "#/$defs/S3ModelDataSource"
        }
      }
    },
    "ModelInput": {
      "type": "object",
      "properties": {
        "DataInputConfig": {
          "type": "string",
          "description": "The input configuration object for the model."
        }
      },
      "required": [
        "DataInputConfig"
      ]
    },
    "ModelLifeCycle": {
      "type": "object",
      "properties": {
        "Stage": {
          "type": "string",
          "description": "The current stage in the model life cycle."
        },
        "StageStatus": {
          "type": "string",
          "description": "The current status of a stage in model life cycle."
        },
        "StageDescription": {
          "type": "string",
          "description": "Describes the stage related details."
        }
      },
      "required": [
        "Stage",
        "StageStatus"
      ]
    },
    "ModelPackageContainerDefinition": {
      "type": "object",
      "properties": {
        "ContainerHostname": {
          "type": "string",
          "description": "The DNS host name for the Docker container."
        },
        "Image": {
          "type": "string",
          "description": "The Amazon Elastic Container Registry (Amazon ECR) path where inference code is stored. If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker."
        },
        "ImageDigest": {
          "type": "string",
          "description": "An MD5 hash of the training algorithm that identifies the Docker image used for training."
        },
        "ModelDataUrl": {
          "type": "string",
          "description": "The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). The model artifacts must be in an S3 bucket that is in the same region as the model package."
        },
        "ModelDataSource": {
          "$ref": "#/$defs/ModelDataSource"
        },
        "ProductId": {
          "type": "string",
          "description": "The Amazon Web Services Marketplace product ID of the model package."
        },
        "Environment": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The environment variables to set in the Docker container. Each key and value in the Environment string to string map can have length of up to 1024. We support up to 16 entries in the map."
        },
        "ModelInput": {
          "$ref": "#/$defs/ModelInput"
        },
        "Framework": {
          "type": "string",
          "description": "The machine learning framework of the model package container image."
        },
        "FrameworkVersion": {
          "type": "string",
          "description": "The framework version of the Model Package Container Image."
        },
        "NearestModelName": {
          "type": "string",
          "description": "The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model. You can find a list of benchmarked models by calling ListModelMetadata."
        },
        "AdditionalModelDataSources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AdditionalModelDataSource"
          },
          "description": "Data sources that are available to your model in addition to the one that you specify for ModelDataSource when you use the CreateModelPackage action."
        },
        "AdditionalS3DataSource": {
          "$ref": "#/$defs/AdditionalS3DataSource"
        },
        "ModelDataETag": {
          "type": "string",
          "description": "The ETag associated with Model Data URL."
        },
        "IsCheckpoint": {
          "type": "boolean",
          "description": "Specifies whether the model data is a training checkpoint."
        },
        "BaseModel": {
          "$ref": "#/$defs/BaseModel"
        }
      }
    },
    "ModelPackageModelCard": {
      "type": "object",
      "properties": {
        "ModelCardContent": {
          "type": "string",
          "description": "The content of the model card. The content must follow the schema described in Model Package Model Card Schema."
        },
        "ModelCardStatus": {
          "type": "string",
          "enum": [
            "Draft",
            "PendingReview",
            "Approved",
            "Archived"
          ],
          "description": "The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval. Draft: The model card is a work in progress. PendingReview: The model card is pending review. Approved: The model card is approved. Archived: The model card is archived. No more updates can be made to the model card content. If you try to update the model card content, you will receive the message Model Card is in Archived state."
        }
      }
    },
    "S3ModelDataSource": {
      "type": "object",
      "properties": {
        "S3Uri": {
          "type": "string",
          "description": "Specifies the S3 path of ML model data to deploy."
        },
        "S3DataType": {
          "type": "string",
          "enum": [
            "S3Prefix",
            "S3Object"
          ],
          "description": "Specifies the type of ML model data to deploy. If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix as part of the ML model data to deploy. A valid key name prefix identified by S3Uri always ends with a forward slash (/). If you choose S3Object, S3Uri identifies an object that is the ML model data to deploy."
        },
        "CompressionType": {
          "type": "string",
          "enum": [
            "None",
            "Gzip"
          ],
          "description": "Specifies how the ML model data is prepared. If you choose Gzip and choose S3Object as the value of S3DataType, S3Uri identifies an object that is a gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object during model deployment. If you choose None and chooose S3Object as the value of S3DataType, S3Uri identifies an object that represents an uncompressed ML model to deploy. If you choose None and choose S3Prefix as the value of S3DataType, S3Uri identifies a key name prefix, under which all objects represents the uncompressed ML model to deploy. If you choose Non"
        },
        "ModelAccessConfig": {
          "$ref": "#/$defs/ModelAccessConfig"
        },
        "HubAccessConfig": {
          "$ref": "#/$defs/InferenceHubAccessConfig"
        },
        "ManifestS3Uri": {
          "type": "string",
          "description": "The Amazon S3 URI of the manifest file. The manifest file is a CSV file that stores the artifact locations."
        },
        "ETag": {
          "type": "string",
          "description": "The ETag associated with S3 URI."
        },
        "ManifestEtag": {
          "type": "string",
          "description": "The ETag associated with Manifest S3 URI."
        }
      },
      "required": [
        "S3Uri",
        "S3DataType",
        "CompressionType"
      ]
    }
  }
}