| 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 |
Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences
Description
Synopsis
- data EffectiveRecommendationPreferences = EffectiveRecommendationPreferences' {}
- newEffectiveRecommendationPreferences :: EffectiveRecommendationPreferences
- effectiveRecommendationPreferences_cpuVendorArchitectures :: Lens' EffectiveRecommendationPreferences (Maybe [CpuVendorArchitecture])
- effectiveRecommendationPreferences_enhancedInfrastructureMetrics :: Lens' EffectiveRecommendationPreferences (Maybe EnhancedInfrastructureMetrics)
- effectiveRecommendationPreferences_externalMetricsPreference :: Lens' EffectiveRecommendationPreferences (Maybe ExternalMetricsPreference)
- effectiveRecommendationPreferences_inferredWorkloadTypes :: Lens' EffectiveRecommendationPreferences (Maybe InferredWorkloadTypesPreference)
Documentation
data EffectiveRecommendationPreferences Source #
Describes the effective recommendation preferences for a resource.
See: newEffectiveRecommendationPreferences smart constructor.
Constructors
| EffectiveRecommendationPreferences' | |
Fields
| |
Instances
newEffectiveRecommendationPreferences :: EffectiveRecommendationPreferences Source #
Create a value of EffectiveRecommendationPreferences 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:cpuVendorArchitectures:EffectiveRecommendationPreferences', effectiveRecommendationPreferences_cpuVendorArchitectures - Describes the CPU vendor and architecture for an instance or Auto
Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
- A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
- A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
- A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
$sel:enhancedInfrastructureMetrics:EffectiveRecommendationPreferences', effectiveRecommendationPreferences_enhancedInfrastructureMetrics - Describes the activation status of the enhanced infrastructure metrics
preference.
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.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
$sel:externalMetricsPreference:EffectiveRecommendationPreferences', effectiveRecommendationPreferences_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:EffectiveRecommendationPreferences', effectiveRecommendationPreferences_inferredWorkloadTypes - Describes the activation status of the inferred workload types
preference.
A status of Active confirms that the preference is applied in the
latest recommendation refresh. A status of Inactive confirms that
it's not yet applied to recommendations.
effectiveRecommendationPreferences_cpuVendorArchitectures :: Lens' EffectiveRecommendationPreferences (Maybe [CpuVendorArchitecture]) Source #
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
- A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
- A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
- A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
effectiveRecommendationPreferences_enhancedInfrastructureMetrics :: Lens' EffectiveRecommendationPreferences (Maybe EnhancedInfrastructureMetrics) Source #
Describes the activation status of the enhanced infrastructure metrics preference.
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.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
effectiveRecommendationPreferences_externalMetricsPreference :: Lens' EffectiveRecommendationPreferences (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.
effectiveRecommendationPreferences_inferredWorkloadTypes :: Lens' EffectiveRecommendationPreferences (Maybe InferredWorkloadTypesPreference) Source #
Describes the activation status of the inferred workload types preference.
A status of Active confirms that the preference is applied in the
latest recommendation refresh. A status of Inactive confirms that
it's not yet applied to recommendations.