Class: Aws::ComputeOptimizer::Types::GetEffectiveRecommendationPreferencesResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::GetEffectiveRecommendationPreferencesResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-computeoptimizer/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#enhanced_infrastructure_metrics ⇒ String
The status of the enhanced infrastructure metrics recommendation preference.
-
#external_metrics_preference ⇒ Types::ExternalMetricsPreference
The provider of the external metrics recommendation preference.
-
#look_back_period ⇒ String
The number of days the utilization metrics of the Amazon Web Services resource are analyzed.
-
#preferred_resources ⇒ Array<Types::EffectivePreferredResource>
The resource type values that are considered as candidates when generating rightsizing recommendations.
-
#utilization_preferences ⇒ Array<Types::UtilizationPreference>
The resource’s CPU and memory utilization preferences, such as threshold and headroom, that were used to generate rightsizing recommendations.
Instance Attribute Details
#enhanced_infrastructure_metrics ⇒ String
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*.
[1]: docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
3179 3180 3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 3179 class GetEffectiveRecommendationPreferencesResponse < Struct.new( :enhanced_infrastructure_metrics, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources) SENSITIVE = [] include Aws::Structure end |
#external_metrics_preference ⇒ Types::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*.
[1]: docs.aws.amazon.com/compute-optimizer/latest/ug/external-metrics-ingestion.html
3179 3180 3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 3179 class GetEffectiveRecommendationPreferencesResponse < Struct.new( :enhanced_infrastructure_metrics, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources) SENSITIVE = [] include Aws::Structure end |
#look_back_period ⇒ String
The number of days the utilization metrics of the Amazon Web Services resource are analyzed.
To validate that the preference is applied to your last generated set of recommendations, review the ‘effectiveRecommendationPreferences` value in the response of the GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.
3179 3180 3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 3179 class GetEffectiveRecommendationPreferencesResponse < Struct.new( :enhanced_infrastructure_metrics, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources) SENSITIVE = [] include Aws::Structure end |
#preferred_resources ⇒ Array<Types::EffectivePreferredResource>
The resource type values that are considered as candidates when generating rightsizing recommendations. This object resolves any wildcard expressions and returns the effective list of candidate resource type values. It also considers all applicable preferences that you set at the resource, account, and organization level.
To validate that the preference is applied to your last generated set of recommendations, review the ‘effectiveRecommendationPreferences` value in the response of the GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.
3179 3180 3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 3179 class GetEffectiveRecommendationPreferencesResponse < Struct.new( :enhanced_infrastructure_metrics, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources) SENSITIVE = [] include Aws::Structure end |
#utilization_preferences ⇒ Array<Types::UtilizationPreference>
The resource’s CPU and memory utilization preferences, such as threshold and headroom, that were used to generate rightsizing recommendations. It considers all applicable preferences that you set at the resource, account, and organization level.
To validate that the preference is applied to your last generated set of recommendations, review the ‘effectiveRecommendationPreferences` value in the response of the GetAutoScalingGroupRecommendations or GetEC2InstanceRecommendations actions.
3179 3180 3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 3179 class GetEffectiveRecommendationPreferencesResponse < Struct.new( :enhanced_infrastructure_metrics, :external_metrics_preference, :look_back_period, :utilization_preferences, :preferred_resources) SENSITIVE = [] include Aws::Structure end |