Struct aws_sdk_computeoptimizer::operation::get_effective_recommendation_preferences::GetEffectiveRecommendationPreferencesOutput
source · #[non_exhaustive]pub struct GetEffectiveRecommendationPreferencesOutput { /* private fields */ }
Implementations§
source§impl GetEffectiveRecommendationPreferencesOutput
impl GetEffectiveRecommendationPreferencesOutput
sourcepub fn enhanced_infrastructure_metrics(
&self
) -> Option<&EnhancedInfrastructureMetrics>
pub fn enhanced_infrastructure_metrics( &self ) -> Option<&EnhancedInfrastructureMetrics>
The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level.
A status of Active
confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive
confirms that it's not yet applied to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences
value in the response of the GetAutoScalingGroupRecommendations
and GetEC2InstanceRecommendations
actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
sourcepub fn external_metrics_preference(&self) -> Option<&ExternalMetricsPreference>
pub fn external_metrics_preference(&self) -> Option<&ExternalMetricsPreference>
The provider of the external metrics recommendation preference. Considers all applicable preferences that you might have set at the account and organization level.
If the preference is applied in the latest recommendation refresh, an object with a valid source
value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.
To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences
value in the response of the GetEC2InstanceRecommendations
actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
source§impl GetEffectiveRecommendationPreferencesOutput
impl GetEffectiveRecommendationPreferencesOutput
sourcepub fn builder() -> GetEffectiveRecommendationPreferencesOutputBuilder
pub fn builder() -> GetEffectiveRecommendationPreferencesOutputBuilder
Creates a new builder-style object to manufacture GetEffectiveRecommendationPreferencesOutput
.
Trait Implementations§
source§impl Clone for GetEffectiveRecommendationPreferencesOutput
impl Clone for GetEffectiveRecommendationPreferencesOutput
source§fn clone(&self) -> GetEffectiveRecommendationPreferencesOutput
fn clone(&self) -> GetEffectiveRecommendationPreferencesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<GetEffectiveRecommendationPreferencesOutput> for GetEffectiveRecommendationPreferencesOutput
impl PartialEq<GetEffectiveRecommendationPreferencesOutput> for GetEffectiveRecommendationPreferencesOutput
source§fn eq(&self, other: &GetEffectiveRecommendationPreferencesOutput) -> bool
fn eq(&self, other: &GetEffectiveRecommendationPreferencesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetEffectiveRecommendationPreferencesOutput
impl RequestId for GetEffectiveRecommendationPreferencesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.