#[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
impl StructuralPartialEq for StartProjectVersionInput
Auto Trait Implementations§
impl Freeze for StartProjectVersionInput
impl RefUnwindSafe for StartProjectVersionInput
impl Send for StartProjectVersionInput
impl Sync for StartProjectVersionInput
impl Unpin for StartProjectVersionInput
impl UnwindSafe for StartProjectVersionInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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