Struct aws_sdk_sagemaker::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationInput
source · #[non_exhaustive]pub struct GetScalingConfigurationRecommendationInput {
pub inference_recommendations_job_name: Option<String>,
pub recommendation_id: Option<String>,
pub endpoint_name: Option<String>,
pub target_cpu_utilization_per_core: Option<i32>,
pub scaling_policy_objective: Option<ScalingPolicyObjective>,
}
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.inference_recommendations_job_name: Option<String>
The name of a previously completed Inference Recommender job.
recommendation_id: Option<String>
The recommendation ID of a previously completed inference recommendation. This ID should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName
field.
Specify either this field or the EndpointName
field.
endpoint_name: Option<String>
The name of an endpoint benchmarked during a previously completed inference recommendation job. This name should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName
field.
Specify either this field or the RecommendationId
field.
target_cpu_utilization_per_core: Option<i32>
The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.
scaling_policy_objective: Option<ScalingPolicyObjective>
An object where you specify the anticipated traffic pattern for an endpoint.
Implementations§
source§impl GetScalingConfigurationRecommendationInput
impl GetScalingConfigurationRecommendationInput
sourcepub fn inference_recommendations_job_name(&self) -> Option<&str>
pub fn inference_recommendations_job_name(&self) -> Option<&str>
The name of a previously completed Inference Recommender job.
sourcepub fn recommendation_id(&self) -> Option<&str>
pub fn recommendation_id(&self) -> Option<&str>
The recommendation ID of a previously completed inference recommendation. This ID should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName
field.
Specify either this field or the EndpointName
field.
sourcepub fn endpoint_name(&self) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
The name of an endpoint benchmarked during a previously completed inference recommendation job. This name should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName
field.
Specify either this field or the RecommendationId
field.
sourcepub fn target_cpu_utilization_per_core(&self) -> Option<i32>
pub fn target_cpu_utilization_per_core(&self) -> Option<i32>
The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.
sourcepub fn scaling_policy_objective(&self) -> Option<&ScalingPolicyObjective>
pub fn scaling_policy_objective(&self) -> Option<&ScalingPolicyObjective>
An object where you specify the anticipated traffic pattern for an endpoint.
source§impl GetScalingConfigurationRecommendationInput
impl GetScalingConfigurationRecommendationInput
sourcepub fn builder() -> GetScalingConfigurationRecommendationInputBuilder
pub fn builder() -> GetScalingConfigurationRecommendationInputBuilder
Creates a new builder-style object to manufacture GetScalingConfigurationRecommendationInput
.
Trait Implementations§
source§impl Clone for GetScalingConfigurationRecommendationInput
impl Clone for GetScalingConfigurationRecommendationInput
source§fn clone(&self) -> GetScalingConfigurationRecommendationInput
fn clone(&self) -> GetScalingConfigurationRecommendationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetScalingConfigurationRecommendationInput
impl PartialEq for GetScalingConfigurationRecommendationInput
source§fn eq(&self, other: &GetScalingConfigurationRecommendationInput) -> bool
fn eq(&self, other: &GetScalingConfigurationRecommendationInput) -> bool
self
and other
values to be equal, and is used
by ==
.