Struct aws_sdk_sagemaker::types::InferenceRecommendation
source · #[non_exhaustive]pub struct InferenceRecommendation {
pub recommendation_id: Option<String>,
pub metrics: Option<RecommendationMetrics>,
pub endpoint_configuration: Option<EndpointOutputConfiguration>,
pub model_configuration: Option<ModelConfiguration>,
pub invocation_end_time: Option<DateTime>,
pub invocation_start_time: Option<DateTime>,
}
Expand description
A list of recommendations made by Amazon SageMaker Inference Recommender.
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.recommendation_id: Option<String>
The recommendation ID which uniquely identifies each recommendation.
metrics: Option<RecommendationMetrics>
The metrics used to decide what recommendation to make.
endpoint_configuration: Option<EndpointOutputConfiguration>
Defines the endpoint configuration parameters.
model_configuration: Option<ModelConfiguration>
Defines the model configuration.
invocation_end_time: Option<DateTime>
A timestamp that shows when the benchmark completed.
invocation_start_time: Option<DateTime>
A timestamp that shows when the benchmark started.
Implementations§
source§impl InferenceRecommendation
impl InferenceRecommendation
sourcepub fn recommendation_id(&self) -> Option<&str>
pub fn recommendation_id(&self) -> Option<&str>
The recommendation ID which uniquely identifies each recommendation.
sourcepub fn metrics(&self) -> Option<&RecommendationMetrics>
pub fn metrics(&self) -> Option<&RecommendationMetrics>
The metrics used to decide what recommendation to make.
sourcepub fn endpoint_configuration(&self) -> Option<&EndpointOutputConfiguration>
pub fn endpoint_configuration(&self) -> Option<&EndpointOutputConfiguration>
Defines the endpoint configuration parameters.
sourcepub fn model_configuration(&self) -> Option<&ModelConfiguration>
pub fn model_configuration(&self) -> Option<&ModelConfiguration>
Defines the model configuration.
sourcepub fn invocation_end_time(&self) -> Option<&DateTime>
pub fn invocation_end_time(&self) -> Option<&DateTime>
A timestamp that shows when the benchmark completed.
sourcepub fn invocation_start_time(&self) -> Option<&DateTime>
pub fn invocation_start_time(&self) -> Option<&DateTime>
A timestamp that shows when the benchmark started.
source§impl InferenceRecommendation
impl InferenceRecommendation
sourcepub fn builder() -> InferenceRecommendationBuilder
pub fn builder() -> InferenceRecommendationBuilder
Creates a new builder-style object to manufacture InferenceRecommendation
.
Trait Implementations§
source§impl Clone for InferenceRecommendation
impl Clone for InferenceRecommendation
source§fn clone(&self) -> InferenceRecommendation
fn clone(&self) -> InferenceRecommendation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InferenceRecommendation
impl Debug for InferenceRecommendation
source§impl PartialEq for InferenceRecommendation
impl PartialEq for InferenceRecommendation
impl StructuralPartialEq for InferenceRecommendation
Auto Trait Implementations§
impl Freeze for InferenceRecommendation
impl RefUnwindSafe for InferenceRecommendation
impl Send for InferenceRecommendation
impl Sync for InferenceRecommendation
impl Unpin for InferenceRecommendation
impl UnwindSafe for InferenceRecommendation
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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