Struct aws_sdk_sagemaker::model::ModelPackage
source · #[non_exhaustive]pub struct ModelPackage { /* private fields */ }
Expand description
A versioned model that can be deployed for SageMaker inference.
Implementations§
source§impl ModelPackage
impl ModelPackage
sourcepub fn model_package_name(&self) -> Option<&str>
pub fn model_package_name(&self) -> Option<&str>
The name of the model.
sourcepub fn model_package_group_name(&self) -> Option<&str>
pub fn model_package_group_name(&self) -> Option<&str>
The model group to which the model belongs.
sourcepub fn model_package_version(&self) -> Option<i32>
pub fn model_package_version(&self) -> Option<i32>
The version number of a versioned model.
sourcepub fn model_package_arn(&self) -> Option<&str>
pub fn model_package_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the model package.
sourcepub fn model_package_description(&self) -> Option<&str>
pub fn model_package_description(&self) -> Option<&str>
The description of the model package.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the model package was created.
sourcepub fn inference_specification(&self) -> Option<&InferenceSpecification>
pub fn inference_specification(&self) -> Option<&InferenceSpecification>
Defines how to perform inference generation after a training job is run.
sourcepub fn source_algorithm_specification(
&self
) -> Option<&SourceAlgorithmSpecification>
pub fn source_algorithm_specification(
&self
) -> Option<&SourceAlgorithmSpecification>
A list of algorithms that were used to create a model package.
sourcepub fn validation_specification(
&self
) -> Option<&ModelPackageValidationSpecification>
pub fn validation_specification(
&self
) -> Option<&ModelPackageValidationSpecification>
Specifies batch transform jobs that SageMaker runs to validate your model package.
sourcepub fn model_package_status(&self) -> Option<&ModelPackageStatus>
pub fn model_package_status(&self) -> Option<&ModelPackageStatus>
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.
sourcepub fn model_package_status_details(&self) -> Option<&ModelPackageStatusDetails>
pub fn model_package_status_details(&self) -> Option<&ModelPackageStatusDetails>
Specifies the validation and image scan statuses of the model package.
sourcepub fn certify_for_marketplace(&self) -> bool
pub fn certify_for_marketplace(&self) -> bool
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.
sourcepub fn model_approval_status(&self) -> Option<&ModelApprovalStatus>
pub fn model_approval_status(&self) -> Option<&ModelApprovalStatus>
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.
sourcepub fn created_by(&self) -> Option<&UserContext>
pub fn created_by(&self) -> Option<&UserContext>
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
sourcepub fn metadata_properties(&self) -> Option<&MetadataProperties>
pub fn metadata_properties(&self) -> Option<&MetadataProperties>
Metadata properties of the tracking entity, trial, or trial component.
sourcepub fn model_metrics(&self) -> Option<&ModelMetrics>
pub fn model_metrics(&self) -> Option<&ModelMetrics>
Metrics for the model.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The last time the model package was modified.
sourcepub fn last_modified_by(&self) -> Option<&UserContext>
pub fn last_modified_by(&self) -> Option<&UserContext>
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
sourcepub fn approval_description(&self) -> Option<&str>
pub fn approval_description(&self) -> Option<&str>
A description provided when the model approval is set.
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.
sourcepub fn task(&self) -> Option<&str>
pub fn task(&self) -> Option<&str>
The machine learning task your model package accomplishes. Common machine learning tasks include object detection and image classification.
sourcepub fn sample_payload_url(&self) -> Option<&str>
pub fn sample_payload_url(&self) -> Option<&str>
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).
sourcepub fn additional_inference_specifications(
&self
) -> Option<&[AdditionalInferenceSpecificationDefinition]>
pub fn additional_inference_specifications(
&self
) -> Option<&[AdditionalInferenceSpecificationDefinition]>
An array of additional Inference Specification objects.
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.
sourcepub fn customer_metadata_properties(&self) -> Option<&HashMap<String, String>>
pub fn customer_metadata_properties(&self) -> Option<&HashMap<String, String>>
The metadata properties for the model package.
sourcepub fn drift_check_baselines(&self) -> Option<&DriftCheckBaselines>
pub fn drift_check_baselines(&self) -> Option<&DriftCheckBaselines>
Represents the drift check baselines that can be used when the model monitor is set using the model package.
source§impl ModelPackage
impl ModelPackage
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModelPackage
.
Trait Implementations§
source§impl Clone for ModelPackage
impl Clone for ModelPackage
source§fn clone(&self) -> ModelPackage
fn clone(&self) -> ModelPackage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModelPackage
impl Debug for ModelPackage
source§impl PartialEq<ModelPackage> for ModelPackage
impl PartialEq<ModelPackage> for ModelPackage
source§fn eq(&self, other: &ModelPackage) -> bool
fn eq(&self, other: &ModelPackage) -> bool
self
and other
values to be equal, and is used
by ==
.