Module Values_1.CreateModelPackageOutputSource

Creates a model package that you can use to create SageMaker models or list on Amazon Web Services Marketplace, or a versioned model that is part of a model group. Buyers can subscribe to model packages listed on Amazon Web Services Marketplace to create models in SageMaker. To create a model package by specifying a Docker container that contains your inference code and the Amazon S3 location of your model artifacts, provide values for InferenceSpecification. To create a model from an algorithm resource that you created or subscribed to in Amazon Web Services Marketplace, provide a value for SourceAlgorithmSpecification. There are two types of model packages: Versioned - a model that is part of a model group in the model registry. Unversioned - a model package that is not part of a model group.

Sourcetype nonrec t = {
  1. modelPackageArn : Values_0.ModelPackageArn.t option;
    (*

    The Amazon Resource Name (ARN) of the new model package.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of Values_0.ConflictException.t
  2. | `ResourceLimitExceeded of Values_0.ResourceLimitExceeded.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?modelPackageArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of Values_0.ConflictException.t | `ResourceLimitExceeded of Values_0.ResourceLimitExceeded.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of Values_0.ConflictException.t | `ResourceLimitExceeded of Values_0.ResourceLimitExceeded.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.ModelPackageArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t