libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ComputeOptimizer.Types.RecommendationSource

Description

 
Synopsis

Documentation

data RecommendationSource Source #

Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling group.

See: newRecommendationSource smart constructor.

Constructors

RecommendationSource' 

Fields

Instances

Instances details
Eq RecommendationSource Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationSource

Read RecommendationSource Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationSource

Show RecommendationSource Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationSource

Generic RecommendationSource Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationSource

Associated Types

type Rep RecommendationSource :: Type -> Type #

NFData RecommendationSource Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationSource

Methods

rnf :: RecommendationSource -> () #

Hashable RecommendationSource Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationSource

FromJSON RecommendationSource Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationSource

type Rep RecommendationSource Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.RecommendationSource

type Rep RecommendationSource = D1 ('MetaData "RecommendationSource" "Amazonka.ComputeOptimizer.Types.RecommendationSource" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "RecommendationSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recommendationSourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recommendationSourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecommendationSourceType))))

newRecommendationSource :: RecommendationSource Source #

Create a value of RecommendationSource 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:recommendationSourceArn:RecommendationSource', recommendationSource_recommendationSourceArn - The Amazon Resource Name (ARN) of the recommendation source.

$sel:recommendationSourceType:RecommendationSource', recommendationSource_recommendationSourceType - The resource type of the recommendation source.

recommendationSource_recommendationSourceArn :: Lens' RecommendationSource (Maybe Text) Source #

The Amazon Resource Name (ARN) of the recommendation source.