Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data RecommendationPreferencesDetail = RecommendationPreferencesDetail' {}
- newRecommendationPreferencesDetail :: RecommendationPreferencesDetail
- recommendationPreferencesDetail_enhancedInfrastructureMetrics :: Lens' RecommendationPreferencesDetail (Maybe EnhancedInfrastructureMetrics)
- recommendationPreferencesDetail_externalMetricsPreference :: Lens' RecommendationPreferencesDetail (Maybe ExternalMetricsPreference)
- recommendationPreferencesDetail_inferredWorkloadTypes :: Lens' RecommendationPreferencesDetail (Maybe InferredWorkloadTypesPreference)
- recommendationPreferencesDetail_resourceType :: Lens' RecommendationPreferencesDetail (Maybe ResourceType)
- recommendationPreferencesDetail_scope :: Lens' RecommendationPreferencesDetail (Maybe Scope)
Documentation
data RecommendationPreferencesDetail Source #
Describes a recommendation preference.
See: newRecommendationPreferencesDetail
smart constructor.
RecommendationPreferencesDetail' | |
|
Instances
newRecommendationPreferencesDetail :: RecommendationPreferencesDetail Source #
Create a value of RecommendationPreferencesDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enhancedInfrastructureMetrics:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_enhancedInfrastructureMetrics
- The status of the enhanced infrastructure metrics recommendation
preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is applied to the recommendations, and a
status of Inactive
confirms that the preference isn't yet applied to
recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
$sel:externalMetricsPreference:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_externalMetricsPreference
- An object that describes the external metrics recommendation preference.
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.
$sel:inferredWorkloadTypes:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_inferredWorkloadTypes
- The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is applied to the recommendations, and a
status of Inactive
confirms that the preference isn't yet applied to
recommendations.
$sel:resourceType:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_resourceType
- The target resource type of the recommendation preference to create.
The Ec2Instance
option encompasses standalone instances and instances
that are part of Auto Scaling groups. The AutoScalingGroup
option
encompasses only instances that are part of an Auto Scaling group.
$sel:scope:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_scope
- An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
recommendationPreferencesDetail_enhancedInfrastructureMetrics :: Lens' RecommendationPreferencesDetail (Maybe EnhancedInfrastructureMetrics) Source #
The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is applied to the recommendations, and a
status of Inactive
confirms that the preference isn't yet applied to
recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
recommendationPreferencesDetail_externalMetricsPreference :: Lens' RecommendationPreferencesDetail (Maybe ExternalMetricsPreference) Source #
An object that describes the external metrics recommendation preference.
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.
recommendationPreferencesDetail_inferredWorkloadTypes :: Lens' RecommendationPreferencesDetail (Maybe InferredWorkloadTypesPreference) Source #
The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is applied to the recommendations, and a
status of Inactive
confirms that the preference isn't yet applied to
recommendations.
recommendationPreferencesDetail_resourceType :: Lens' RecommendationPreferencesDetail (Maybe ResourceType) Source #
The target resource type of the recommendation preference to create.
The Ec2Instance
option encompasses standalone instances and instances
that are part of Auto Scaling groups. The AutoScalingGroup
option
encompasses only instances that are part of an Auto Scaling group.
recommendationPreferencesDetail_scope :: Lens' RecommendationPreferencesDetail (Maybe Scope) Source #
An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.