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 ==
.impl StructuralPartialEq for ModelPackageSummary
Auto Trait Implementations§
impl Freeze for ModelPackageSummary
impl RefUnwindSafe for ModelPackageSummary
impl Send for ModelPackageSummary
impl Sync for ModelPackageSummary
impl Unpin for ModelPackageSummary
impl UnwindSafe for ModelPackageSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more