amazonka-compute-optimizer-2.0: Amazon Compute Optimizer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences

Description

 
Synopsis

Documentation

data EffectiveRecommendationPreferences Source #

Describes the effective recommendation preferences for a resource.

See: newEffectiveRecommendationPreferences smart constructor.

Constructors

EffectiveRecommendationPreferences' 

Fields

  • cpuVendorArchitectures :: Maybe [CpuVendorArchitecture]

    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.
  • enhancedInfrastructureMetrics :: Maybe 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.

  • externalMetricsPreference :: Maybe 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.

  • inferredWorkloadTypes :: Maybe 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.

Instances

Instances details
FromJSON EffectiveRecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences

Generic EffectiveRecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences

Associated Types

type Rep EffectiveRecommendationPreferences :: Type -> Type #

Read EffectiveRecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences

Show EffectiveRecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences

NFData EffectiveRecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences

Eq EffectiveRecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences

Hashable EffectiveRecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences

type Rep EffectiveRecommendationPreferences Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences

type Rep EffectiveRecommendationPreferences = D1 ('MetaData "EffectiveRecommendationPreferences" "Amazonka.ComputeOptimizer.Types.EffectiveRecommendationPreferences" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "EffectiveRecommendationPreferences'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cpuVendorArchitectures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CpuVendorArchitecture])) :*: S1 ('MetaSel ('Just "enhancedInfrastructureMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnhancedInfrastructureMetrics))) :*: (S1 ('MetaSel ('Just "externalMetricsPreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExternalMetricsPreference)) :*: S1 ('MetaSel ('Just "inferredWorkloadTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InferredWorkloadTypesPreference)))))

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.