Module Values_2.ModelPackageSource

A container for your trained model that can be deployed for SageMaker inference. This can include inference code, artifacts, and metadata. The model package type can be one of the following. Versioned model: A part of a model package group in Model Registry. Unversioned model: Not part of a model package group and used in Amazon Web Services Marketplace. For more information, see CreateModelPackage .

Sourcetype nonrec t = {
  1. modelPackageName : Values_0.EntityName.t option;
    (*

    The name of the model package. The name can be as follows: For a versioned model, the name is automatically generated by SageMaker Model Registry and follows the format 'ModelPackageGroupName/ModelPackageVersion'. For an unversioned model, you must provide the name.

    *)
  2. modelPackageGroupName : Values_0.EntityName.t option;
    (*

    The model group to which the model belongs.

    *)
  3. modelPackageVersion : Values_0.ModelPackageVersion.t option;
    (*

    The version number of a versioned model.

    *)
  4. modelPackageRegistrationType : Values_0.ModelPackageRegistrationType.t option;
    (*

    The package registration type of the model package.

    *)
  5. modelPackageArn : Values_0.ModelPackageArn.t option;
    (*

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

    *)
  6. modelPackageDescription : Values_0.EntityDescription.t option;
    (*

    The description of the model package.

    *)
  7. creationTime : Values_0.CreationTime.t option;
    (*

    The time that the model package was created.

    *)
  8. inferenceSpecification : Values_0.InferenceSpecification.t option;
    (*

    Defines how to perform inference generation after a training job is run.

    *)
  9. sourceAlgorithmSpecification : Values_1.SourceAlgorithmSpecification.t option;
    (*

    A list of algorithms that were used to create a model package.

    *)
  10. validationSpecification : Values_1.ModelPackageValidationSpecification.t option;
    (*

    Specifies batch transform jobs that SageMaker runs to validate your model package.

    *)
  11. modelPackageStatus : Values_0.ModelPackageStatus.t option;
    (*

    The status of the model package. This can be one of the following values. PENDING - The model package is pending being created. IN_PROGRESS - The model package is in the process of being created. COMPLETED - The model package was successfully created. FAILED - The model package failed. DELETING - The model package is in the process of being deleted.

    *)
  12. modelPackageStatusDetails : Values_1.ModelPackageStatusDetails.t option;
    (*

    Specifies the validation and image scan statuses of the model package.

    *)
  13. certifyForMarketplace : Values_0.CertifyForMarketplace.t option;
    (*

    Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.

    *)
  14. modelApprovalStatus : Values_0.ModelApprovalStatus.t option;
    (*

    The approval status of the model. This can be one of the following values. APPROVED - The model is approved REJECTED - The model is rejected. PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.

    *)
  15. createdBy : Values_0.UserContext.t option;
    (*

    Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.

    *)
  16. metadataProperties : Values_0.MetadataProperties.t option;
    (*

    Metadata properties of the tracking entity, trial, or trial component.

    *)
  17. modelMetrics : Values_1.ModelMetrics.t option;
    (*

    Metrics for the model.

    *)
  18. lastModifiedTime : Values_0.Timestamp.t option;
    (*

    The last time the model package was modified.

    *)
  19. lastModifiedBy : Values_0.UserContext.t option;
    (*

    Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.

    *)
  20. approvalDescription : Values_0.ApprovalDescription.t option;
    (*

    A description provided when the model approval is set.

    *)
  21. domain : Values_0.String_.t option;
    (*

    The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.

    *)
  22. task : Values_0.String_.t option;
    (*

    The machine learning task your model package accomplishes. Common machine learning tasks include object detection and image classification.

    *)
  23. samplePayloadUrl : Values_0.String_.t option;
    (*

    The Amazon Simple Storage Service path where the sample payload are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

    *)
  24. additionalInferenceSpecifications : Values_0.AdditionalInferenceSpecifications.t option;
    (*

    An array of additional Inference Specification objects.

    *)
  25. sourceUri : Values_1.ModelPackageSourceUri.t option;
    (*

    The URI of the source for the model package.

    *)
  26. securityConfig : Values_1.ModelPackageSecurityConfig.t option;
  27. modelCard : Values_1.ModelPackageModelCard.t option;
  28. modelLifeCycle : Values_1.ModelLifeCycle.t option;
    (*

    A structure describing the current state of the model in its life cycle.

    *)
  29. tags : Values_0.TagList.t option;
    (*

    A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

    *)
  30. customerMetadataProperties : Values_1.CustomerMetadataMap.t option;
    (*

    The metadata properties for the model package.

    *)
  31. driftCheckBaselines : Values_1.DriftCheckBaselines.t option;
    (*

    Represents the drift check baselines that can be used when the model monitor is set using the model package.

    *)
  32. skipModelValidation : Values_1.SkipModelValidation.t option;
    (*

    Indicates if you want to skip model validation.

    *)
}
Sourceval make : ?modelPackageName:??? -> ?modelPackageGroupName:??? -> ?modelPackageVersion:??? -> ?modelPackageRegistrationType:??? -> ?modelPackageArn:??? -> ?modelPackageDescription:??? -> ?creationTime:??? -> ?inferenceSpecification:??? -> ?sourceAlgorithmSpecification:??? -> ?validationSpecification:??? -> ?modelPackageStatus:??? -> ?modelPackageStatusDetails:??? -> ?certifyForMarketplace:??? -> ?modelApprovalStatus:??? -> ?createdBy:??? -> ?metadataProperties:??? -> ?modelMetrics:??? -> ?lastModifiedTime:??? -> ?lastModifiedBy:??? -> ?approvalDescription:??? -> ?domain:??? -> ?task:??? -> ?samplePayloadUrl:??? -> ?additionalInferenceSpecifications:??? -> ?sourceUri:??? -> ?securityConfig:??? -> ?modelCard:??? -> ?modelLifeCycle:??? -> ?tags:??? -> ?customerMetadataProperties:??? -> ?driftCheckBaselines:??? -> ?skipModelValidation:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.CertifyForMarketplace.t | `Enum of string | `Integer of Values_0.ModelPackageVersion.t | `List of [> `Structure of (string * [> `List of [> `Enum of string | `String of string | `Structure of (string * [> `Boolean of bool | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Boolean of bool | `String of string ]) list ]) list ]) list ] list | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Boolean of bool | `String of string ]) list ]) list ]) list ]) list ] list | `String of string ]) list ] list | `Map of ([> `String of string ] * [> `String of string ]) list | `String of Values_0.EntityName.t | `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `String of string | `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Boolean of bool | `String of string ]) list ]) list ]) list ] list | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string | `Structure of (string * [> `Enum of string | `Integer of int | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string | `Structure of (string * [> `Enum of string | `Integer of int | `String of string | `Structure of (string * [> `Boolean of bool | `String of string | `Structure of (string * [> `Enum of string | `String of string ]) list ]) list ]) list ]) list ]) list ] list | `String of Values_0.RoleArn.t | `Structure of (string * [> `String of string | `Structure of (string * [> `String of string ]) list ]) list ]) list | `Timestamp of Values_0.CreationTime.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