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

Description

 
Synopsis

Documentation

data CostAllocationTag Source #

The cost allocation tag structure. This includes detailed metadata for the CostAllocationTag object.

See: newCostAllocationTag smart constructor.

Constructors

CostAllocationTag' 

Fields

  • tagKey :: Text

    The key for the cost allocation tag.

  • type' :: CostAllocationTagType

    The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web Services resources for cost allocation purposes. UserDefined type tags are tags that you define, create, and apply to resources.

  • status :: CostAllocationTagStatus

    The status of a cost allocation tag.

Instances

Instances details
FromJSON CostAllocationTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostAllocationTag

Generic CostAllocationTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostAllocationTag

Associated Types

type Rep CostAllocationTag :: Type -> Type #

Read CostAllocationTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostAllocationTag

Show CostAllocationTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostAllocationTag

NFData CostAllocationTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostAllocationTag

Methods

rnf :: CostAllocationTag -> () #

Eq CostAllocationTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostAllocationTag

Hashable CostAllocationTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostAllocationTag

type Rep CostAllocationTag Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostAllocationTag

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

newCostAllocationTag Source #

Create a value of CostAllocationTag 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:tagKey:CostAllocationTag', costAllocationTag_tagKey - The key for the cost allocation tag.

$sel:type':CostAllocationTag', costAllocationTag_type - The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web Services resources for cost allocation purposes. UserDefined type tags are tags that you define, create, and apply to resources.

$sel:status:CostAllocationTag', costAllocationTag_status - The status of a cost allocation tag.

costAllocationTag_tagKey :: Lens' CostAllocationTag Text Source #

The key for the cost allocation tag.

costAllocationTag_type :: Lens' CostAllocationTag CostAllocationTagType Source #

The type of cost allocation tag. You can use AWSGenerated or UserDefined type tags. AWSGenerated type tags are tags that Amazon Web Services defines and applies to support Amazon Web Services resources for cost allocation purposes. UserDefined type tags are tags that you define, create, and apply to resources.