Struct aws_sdk_sagemaker::types::InferenceMetrics
source · #[non_exhaustive]pub struct InferenceMetrics { /* private fields */ }
Expand description
The metrics for an existing endpoint compared in an Inference Recommender job.
Implementations§
source§impl InferenceMetrics
impl InferenceMetrics
sourcepub fn max_invocations(&self) -> i32
pub fn max_invocations(&self) -> i32
The expected maximum number of requests per minute for the instance.
sourcepub fn model_latency(&self) -> i32
pub fn model_latency(&self) -> 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<InferenceMetrics> for InferenceMetrics
impl PartialEq<InferenceMetrics> 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