amazonka-billingconductor-2.0: Amazon BillingConductor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BillingConductor.UpdateCustomLineItem

Description

Update an existing custom line item in the current or previous billing period.

Synopsis

Creating a Request

data UpdateCustomLineItem Source #

See: newUpdateCustomLineItem smart constructor.

Constructors

UpdateCustomLineItem' 

Fields

Instances

Instances details
ToJSON UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

ToHeaders UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

ToPath UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

ToQuery UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

AWSRequest UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

Associated Types

type AWSResponse UpdateCustomLineItem #

Generic UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

Associated Types

type Rep UpdateCustomLineItem :: Type -> Type #

Show UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

NFData UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

Methods

rnf :: UpdateCustomLineItem -> () #

Eq UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

Hashable UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

type AWSResponse UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

type Rep UpdateCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

type Rep UpdateCustomLineItem = D1 ('MetaData "UpdateCustomLineItem" "Amazonka.BillingConductor.UpdateCustomLineItem" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "UpdateCustomLineItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "billingPeriodRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomLineItemBillingPeriodRange)) :*: S1 ('MetaSel ('Just "chargeDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateCustomLineItemChargeDetails))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateCustomLineItem Source #

Create a value of UpdateCustomLineItem 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:

UpdateCustomLineItem, updateCustomLineItem_billingPeriodRange - Undocumented member.

UpdateCustomLineItem, updateCustomLineItem_chargeDetails - A ListCustomLineItemChargeDetails containing the new charge details for the custom line item.

UpdateCustomLineItem, updateCustomLineItem_description - The new line item description of the custom line item.

UpdateCustomLineItem, updateCustomLineItem_name - The new name for the custom line item.

UpdateCustomLineItem, updateCustomLineItem_arn - The ARN of the custom line item to be updated.

Request Lenses

updateCustomLineItem_chargeDetails :: Lens' UpdateCustomLineItem (Maybe UpdateCustomLineItemChargeDetails) Source #

A ListCustomLineItemChargeDetails containing the new charge details for the custom line item.

updateCustomLineItem_description :: Lens' UpdateCustomLineItem (Maybe Text) Source #

The new line item description of the custom line item.

updateCustomLineItem_name :: Lens' UpdateCustomLineItem (Maybe Text) Source #

The new name for the custom line item.

updateCustomLineItem_arn :: Lens' UpdateCustomLineItem Text Source #

The ARN of the custom line item to be updated.

Destructuring the Response

data UpdateCustomLineItemResponse Source #

See: newUpdateCustomLineItemResponse smart constructor.

Constructors

UpdateCustomLineItemResponse' 

Fields

Instances

Instances details
Generic UpdateCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

Associated Types

type Rep UpdateCustomLineItemResponse :: Type -> Type #

Show UpdateCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

NFData UpdateCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

Eq UpdateCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

type Rep UpdateCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.UpdateCustomLineItem

type Rep UpdateCustomLineItemResponse = D1 ('MetaData "UpdateCustomLineItemResponse" "Amazonka.BillingConductor.UpdateCustomLineItem" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "UpdateCustomLineItemResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associationSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "billingGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "chargeDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ListCustomLineItemChargeDetails)))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateCustomLineItemResponse Source #

Create a value of UpdateCustomLineItemResponse 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:

UpdateCustomLineItem, updateCustomLineItemResponse_arn - The ARN of the successfully updated custom line item.

UpdateCustomLineItemResponse, updateCustomLineItemResponse_associationSize - The number of resources that are associated to the custom line item.

UpdateCustomLineItemResponse, updateCustomLineItemResponse_billingGroupArn - The ARN of the billing group that the custom line item is applied to.

UpdateCustomLineItem, updateCustomLineItemResponse_chargeDetails - A ListCustomLineItemChargeDetails containing the charge details of the successfully updated custom line item.

UpdateCustomLineItem, updateCustomLineItemResponse_description - The description of the successfully updated custom line item.

UpdateCustomLineItemResponse, updateCustomLineItemResponse_lastModifiedTime - The most recent time when the custom line item was modified.

UpdateCustomLineItem, updateCustomLineItemResponse_name - The name of the successfully updated custom line item.

$sel:httpStatus:UpdateCustomLineItemResponse', updateCustomLineItemResponse_httpStatus - The response's http status code.

Response Lenses

updateCustomLineItemResponse_arn :: Lens' UpdateCustomLineItemResponse (Maybe Text) Source #

The ARN of the successfully updated custom line item.

updateCustomLineItemResponse_associationSize :: Lens' UpdateCustomLineItemResponse (Maybe Natural) Source #

The number of resources that are associated to the custom line item.

updateCustomLineItemResponse_billingGroupArn :: Lens' UpdateCustomLineItemResponse (Maybe Text) Source #

The ARN of the billing group that the custom line item is applied to.

updateCustomLineItemResponse_chargeDetails :: Lens' UpdateCustomLineItemResponse (Maybe ListCustomLineItemChargeDetails) Source #

A ListCustomLineItemChargeDetails containing the charge details of the successfully updated custom line item.

updateCustomLineItemResponse_description :: Lens' UpdateCustomLineItemResponse (Maybe Text) Source #

The description of the successfully updated custom line item.

updateCustomLineItemResponse_lastModifiedTime :: Lens' UpdateCustomLineItemResponse (Maybe Integer) Source #

The most recent time when the custom line item was modified.

updateCustomLineItemResponse_name :: Lens' UpdateCustomLineItemResponse (Maybe Text) Source #

The name of the successfully updated custom line item.