#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for PendingProductionVariantSummary
Implementations
The name of the variant.
The name of the variant.
Appends an item to deployed_images
.
To override the contents of this collection use set_deployed_images
.
An array of DeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this ProductionVariant
.
An array of DeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this ProductionVariant
.
The weight associated with the variant.
The weight associated with the variant.
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
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
The number of instances associated with the variant.
The number of instances associated with the variant.
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
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
The type of instances associated with the variant.
The type of instances associated with the variant.
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.
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.
Appends an item to variant_status
.
To override the contents of this collection use set_variant_status
.
The endpoint variant status which describes the current deployment stage status or operational status.
The endpoint variant status which describes the current deployment stage status or operational status.
The serverless configuration for the endpoint.
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
pub fn set_current_serverless_config(
self,
input: Option<ProductionVariantServerlessConfig>
) -> Self
pub fn set_current_serverless_config(
self,
input: Option<ProductionVariantServerlessConfig>
) -> Self
The serverless configuration for the endpoint.
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
pub fn set_desired_serverless_config(
self,
input: Option<ProductionVariantServerlessConfig>
) -> Self
pub fn set_desired_serverless_config(
self,
input: Option<ProductionVariantServerlessConfig>
) -> Self
The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
Consumes the builder and constructs a PendingProductionVariantSummary
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more