#[non_exhaustive]pub struct EffectiveRecommendationPreferences {
pub cpu_vendor_architectures: Option<Vec<CpuVendorArchitecture>>,
pub enhanced_infrastructure_metrics: Option<EnhancedInfrastructureMetrics>,
pub inferred_workload_types: Option<InferredWorkloadTypesPreference>,
}Expand description
Describes the effective recommendation preferences for a resource.
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.cpu_vendor_architectures: Option<Vec<CpuVendorArchitecture>>Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
-
A
GetEC2InstanceRecommendationsorGetAutoScalingGroupRecommendationsrequest, Compute Optimizer returns recommendations that consist of Graviton2 instance types only. -
A
GetEC2RecommendationProjectedMetricsrequest, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only. -
A
ExportEC2InstanceRecommendationsorExportAutoScalingGroupRecommendationsrequest, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
enhanced_infrastructure_metrics: Option<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.
inferred_workload_types: Option<InferredWorkloadTypesPreference>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.
Implementations
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
-
A
GetEC2InstanceRecommendationsorGetAutoScalingGroupRecommendationsrequest, Compute Optimizer returns recommendations that consist of Graviton2 instance types only. -
A
GetEC2RecommendationProjectedMetricsrequest, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only. -
A
ExportEC2InstanceRecommendationsorExportAutoScalingGroupRecommendationsrequest, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
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.
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.
Creates a new builder-style object to manufacture EffectiveRecommendationPreferences
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for EffectiveRecommendationPreferences
impl Sync for EffectiveRecommendationPreferences
impl Unpin for EffectiveRecommendationPreferences
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more