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

Description

 
Synopsis

Documentation

data GetRecommendationError Source #

Describes an error experienced when getting recommendations.

For example, an error is returned if you request recommendations for an unsupported Auto Scaling group, or if you request recommendations for an instance of an unsupported instance family.

See: newGetRecommendationError smart constructor.

Constructors

GetRecommendationError' 

Fields

Instances

Instances details
Eq GetRecommendationError Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.GetRecommendationError

Read GetRecommendationError Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.GetRecommendationError

Show GetRecommendationError Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.GetRecommendationError

Generic GetRecommendationError Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.GetRecommendationError

Associated Types

type Rep GetRecommendationError :: Type -> Type #

NFData GetRecommendationError Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.GetRecommendationError

Methods

rnf :: GetRecommendationError -> () #

Hashable GetRecommendationError Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.GetRecommendationError

FromJSON GetRecommendationError Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.GetRecommendationError

type Rep GetRecommendationError Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.GetRecommendationError

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

newGetRecommendationError :: GetRecommendationError Source #

Create a value of GetRecommendationError 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:identifier:GetRecommendationError', getRecommendationError_identifier - The ID of the error.

$sel:code:GetRecommendationError', getRecommendationError_code - The error code.

$sel:message:GetRecommendationError', getRecommendationError_message - The message, or reason, for the error.

getRecommendationError_message :: Lens' GetRecommendationError (Maybe Text) Source #

The message, or reason, for the error.