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.RecommendationPreferencesDetail

Description

 
Synopsis

Documentation

data RecommendationPreferencesDetail Source #

Describes a recommendation preference.

See: newRecommendationPreferencesDetail smart constructor.

Constructors

RecommendationPreferencesDetail' 

Fields

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

  • 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

    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.

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

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

Instances

Instances details
FromJSON RecommendationPreferencesDetail Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferencesDetail

Generic RecommendationPreferencesDetail Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferencesDetail

Associated Types

type Rep RecommendationPreferencesDetail :: Type -> Type #

Read RecommendationPreferencesDetail Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferencesDetail

Show RecommendationPreferencesDetail Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferencesDetail

NFData RecommendationPreferencesDetail Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferencesDetail

Eq RecommendationPreferencesDetail Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferencesDetail

Hashable RecommendationPreferencesDetail Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferencesDetail

type Rep RecommendationPreferencesDetail Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationPreferencesDetail

type Rep RecommendationPreferencesDetail = D1 ('MetaData "RecommendationPreferencesDetail" "Amazonka.ComputeOptimizer.Types.RecommendationPreferencesDetail" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "RecommendationPreferencesDetail'" 'PrefixI 'True) ((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)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)) :*: S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Scope))))))

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.