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

Description

 
Synopsis

Documentation

data CostCategoryInheritedValueDimension Source #

When you create or update a cost category, you can define the CostCategoryRule rule type as INHERITED_VALUE. This rule type adds the flexibility to define a rule that dynamically inherits the cost category value from the dimension value that's defined by CostCategoryInheritedValueDimension. For example, suppose that you want to dynamically group costs that are based on the value of a specific tag key. First, choose an inherited value rule type, and then choose the tag dimension and specify the tag key to use.

See: newCostCategoryInheritedValueDimension smart constructor.

Constructors

CostCategoryInheritedValueDimension' 

Fields

Instances

Instances details
FromJSON CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

ToJSON CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

Generic CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

Read CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

Show CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

NFData CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

Eq CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

Hashable CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

type Rep CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

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

newCostCategoryInheritedValueDimension :: CostCategoryInheritedValueDimension Source #

Create a value of CostCategoryInheritedValueDimension 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:dimensionKey:CostCategoryInheritedValueDimension', costCategoryInheritedValueDimension_dimensionKey - The key to extract cost category values.

$sel:dimensionName:CostCategoryInheritedValueDimension', costCategoryInheritedValueDimension_dimensionName - The name of the dimension that's used to group costs.

If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value is based on the value of the specified tag key.

costCategoryInheritedValueDimension_dimensionName :: Lens' CostCategoryInheritedValueDimension (Maybe CostCategoryInheritedValueDimensionName) Source #

The name of the dimension that's used to group costs.

If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value is based on the value of the specified tag key.