Struct aws_sdk_sagemaker::types::ModelPackageSummary  
source · #[non_exhaustive]pub struct ModelPackageSummary {
    pub model_package_name: Option<String>,
    pub model_package_group_name: Option<String>,
    pub model_package_version: Option<i32>,
    pub model_package_arn: Option<String>,
    pub model_package_description: Option<String>,
    pub creation_time: Option<DateTime>,
    pub model_package_status: Option<ModelPackageStatus>,
    pub model_approval_status: Option<ModelApprovalStatus>,
}Expand description
Provides summary information about a model package.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.model_package_name: Option<String>The name of the model package.
model_package_group_name: Option<String>If the model package is a versioned model, the model group that the versioned model belongs to.
model_package_version: Option<i32>If the model package is a versioned model, the version of the model.
model_package_arn: Option<String>The Amazon Resource Name (ARN) of the model package.
model_package_description: Option<String>A brief description of the model package.
creation_time: Option<DateTime>A timestamp that shows when the model package was created.
model_package_status: Option<ModelPackageStatus>The overall status of the model package.
model_approval_status: 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.
Implementations§
source§impl ModelPackageSummary
 
impl ModelPackageSummary
sourcepub fn model_package_name(&self) -> Option<&str>
 
pub fn model_package_name(&self) -> Option<&str>
The name of the model package.
sourcepub fn model_package_group_name(&self) -> Option<&str>
 
pub fn model_package_group_name(&self) -> Option<&str>
If the model package is a versioned model, the model group that the versioned model belongs to.
sourcepub fn model_package_version(&self) -> Option<i32>
 
pub fn model_package_version(&self) -> Option<i32>
If the model package is a versioned model, the version of the 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>
A brief description of the model package.
sourcepub fn creation_time(&self) -> Option<&DateTime>
 
pub fn creation_time(&self) -> Option<&DateTime>
A timestamp that shows when the model package was created.
sourcepub fn model_package_status(&self) -> Option<&ModelPackageStatus>
 
pub fn model_package_status(&self) -> Option<&ModelPackageStatus>
The overall status of the model package.
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.
source§impl ModelPackageSummary
 
impl ModelPackageSummary
sourcepub fn builder() -> ModelPackageSummaryBuilder
 
pub fn builder() -> ModelPackageSummaryBuilder
Creates a new builder-style object to manufacture ModelPackageSummary.
Trait Implementations§
source§impl Clone for ModelPackageSummary
 
impl Clone for ModelPackageSummary
source§fn clone(&self) -> ModelPackageSummary
 
fn clone(&self) -> ModelPackageSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModelPackageSummary
 
impl Debug for ModelPackageSummary
source§impl PartialEq for ModelPackageSummary
 
impl PartialEq for ModelPackageSummary
source§fn eq(&self, other: &ModelPackageSummary) -> bool
 
fn eq(&self, other: &ModelPackageSummary) -> bool
self and other values to be equal, and is used
by ==.