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 ==.