#[non_exhaustive]pub struct InferenceComponentSpecificationSummary {
pub model_name: Option<String>,
pub container: Option<InferenceComponentContainerSpecificationSummary>,
pub startup_parameters: Option<InferenceComponentStartupParameters>,
pub compute_resource_requirements: Option<InferenceComponentComputeResourceRequirements>,
}
Expand description
Details about the resources that are deployed with this inference component.
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 SageMaker model object that is deployed with the inference component.
container: Option<InferenceComponentContainerSpecificationSummary>
Details about the container that provides the runtime environment for the model that is deployed with the inference component.
startup_parameters: Option<InferenceComponentStartupParameters>
Settings that take effect while the model container starts up.
compute_resource_requirements: Option<InferenceComponentComputeResourceRequirements>
The compute resources allocated to run the model assigned to the inference component.
Implementations§
source§impl InferenceComponentSpecificationSummary
impl InferenceComponentSpecificationSummary
sourcepub fn model_name(&self) -> Option<&str>
pub fn model_name(&self) -> Option<&str>
The name of the SageMaker model object that is deployed with the inference component.
sourcepub fn container(
&self,
) -> Option<&InferenceComponentContainerSpecificationSummary>
pub fn container( &self, ) -> Option<&InferenceComponentContainerSpecificationSummary>
Details about the container that provides the runtime environment for the model that is deployed with the inference component.
sourcepub fn startup_parameters(&self) -> Option<&InferenceComponentStartupParameters>
pub fn startup_parameters(&self) -> Option<&InferenceComponentStartupParameters>
Settings that take effect while the model container starts up.
sourcepub fn compute_resource_requirements(
&self,
) -> Option<&InferenceComponentComputeResourceRequirements>
pub fn compute_resource_requirements( &self, ) -> Option<&InferenceComponentComputeResourceRequirements>
The compute resources allocated to run the model assigned to the inference component.
source§impl InferenceComponentSpecificationSummary
impl InferenceComponentSpecificationSummary
sourcepub fn builder() -> InferenceComponentSpecificationSummaryBuilder
pub fn builder() -> InferenceComponentSpecificationSummaryBuilder
Creates a new builder-style object to manufacture InferenceComponentSpecificationSummary
.
Trait Implementations§
source§impl Clone for InferenceComponentSpecificationSummary
impl Clone for InferenceComponentSpecificationSummary
source§fn clone(&self) -> InferenceComponentSpecificationSummary
fn clone(&self) -> InferenceComponentSpecificationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for InferenceComponentSpecificationSummary
impl PartialEq for InferenceComponentSpecificationSummary
source§fn eq(&self, other: &InferenceComponentSpecificationSummary) -> bool
fn eq(&self, other: &InferenceComponentSpecificationSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InferenceComponentSpecificationSummary
Auto Trait Implementations§
impl Freeze for InferenceComponentSpecificationSummary
impl RefUnwindSafe for InferenceComponentSpecificationSummary
impl Send for InferenceComponentSpecificationSummary
impl Sync for InferenceComponentSpecificationSummary
impl Unpin for InferenceComponentSpecificationSummary
impl UnwindSafe for InferenceComponentSpecificationSummary
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