Struct aws_sdk_sagemaker::types::InferenceMetrics
source · #[non_exhaustive]pub struct InferenceMetrics {
pub max_invocations: Option<i32>,
pub model_latency: Option<i32>,
}
Expand description
The metrics for an existing endpoint compared in an Inference Recommender job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_invocations: Option<i32>
The expected maximum number of requests per minute for the instance.
model_latency: Option<i32>
The expected model latency at maximum invocations per minute for the instance.
Implementations§
source§impl InferenceMetrics
impl InferenceMetrics
sourcepub fn max_invocations(&self) -> Option<i32>
pub fn max_invocations(&self) -> Option<i32>
The expected maximum number of requests per minute for the instance.
sourcepub fn model_latency(&self) -> Option<i32>
pub fn model_latency(&self) -> Option<i32>
The expected model latency at maximum invocations per minute for the instance.
source§impl InferenceMetrics
impl InferenceMetrics
sourcepub fn builder() -> InferenceMetricsBuilder
pub fn builder() -> InferenceMetricsBuilder
Creates a new builder-style object to manufacture InferenceMetrics
.
Trait Implementations§
source§impl Clone for InferenceMetrics
impl Clone for InferenceMetrics
source§fn clone(&self) -> InferenceMetrics
fn clone(&self) -> InferenceMetrics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InferenceMetrics
impl Debug for InferenceMetrics
source§impl PartialEq for InferenceMetrics
impl PartialEq for InferenceMetrics
source§fn eq(&self, other: &InferenceMetrics) -> bool
fn eq(&self, other: &InferenceMetrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InferenceMetrics
Auto Trait Implementations§
impl RefUnwindSafe for InferenceMetrics
impl Send for InferenceMetrics
impl Sync for InferenceMetrics
impl Unpin for InferenceMetrics
impl UnwindSafe for InferenceMetrics
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.