#[non_exhaustive]pub struct StartProjectVersionInput {
pub project_version_arn: Option<String>,
pub min_inference_units: Option<i32>,
pub max_inference_units: Option<i32>,
}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.project_version_arn: Option<String>The Amazon Resource Name(ARN) of the model version that you want to start.
min_inference_units: Option<i32>The minimum number of inference units to use. A single inference unit represents 1 hour of processing.
Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
max_inference_units: Option<i32>The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model.
Implementations§
source§impl StartProjectVersionInput
impl StartProjectVersionInput
sourcepub fn project_version_arn(&self) -> Option<&str>
pub fn project_version_arn(&self) -> Option<&str>
The Amazon Resource Name(ARN) of the model version that you want to start.
sourcepub fn min_inference_units(&self) -> Option<i32>
pub fn min_inference_units(&self) -> Option<i32>
The minimum number of inference units to use. A single inference unit represents 1 hour of processing.
Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
sourcepub fn max_inference_units(&self) -> Option<i32>
pub fn max_inference_units(&self) -> Option<i32>
The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model.
source§impl StartProjectVersionInput
impl StartProjectVersionInput
sourcepub fn builder() -> StartProjectVersionInputBuilder
pub fn builder() -> StartProjectVersionInputBuilder
Creates a new builder-style object to manufacture StartProjectVersionInput.
Trait Implementations§
source§impl Clone for StartProjectVersionInput
impl Clone for StartProjectVersionInput
source§fn clone(&self) -> StartProjectVersionInput
fn clone(&self) -> StartProjectVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartProjectVersionInput
impl Debug for StartProjectVersionInput
source§impl PartialEq for StartProjectVersionInput
impl PartialEq for StartProjectVersionInput
source§fn eq(&self, other: &StartProjectVersionInput) -> bool
fn eq(&self, other: &StartProjectVersionInput) -> bool
self and other values to be equal, and is used
by ==.