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

Description

 
Synopsis

Documentation

data ResourceTag Source #

The tag structure that contains a tag key and value.

Tagging is supported only for the following Cost Explorer resource types: AnomalyMonitor , AnomalySubscription , CostCategory .

See: newResourceTag smart constructor.

Constructors

ResourceTag' 

Fields

  • key :: Text

    The key that's associated with the tag.

  • value :: Text

    The value that's associated with the tag.

Instances

Instances details
FromJSON ResourceTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResourceTag

ToJSON ResourceTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResourceTag

Generic ResourceTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResourceTag

Associated Types

type Rep ResourceTag :: Type -> Type #

Read ResourceTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResourceTag

Show ResourceTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResourceTag

NFData ResourceTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResourceTag

Methods

rnf :: ResourceTag -> () #

Eq ResourceTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResourceTag

Hashable ResourceTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResourceTag

type Rep ResourceTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.ResourceTag

type Rep ResourceTag = D1 ('MetaData "ResourceTag" "Amazonka.CostExplorer.Types.ResourceTag" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "ResourceTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResourceTag Source #

Create a value of ResourceTag 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:key:ResourceTag', resourceTag_key - The key that's associated with the tag.

$sel:value:ResourceTag', resourceTag_value - The value that's associated with the tag.

resourceTag_key :: Lens' ResourceTag Text Source #

The key that's associated with the tag.

resourceTag_value :: Lens' ResourceTag Text Source #

The value that's associated with the tag.