Struct aws_sdk_sagemaker::model::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
sourceimpl 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.
sourceimpl ModelPackageSummary
impl ModelPackageSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModelPackageSummary
Trait Implementations
sourceimpl Clone for ModelPackageSummary
impl Clone for ModelPackageSummary
sourcefn clone(&self) -> ModelPackageSummary
fn clone(&self) -> ModelPackageSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModelPackageSummary
impl Debug for ModelPackageSummary
sourceimpl PartialEq<ModelPackageSummary> for ModelPackageSummary
impl PartialEq<ModelPackageSummary> for ModelPackageSummary
sourcefn eq(&self, other: &ModelPackageSummary) -> bool
fn eq(&self, other: &ModelPackageSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModelPackageSummary) -> bool
fn ne(&self, other: &ModelPackageSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModelPackageSummary
Auto Trait Implementations
impl RefUnwindSafe for ModelPackageSummary
impl Send for ModelPackageSummary
impl Sync for ModelPackageSummary
impl Unpin for ModelPackageSummary
impl UnwindSafe for ModelPackageSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more