Struct aws_sdk_sagemaker::types::DeploymentRecommendation
source · #[non_exhaustive]pub struct DeploymentRecommendation {
pub recommendation_status: Option<RecommendationStatus>,
pub real_time_inference_recommendations: Option<Vec<RealTimeInferenceRecommendation>>,
}
Expand description
A set of recommended deployment configurations for the model. To get more advanced recommendations, see CreateInferenceRecommendationsJob to create an inference recommendation job.
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_status: Option<RecommendationStatus>
Status of the deployment recommendation. The status NOT_APPLICABLE
means that SageMaker is unable to provide a default recommendation for the model using the information provided. If the deployment status is IN_PROGRESS
, retry your API call after a few seconds to get a COMPLETED
deployment recommendation.
real_time_inference_recommendations: Option<Vec<RealTimeInferenceRecommendation>>
A list of RealTimeInferenceRecommendation items.
Implementations§
source§impl DeploymentRecommendation
impl DeploymentRecommendation
sourcepub fn recommendation_status(&self) -> Option<&RecommendationStatus>
pub fn recommendation_status(&self) -> Option<&RecommendationStatus>
Status of the deployment recommendation. The status NOT_APPLICABLE
means that SageMaker is unable to provide a default recommendation for the model using the information provided. If the deployment status is IN_PROGRESS
, retry your API call after a few seconds to get a COMPLETED
deployment recommendation.
sourcepub fn real_time_inference_recommendations(
&self,
) -> &[RealTimeInferenceRecommendation]
pub fn real_time_inference_recommendations( &self, ) -> &[RealTimeInferenceRecommendation]
A list of RealTimeInferenceRecommendation items.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .real_time_inference_recommendations.is_none()
.
source§impl DeploymentRecommendation
impl DeploymentRecommendation
sourcepub fn builder() -> DeploymentRecommendationBuilder
pub fn builder() -> DeploymentRecommendationBuilder
Creates a new builder-style object to manufacture DeploymentRecommendation
.
Trait Implementations§
source§impl Clone for DeploymentRecommendation
impl Clone for DeploymentRecommendation
source§fn clone(&self) -> DeploymentRecommendation
fn clone(&self) -> DeploymentRecommendation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentRecommendation
impl Debug for DeploymentRecommendation
source§impl PartialEq for DeploymentRecommendation
impl PartialEq for DeploymentRecommendation
source§fn eq(&self, other: &DeploymentRecommendation) -> bool
fn eq(&self, other: &DeploymentRecommendation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentRecommendation
Auto Trait Implementations§
impl Freeze for DeploymentRecommendation
impl RefUnwindSafe for DeploymentRecommendation
impl Send for DeploymentRecommendation
impl Sync for DeploymentRecommendation
impl Unpin for DeploymentRecommendation
impl UnwindSafe for DeploymentRecommendation
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