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 CostCategory = CostCategory' {
- processingStatus :: Maybe [CostCategoryProcessingStatus]
- effectiveEnd :: Maybe Text
- splitChargeRules :: Maybe (NonEmpty CostCategorySplitChargeRule)
- defaultValue :: Maybe Text
- costCategoryArn :: Text
- effectiveStart :: Text
- name :: Text
- ruleVersion :: CostCategoryRuleVersion
- rules :: NonEmpty CostCategoryRule
- newCostCategory :: Text -> Text -> Text -> CostCategoryRuleVersion -> NonEmpty CostCategoryRule -> CostCategory
- costCategory_processingStatus :: Lens' CostCategory (Maybe [CostCategoryProcessingStatus])
- costCategory_effectiveEnd :: Lens' CostCategory (Maybe Text)
- costCategory_splitChargeRules :: Lens' CostCategory (Maybe (NonEmpty CostCategorySplitChargeRule))
- costCategory_defaultValue :: Lens' CostCategory (Maybe Text)
- costCategory_costCategoryArn :: Lens' CostCategory Text
- costCategory_effectiveStart :: Lens' CostCategory Text
- costCategory_name :: Lens' CostCategory Text
- costCategory_ruleVersion :: Lens' CostCategory CostCategoryRuleVersion
- costCategory_rules :: Lens' CostCategory (NonEmpty CostCategoryRule)
Documentation
data CostCategory Source #
The structure of Cost Categories. This includes detailed metadata and
the set of rules for the CostCategory
object.
See: newCostCategory
smart constructor.
CostCategory' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> CostCategoryRuleVersion | |
-> NonEmpty CostCategoryRule | |
-> CostCategory |
Create a value of CostCategory
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:processingStatus:CostCategory'
, costCategory_processingStatus
- The list of processing statuses for Cost Management products for a
specific cost category.
$sel:effectiveEnd:CostCategory'
, costCategory_effectiveEnd
- The effective end data of your Cost Category.
$sel:splitChargeRules:CostCategory'
, costCategory_splitChargeRules
- The split charge rules that are used to allocate your charges between
your Cost Category values.
$sel:defaultValue:CostCategory'
, costCategory_defaultValue
- Undocumented member.
$sel:costCategoryArn:CostCategory'
, costCategory_costCategoryArn
- The unique identifier for your Cost Category.
$sel:effectiveStart:CostCategory'
, costCategory_effectiveStart
- The effective state data of your Cost Category.
$sel:name:CostCategory'
, costCategory_name
- Undocumented member.
$sel:ruleVersion:CostCategory'
, costCategory_ruleVersion
- Undocumented member.
$sel:rules:CostCategory'
, costCategory_rules
- The rules are processed in order. If there are multiple rules that match
the line item, then the first rule to match is used to determine that
Cost Category value.
costCategory_processingStatus :: Lens' CostCategory (Maybe [CostCategoryProcessingStatus]) Source #
The list of processing statuses for Cost Management products for a specific cost category.
costCategory_effectiveEnd :: Lens' CostCategory (Maybe Text) Source #
The effective end data of your Cost Category.
costCategory_splitChargeRules :: Lens' CostCategory (Maybe (NonEmpty CostCategorySplitChargeRule)) Source #
The split charge rules that are used to allocate your charges between your Cost Category values.
costCategory_defaultValue :: Lens' CostCategory (Maybe Text) Source #
Undocumented member.
costCategory_costCategoryArn :: Lens' CostCategory Text Source #
The unique identifier for your Cost Category.
costCategory_effectiveStart :: Lens' CostCategory Text Source #
The effective state data of your Cost Category.
costCategory_name :: Lens' CostCategory Text Source #
Undocumented member.
costCategory_ruleVersion :: Lens' CostCategory CostCategoryRuleVersion Source #
Undocumented member.
costCategory_rules :: Lens' CostCategory (NonEmpty CostCategoryRule) Source #
The rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.