libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
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.CostExplorer.Types.RightsizingRecommendation

Description

 
Synopsis

Documentation

data RightsizingRecommendation Source #

Recommendations to rightsize resources.

See: newRightsizingRecommendation smart constructor.

Constructors

RightsizingRecommendation' 

Fields

Instances

Instances details
Eq RightsizingRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RightsizingRecommendation

Read RightsizingRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RightsizingRecommendation

Show RightsizingRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RightsizingRecommendation

Generic RightsizingRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RightsizingRecommendation

Associated Types

type Rep RightsizingRecommendation :: Type -> Type #

NFData RightsizingRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RightsizingRecommendation

Hashable RightsizingRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RightsizingRecommendation

FromJSON RightsizingRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RightsizingRecommendation

type Rep RightsizingRecommendation Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RightsizingRecommendation

type Rep RightsizingRecommendation = D1 ('MetaData "RightsizingRecommendation" "Amazonka.CostExplorer.Types.RightsizingRecommendation" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "RightsizingRecommendation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "findingReasonCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FindingReasonCode])) :*: S1 ('MetaSel ('Just "modifyRecommendationDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModifyRecommendationDetail)))) :*: (S1 ('MetaSel ('Just "currentInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CurrentInstance)) :*: (S1 ('MetaSel ('Just "rightsizingType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RightsizingType)) :*: S1 ('MetaSel ('Just "terminateRecommendationDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TerminateRecommendationDetail))))))

newRightsizingRecommendation :: RightsizingRecommendation Source #

Create a value of RightsizingRecommendation 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:accountId:RightsizingRecommendation', rightsizingRecommendation_accountId - The account that this recommendation is for.

$sel:findingReasonCodes:RightsizingRecommendation', rightsizingRecommendation_findingReasonCodes - The list of possible reasons why the recommendation is generated such as under or over utilization of specific metrics (for example, CPU, Memory, Network).

$sel:modifyRecommendationDetail:RightsizingRecommendation', rightsizingRecommendation_modifyRecommendationDetail - The details for the modification recommendations.

$sel:currentInstance:RightsizingRecommendation', rightsizingRecommendation_currentInstance - Context regarding the current instance.

$sel:rightsizingType:RightsizingRecommendation', rightsizingRecommendation_rightsizingType - A recommendation to either terminate or modify the resource.

$sel:terminateRecommendationDetail:RightsizingRecommendation', rightsizingRecommendation_terminateRecommendationDetail - The details for termination recommendations.

rightsizingRecommendation_accountId :: Lens' RightsizingRecommendation (Maybe Text) Source #

The account that this recommendation is for.

rightsizingRecommendation_findingReasonCodes :: Lens' RightsizingRecommendation (Maybe [FindingReasonCode]) Source #

The list of possible reasons why the recommendation is generated such as under or over utilization of specific metrics (for example, CPU, Memory, Network).

rightsizingRecommendation_rightsizingType :: Lens' RightsizingRecommendation (Maybe RightsizingType) Source #

A recommendation to either terminate or modify the resource.