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.impl StructuralPartialEq for GetScalingConfigurationRecommendationOutput
Auto Trait Implementations§
impl Freeze for GetScalingConfigurationRecommendationOutput
impl RefUnwindSafe for GetScalingConfigurationRecommendationOutput
impl Send for GetScalingConfigurationRecommendationOutput
impl Sync for GetScalingConfigurationRecommendationOutput
impl Unpin for GetScalingConfigurationRecommendationOutput
impl UnwindSafe for GetScalingConfigurationRecommendationOutput
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