#[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 ==
.