amazonka-cost-explorer-2.0: Amazon Cost Explorer Service 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.CostExplorer.Types.Impact

Description

 
Synopsis

Documentation

data Impact Source #

The dollar value of the anomaly.

See: newImpact smart constructor.

Constructors

Impact' 

Fields

  • totalActualSpend :: Maybe Double

    The cumulative dollar amount that was actually spent during the anomaly.

  • totalExpectedSpend :: Maybe Double

    The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer.

  • totalImpact :: Maybe Double

    The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as TotalActualSpend - TotalExpectedSpend.

  • totalImpactPercentage :: Maybe Double

    The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) * 100. When TotalExpectedSpend is zero, this field is omitted. Expected spend can be zero in situations such as when you start to use a service for the first time.

  • maxImpact :: Double

    The maximum dollar value that's observed for an anomaly.

Instances

Instances details
FromJSON Impact Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Impact

Generic Impact Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Impact

Associated Types

type Rep Impact :: Type -> Type #

Methods

from :: Impact -> Rep Impact x #

to :: Rep Impact x -> Impact #

Read Impact Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Impact

Show Impact Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Impact

NFData Impact Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Impact

Methods

rnf :: Impact -> () #

Eq Impact Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Impact

Methods

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

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

Hashable Impact Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Impact

Methods

hashWithSalt :: Int -> Impact -> Int #

hash :: Impact -> Int #

type Rep Impact Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Impact

type Rep Impact = D1 ('MetaData "Impact" "Amazonka.CostExplorer.Types.Impact" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "Impact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "totalActualSpend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "totalExpectedSpend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "totalImpact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "totalImpactPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "maxImpact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))))

newImpact Source #

Create a value of Impact 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:totalActualSpend:Impact', impact_totalActualSpend - The cumulative dollar amount that was actually spent during the anomaly.

$sel:totalExpectedSpend:Impact', impact_totalExpectedSpend - The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer.

$sel:totalImpact:Impact', impact_totalImpact - The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as TotalActualSpend - TotalExpectedSpend.

$sel:totalImpactPercentage:Impact', impact_totalImpactPercentage - The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) * 100. When TotalExpectedSpend is zero, this field is omitted. Expected spend can be zero in situations such as when you start to use a service for the first time.

$sel:maxImpact:Impact', impact_maxImpact - The maximum dollar value that's observed for an anomaly.

impact_totalActualSpend :: Lens' Impact (Maybe Double) Source #

The cumulative dollar amount that was actually spent during the anomaly.

impact_totalExpectedSpend :: Lens' Impact (Maybe Double) Source #

The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer.

impact_totalImpact :: Lens' Impact (Maybe Double) Source #

The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as TotalActualSpend - TotalExpectedSpend.

impact_totalImpactPercentage :: Lens' Impact (Maybe Double) Source #

The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) * 100. When TotalExpectedSpend is zero, this field is omitted. Expected spend can be zero in situations such as when you start to use a service for the first time.

impact_maxImpact :: Lens' Impact Double Source #

The maximum dollar value that's observed for an anomaly.