#[non_exhaustive]pub struct ModelVariantConfigSummary {
pub model_name: Option<String>,
pub variant_name: Option<String>,
pub infrastructure_config: Option<ModelInfrastructureConfig>,
pub status: Option<ModelVariantStatus>,
}
Expand description
Summary of the deployment configuration of a model.
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_name: Option<String>
The name of the Amazon SageMaker Model entity.
variant_name: Option<String>
The name of the variant.
infrastructure_config: Option<ModelInfrastructureConfig>
The configuration of the infrastructure that the model has been deployed to.
status: Option<ModelVariantStatus>
The status of deployment for the model variant on the hosted inference endpoint.
-
Creating
- Amazon SageMaker is preparing the model variant on the hosted inference endpoint. -
InService
- The model variant is running on the hosted inference endpoint. -
Updating
- Amazon SageMaker is updating the model variant on the hosted inference endpoint. -
Deleting
- Amazon SageMaker is deleting the model variant on the hosted inference endpoint. -
Deleted
- The model variant has been deleted on the hosted inference endpoint. This can only happen after stopping the experiment.
Implementations§
source§impl ModelVariantConfigSummary
impl ModelVariantConfigSummary
sourcepub fn model_name(&self) -> Option<&str>
pub fn model_name(&self) -> Option<&str>
The name of the Amazon SageMaker Model entity.
sourcepub fn variant_name(&self) -> Option<&str>
pub fn variant_name(&self) -> Option<&str>
The name of the variant.
sourcepub fn infrastructure_config(&self) -> Option<&ModelInfrastructureConfig>
pub fn infrastructure_config(&self) -> Option<&ModelInfrastructureConfig>
The configuration of the infrastructure that the model has been deployed to.
sourcepub fn status(&self) -> Option<&ModelVariantStatus>
pub fn status(&self) -> Option<&ModelVariantStatus>
The status of deployment for the model variant on the hosted inference endpoint.
-
Creating
- Amazon SageMaker is preparing the model variant on the hosted inference endpoint. -
InService
- The model variant is running on the hosted inference endpoint. -
Updating
- Amazon SageMaker is updating the model variant on the hosted inference endpoint. -
Deleting
- Amazon SageMaker is deleting the model variant on the hosted inference endpoint. -
Deleted
- The model variant has been deleted on the hosted inference endpoint. This can only happen after stopping the experiment.
source§impl ModelVariantConfigSummary
impl ModelVariantConfigSummary
sourcepub fn builder() -> ModelVariantConfigSummaryBuilder
pub fn builder() -> ModelVariantConfigSummaryBuilder
Creates a new builder-style object to manufacture ModelVariantConfigSummary
.
Trait Implementations§
source§impl Clone for ModelVariantConfigSummary
impl Clone for ModelVariantConfigSummary
source§fn clone(&self) -> ModelVariantConfigSummary
fn clone(&self) -> ModelVariantConfigSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModelVariantConfigSummary
impl Debug for ModelVariantConfigSummary
source§impl PartialEq for ModelVariantConfigSummary
impl PartialEq for ModelVariantConfigSummary
source§fn eq(&self, other: &ModelVariantConfigSummary) -> bool
fn eq(&self, other: &ModelVariantConfigSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModelVariantConfigSummary
Auto Trait Implementations§
impl Freeze for ModelVariantConfigSummary
impl RefUnwindSafe for ModelVariantConfigSummary
impl Send for ModelVariantConfigSummary
impl Sync for ModelVariantConfigSummary
impl Unpin for ModelVariantConfigSummary
impl UnwindSafe for ModelVariantConfigSummary
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