#[non_exhaustive]pub struct PendingProductionVariantSummary { /* private fields */ }
Expand description
The production variant summary for a deployment when an endpoint is creating or updating with the
or CreateEndpoint
operations. Describes the UpdateEndpoint
VariantStatus
, weight and capacity for a production variant associated with an endpoint.
Implementations§
source§impl PendingProductionVariantSummary
impl PendingProductionVariantSummary
sourcepub fn variant_name(&self) -> Option<&str>
pub fn variant_name(&self) -> Option<&str>
The name of the variant.
sourcepub fn deployed_images(&self) -> Option<&[DeployedImage]>
pub fn deployed_images(&self) -> Option<&[DeployedImage]>
An array of DeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this ProductionVariant
.
sourcepub fn current_weight(&self) -> Option<f32>
pub fn current_weight(&self) -> Option<f32>
The weight associated with the variant.
sourcepub fn desired_weight(&self) -> Option<f32>
pub fn desired_weight(&self) -> Option<f32>
The requested weight for the variant in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the
operation.CreateEndpointConfig
sourcepub fn current_instance_count(&self) -> Option<i32>
pub fn current_instance_count(&self) -> Option<i32>
The number of instances associated with the variant.
sourcepub fn desired_instance_count(&self) -> Option<i32>
pub fn desired_instance_count(&self) -> Option<i32>
The number of instances requested in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the
operation.CreateEndpointConfig
sourcepub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
pub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
The type of instances associated with the variant.
sourcepub fn accelerator_type(&self) -> Option<&ProductionVariantAcceleratorType>
pub fn accelerator_type(&self) -> Option<&ProductionVariantAcceleratorType>
The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.
sourcepub fn variant_status(&self) -> Option<&[ProductionVariantStatus]>
pub fn variant_status(&self) -> Option<&[ProductionVariantStatus]>
The endpoint variant status which describes the current deployment stage status or operational status.
sourcepub fn current_serverless_config(
&self
) -> Option<&ProductionVariantServerlessConfig>
pub fn current_serverless_config(
&self
) -> Option<&ProductionVariantServerlessConfig>
The serverless configuration for the endpoint.
sourcepub fn desired_serverless_config(
&self
) -> Option<&ProductionVariantServerlessConfig>
pub fn desired_serverless_config(
&self
) -> Option<&ProductionVariantServerlessConfig>
The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.
source§impl PendingProductionVariantSummary
impl PendingProductionVariantSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PendingProductionVariantSummary
.
Trait Implementations§
source§impl Clone for PendingProductionVariantSummary
impl Clone for PendingProductionVariantSummary
source§fn clone(&self) -> PendingProductionVariantSummary
fn clone(&self) -> PendingProductionVariantSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<PendingProductionVariantSummary> for PendingProductionVariantSummary
impl PartialEq<PendingProductionVariantSummary> for PendingProductionVariantSummary
source§fn eq(&self, other: &PendingProductionVariantSummary) -> bool
fn eq(&self, other: &PendingProductionVariantSummary) -> bool
self
and other
values to be equal, and is used
by ==
.