Struct aws_sdk_sagemaker::operation::get_scaling_configuration_recommendation::GetScalingConfigurationRecommendationOutput
source · #[non_exhaustive]pub struct GetScalingConfigurationRecommendationOutput {
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>,
pub metric: Option<ScalingPolicyMetric>,
pub dynamic_scaling_configuration: Option<DynamicScalingConfiguration>,
/* private fields */
}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.
endpoint_name: Option<String>The name of an endpoint benchmarked during a previously completed Inference Recommender job.
target_cpu_utilization_per_core: Option<i32>The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%.
scaling_policy_objective: Option<ScalingPolicyObjective>An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
metric: Option<ScalingPolicyMetric>An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
dynamic_scaling_configuration: Option<DynamicScalingConfiguration>An object with the recommended values for you to specify when creating an autoscaling policy.
Implementations§
source§impl GetScalingConfigurationRecommendationOutput
impl GetScalingConfigurationRecommendationOutput
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.
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 Recommender job.
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, which you specified in the request. The default value is 50%.
sourcepub fn scaling_policy_objective(&self) -> Option<&ScalingPolicyObjective>
pub fn scaling_policy_objective(&self) -> Option<&ScalingPolicyObjective>
An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
sourcepub fn metric(&self) -> Option<&ScalingPolicyMetric>
pub fn metric(&self) -> Option<&ScalingPolicyMetric>
An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
sourcepub fn dynamic_scaling_configuration(
&self
) -> Option<&DynamicScalingConfiguration>
pub fn dynamic_scaling_configuration( &self ) -> Option<&DynamicScalingConfiguration>
An object with the recommended values for you to specify when creating an autoscaling policy.
source§impl GetScalingConfigurationRecommendationOutput
impl GetScalingConfigurationRecommendationOutput
sourcepub fn builder() -> GetScalingConfigurationRecommendationOutputBuilder
pub fn builder() -> GetScalingConfigurationRecommendationOutputBuilder
Creates a new builder-style object to manufacture GetScalingConfigurationRecommendationOutput.
Trait Implementations§
source§impl Clone for GetScalingConfigurationRecommendationOutput
impl Clone for GetScalingConfigurationRecommendationOutput
source§fn clone(&self) -> GetScalingConfigurationRecommendationOutput
fn clone(&self) -> GetScalingConfigurationRecommendationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetScalingConfigurationRecommendationOutput
impl PartialEq for GetScalingConfigurationRecommendationOutput
source§fn eq(&self, other: &GetScalingConfigurationRecommendationOutput) -> bool
fn eq(&self, other: &GetScalingConfigurationRecommendationOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetScalingConfigurationRecommendationOutput
impl RequestId for GetScalingConfigurationRecommendationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.