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

Description

 
Synopsis

Documentation

data Anomaly Source #

An unusual cost pattern. This consists of the detailed metadata and the current status of the anomaly object.

See: newAnomaly smart constructor.

Constructors

Anomaly' 

Fields

Instances

Instances details
Eq Anomaly Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Anomaly

Methods

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

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

Read Anomaly Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Anomaly

Show Anomaly Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Anomaly

Generic Anomaly Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Anomaly

Associated Types

type Rep Anomaly :: Type -> Type #

Methods

from :: Anomaly -> Rep Anomaly x #

to :: Rep Anomaly x -> Anomaly #

NFData Anomaly Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Anomaly

Methods

rnf :: Anomaly -> () #

Hashable Anomaly Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Anomaly

Methods

hashWithSalt :: Int -> Anomaly -> Int #

hash :: Anomaly -> Int #

FromJSON Anomaly Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Anomaly

type Rep Anomaly Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Anomaly

newAnomaly Source #

Create a value of Anomaly 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:anomalyStartDate:Anomaly', anomaly_anomalyStartDate - The first day the anomaly is detected.

$sel:dimensionValue:Anomaly', anomaly_dimensionValue - The dimension for the anomaly (for example, an Amazon Web Services service in a service monitor).

$sel:rootCauses:Anomaly', anomaly_rootCauses - The list of identified root causes for the anomaly.

$sel:anomalyEndDate:Anomaly', anomaly_anomalyEndDate - The last day the anomaly is detected.

$sel:feedback:Anomaly', anomaly_feedback - The feedback value.

$sel:anomalyId:Anomaly', anomaly_anomalyId - The unique identifier for the anomaly.

$sel:anomalyScore:Anomaly', anomaly_anomalyScore - The latest and maximum score for the anomaly.

$sel:impact:Anomaly', anomaly_impact - The dollar impact for the anomaly.

$sel:monitorArn:Anomaly', anomaly_monitorArn - The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.

anomaly_anomalyStartDate :: Lens' Anomaly (Maybe Text) Source #

The first day the anomaly is detected.

anomaly_dimensionValue :: Lens' Anomaly (Maybe Text) Source #

The dimension for the anomaly (for example, an Amazon Web Services service in a service monitor).

anomaly_rootCauses :: Lens' Anomaly (Maybe [RootCause]) Source #

The list of identified root causes for the anomaly.

anomaly_anomalyEndDate :: Lens' Anomaly (Maybe Text) Source #

The last day the anomaly is detected.

anomaly_anomalyId :: Lens' Anomaly Text Source #

The unique identifier for the anomaly.

anomaly_anomalyScore :: Lens' Anomaly AnomalyScore Source #

The latest and maximum score for the anomaly.

anomaly_impact :: Lens' Anomaly Impact Source #

The dollar impact for the anomaly.

anomaly_monitorArn :: Lens' Anomaly Text Source #

The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.