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

Description

 
Synopsis

Documentation

data RootCause Source #

The combination of Amazon Web Service, linked account, linked account name, Region, and usage type where a cost anomaly is observed. The linked account name will only be available when the account name can be identified.

See: newRootCause smart constructor.

Constructors

RootCause' 

Fields

Instances

Instances details
FromJSON RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

Generic RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

Associated Types

type Rep RootCause :: Type -> Type #

Read RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

Show RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

NFData RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

Methods

rnf :: RootCause -> () #

Eq RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

Hashable RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

type Rep RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

type Rep RootCause = D1 ('MetaData "RootCause" "Amazonka.CostExplorer.Types.RootCause" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "RootCause'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "linkedAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "linkedAccountName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newRootCause :: RootCause Source #

Create a value of RootCause 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:linkedAccount:RootCause', rootCause_linkedAccount - The member account value that's associated with the cost anomaly.

$sel:linkedAccountName:RootCause', rootCause_linkedAccountName - The member account name value that's associated with the cost anomaly.

$sel:region:RootCause', rootCause_region - The Amazon Web Services Region that's associated with the cost anomaly.

$sel:service:RootCause', rootCause_service - The Amazon Web Service name that's associated with the cost anomaly.

$sel:usageType:RootCause', rootCause_usageType - The UsageType value that's associated with the cost anomaly.

rootCause_linkedAccount :: Lens' RootCause (Maybe Text) Source #

The member account value that's associated with the cost anomaly.

rootCause_linkedAccountName :: Lens' RootCause (Maybe Text) Source #

The member account name value that's associated with the cost anomaly.

rootCause_region :: Lens' RootCause (Maybe Text) Source #

The Amazon Web Services Region that's associated with the cost anomaly.

rootCause_service :: Lens' RootCause (Maybe Text) Source #

The Amazon Web Service name that's associated with the cost anomaly.

rootCause_usageType :: Lens' RootCause (Maybe Text) Source #

The UsageType value that's associated with the cost anomaly.