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

Description

Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current month’s expenses and future expenses. This won’t change categorization for the previous months.

Synopsis

Creating a Request

data UpdateCostCategoryDefinition Source #

See: newUpdateCostCategoryDefinition smart constructor.

Constructors

UpdateCostCategoryDefinition' 

Fields

Instances

Instances details
Eq UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

Read UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

Show UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

Generic UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

Associated Types

type Rep UpdateCostCategoryDefinition :: Type -> Type #

NFData UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

Hashable UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

ToJSON UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

AWSRequest UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

ToHeaders UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

ToPath UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

ToQuery UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

type Rep UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

type Rep UpdateCostCategoryDefinition = D1 ('MetaData "UpdateCostCategoryDefinition" "Amazonka.CostExplorer.UpdateCostCategoryDefinition" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "UpdateCostCategoryDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "splitChargeRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty CostCategorySplitChargeRule))) :*: S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "costCategoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "ruleVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CostCategoryRuleVersion) :*: S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty CostCategoryRule))))))
type AWSResponse UpdateCostCategoryDefinition Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

newUpdateCostCategoryDefinition Source #

Create a value of UpdateCostCategoryDefinition 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:splitChargeRules:UpdateCostCategoryDefinition', updateCostCategoryDefinition_splitChargeRules - The split charge rules used to allocate your charges between your Cost Category values.

$sel:defaultValue:UpdateCostCategoryDefinition', updateCostCategoryDefinition_defaultValue - Undocumented member.

$sel:costCategoryArn:UpdateCostCategoryDefinition', updateCostCategoryDefinition_costCategoryArn - The unique identifier for your Cost Category.

$sel:ruleVersion:UpdateCostCategoryDefinition', updateCostCategoryDefinition_ruleVersion - Undocumented member.

$sel:rules:UpdateCostCategoryDefinition', updateCostCategoryDefinition_rules - The Expression object used to categorize costs. For more information, see CostCategoryRule .

Request Lenses

updateCostCategoryDefinition_splitChargeRules :: Lens' UpdateCostCategoryDefinition (Maybe (NonEmpty CostCategorySplitChargeRule)) Source #

The split charge rules used to allocate your charges between your Cost Category values.

updateCostCategoryDefinition_rules :: Lens' UpdateCostCategoryDefinition (NonEmpty CostCategoryRule) Source #

The Expression object used to categorize costs. For more information, see CostCategoryRule .

Destructuring the Response

data UpdateCostCategoryDefinitionResponse Source #

Constructors

UpdateCostCategoryDefinitionResponse' 

Fields

Instances

Instances details
Eq UpdateCostCategoryDefinitionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

Read UpdateCostCategoryDefinitionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

Show UpdateCostCategoryDefinitionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

Generic UpdateCostCategoryDefinitionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

NFData UpdateCostCategoryDefinitionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

type Rep UpdateCostCategoryDefinitionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateCostCategoryDefinition

type Rep UpdateCostCategoryDefinitionResponse = D1 ('MetaData "UpdateCostCategoryDefinitionResponse" "Amazonka.CostExplorer.UpdateCostCategoryDefinition" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "UpdateCostCategoryDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "effectiveStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "costCategoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateCostCategoryDefinitionResponse Source #

Create a value of UpdateCostCategoryDefinitionResponse 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:effectiveStart:UpdateCostCategoryDefinitionResponse', updateCostCategoryDefinitionResponse_effectiveStart - The Cost Category's effective start date.

$sel:costCategoryArn:UpdateCostCategoryDefinition', updateCostCategoryDefinitionResponse_costCategoryArn - The unique identifier for your Cost Category.

$sel:httpStatus:UpdateCostCategoryDefinitionResponse', updateCostCategoryDefinitionResponse_httpStatus - The response's http status code.

Response Lenses