Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CostCategory = CostCategory' {
- defaultValue :: Maybe Text
- effectiveEnd :: Maybe Text
- processingStatus :: Maybe [CostCategoryProcessingStatus]
- splitChargeRules :: Maybe (NonEmpty CostCategorySplitChargeRule)
- costCategoryArn :: Text
- effectiveStart :: Text
- name :: Text
- ruleVersion :: CostCategoryRuleVersion
- rules :: NonEmpty CostCategoryRule
- newCostCategory :: Text -> Text -> Text -> CostCategoryRuleVersion -> NonEmpty CostCategoryRule -> CostCategory
- costCategory_defaultValue :: Lens' CostCategory (Maybe Text)
- costCategory_effectiveEnd :: Lens' CostCategory (Maybe Text)
- costCategory_processingStatus :: Lens' CostCategory (Maybe [CostCategoryProcessingStatus])
- costCategory_splitChargeRules :: Lens' CostCategory (Maybe (NonEmpty CostCategorySplitChargeRule))
- 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:defaultValue:CostCategory'
, costCategory_defaultValue
- Undocumented member.
$sel:effectiveEnd:CostCategory'
, costCategory_effectiveEnd
- The effective end date of your Cost Category.
$sel:processingStatus:CostCategory'
, costCategory_processingStatus
- The list of processing statuses for Cost Management products for a
specific cost category.
$sel:splitChargeRules:CostCategory'
, costCategory_splitChargeRules
- The split charge rules that are used to allocate your charges between
your Cost Category values.
$sel:costCategoryArn:CostCategory'
, costCategory_costCategoryArn
- The unique identifier for your Cost Category.
$sel:effectiveStart:CostCategory'
, costCategory_effectiveStart
- The effective start date 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_defaultValue :: Lens' CostCategory (Maybe Text) Source #
Undocumented member.
costCategory_effectiveEnd :: Lens' CostCategory (Maybe Text) Source #
The effective end date of your Cost Category.
costCategory_processingStatus :: Lens' CostCategory (Maybe [CostCategoryProcessingStatus]) Source #
The list of processing statuses for Cost Management products for a specific 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_costCategoryArn :: Lens' CostCategory Text Source #
The unique identifier for your Cost Category.
costCategory_effectiveStart :: Lens' CostCategory Text Source #
The effective start date 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.