Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CostCategoryInheritedValueDimension = CostCategoryInheritedValueDimension' {}
- newCostCategoryInheritedValueDimension :: CostCategoryInheritedValueDimension
- costCategoryInheritedValueDimension_dimensionName :: Lens' CostCategoryInheritedValueDimension (Maybe CostCategoryInheritedValueDimensionName)
- costCategoryInheritedValueDimension_dimensionKey :: Lens' CostCategoryInheritedValueDimension (Maybe Text)
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.
CostCategoryInheritedValueDimension' | |
|
Instances
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.
costCategoryInheritedValueDimension_dimensionKey :: Lens' CostCategoryInheritedValueDimension (Maybe Text) Source #
The key to extract cost category values.