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

Description

 
Synopsis

Documentation

data CostCategoryInheritedValueDimension Source #

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

See: newCostCategoryInheritedValueDimension smart constructor.

Constructors

CostCategoryInheritedValueDimension' 

Fields

Instances

Instances details
Eq 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

Generic CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

NFData CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

Hashable CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

ToJSON CostCategoryInheritedValueDimension Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CostCategoryInheritedValueDimension

FromJSON 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" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "CostCategoryInheritedValueDimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CostCategoryInheritedValueDimensionName)) :*: S1 ('MetaSel ('Just "dimensionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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: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 will be based on the value of the specified tag key.

$sel:dimensionKey:CostCategoryInheritedValueDimension', costCategoryInheritedValueDimension_dimensionKey - The key to extract cost category values.

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 will be based on the value of the specified tag key.