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

Description

 
Synopsis

Documentation

data Summary Source #

The summary of a recommendation.

See: newSummary smart constructor.

Constructors

Summary' 

Fields

Instances

Instances details
Eq Summary Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.Summary

Methods

(==) :: Summary -> Summary -> Bool #

(/=) :: Summary -> Summary -> Bool #

Read Summary Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.Summary

Show Summary Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.Summary

Generic Summary Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.Summary

Associated Types

type Rep Summary :: Type -> Type #

Methods

from :: Summary -> Rep Summary x #

to :: Rep Summary x -> Summary #

NFData Summary Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.Summary

Methods

rnf :: Summary -> () #

Hashable Summary Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.Summary

Methods

hashWithSalt :: Int -> Summary -> Int #

hash :: Summary -> Int #

FromJSON Summary Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.Summary

type Rep Summary Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.Summary

type Rep Summary = D1 ('MetaData "Summary" "Amazonka.ComputeOptimizer.Types.Summary" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "Summary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reasonCodeSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReasonCodeSummary])) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Finding)))))

newSummary :: Summary Source #

Create a value of Summary 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:reasonCodeSummaries:Summary', summary_reasonCodeSummaries - An array of objects that summarize a finding reason code.

$sel:value:Summary', summary_value - The value of the recommendation summary.

$sel:name:Summary', summary_name - The finding classification of the recommendation.

summary_reasonCodeSummaries :: Lens' Summary (Maybe [ReasonCodeSummary]) Source #

An array of objects that summarize a finding reason code.

summary_value :: Lens' Summary (Maybe Double) Source #

The value of the recommendation summary.

summary_name :: Lens' Summary (Maybe Finding) Source #

The finding classification of the recommendation.