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

Description

 
Synopsis

Documentation

data RootCause Source #

The combination of Amazon Web Services service, linked account, Region, and usage type where a cost anomaly is observed.

See: newRootCause smart constructor.

Constructors

RootCause' 

Fields

  • service :: Maybe Text

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

  • usageType :: Maybe Text

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

  • linkedAccount :: Maybe Text

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

  • region :: Maybe Text

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

Instances

Instances details
Eq RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

Read RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

Show 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 #

NFData RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

Methods

rnf :: RootCause -> () #

Hashable RootCause Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.RootCause

FromJSON 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" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "RootCause'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "linkedAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "region") '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:service:RootCause', rootCause_service - The Amazon Web Services service name that's associated with the cost anomaly.

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

$sel:linkedAccount:RootCause', rootCause_linkedAccount - The member account 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.

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

The Amazon Web Services 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.

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

The member account 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.