| 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 |
Amazonka.BillingConductor.UpdateCustomLineItem
Description
Update an existing custom line item in the current or previous billing period.
Synopsis
- data UpdateCustomLineItem = UpdateCustomLineItem' {}
- newUpdateCustomLineItem :: Text -> UpdateCustomLineItem
- updateCustomLineItem_billingPeriodRange :: Lens' UpdateCustomLineItem (Maybe CustomLineItemBillingPeriodRange)
- updateCustomLineItem_chargeDetails :: Lens' UpdateCustomLineItem (Maybe UpdateCustomLineItemChargeDetails)
- updateCustomLineItem_description :: Lens' UpdateCustomLineItem (Maybe Text)
- updateCustomLineItem_name :: Lens' UpdateCustomLineItem (Maybe Text)
- updateCustomLineItem_arn :: Lens' UpdateCustomLineItem Text
- data UpdateCustomLineItemResponse = UpdateCustomLineItemResponse' {}
- newUpdateCustomLineItemResponse :: Int -> UpdateCustomLineItemResponse
- updateCustomLineItemResponse_arn :: Lens' UpdateCustomLineItemResponse (Maybe Text)
- updateCustomLineItemResponse_associationSize :: Lens' UpdateCustomLineItemResponse (Maybe Natural)
- updateCustomLineItemResponse_billingGroupArn :: Lens' UpdateCustomLineItemResponse (Maybe Text)
- updateCustomLineItemResponse_chargeDetails :: Lens' UpdateCustomLineItemResponse (Maybe ListCustomLineItemChargeDetails)
- updateCustomLineItemResponse_description :: Lens' UpdateCustomLineItemResponse (Maybe Text)
- updateCustomLineItemResponse_lastModifiedTime :: Lens' UpdateCustomLineItemResponse (Maybe Integer)
- updateCustomLineItemResponse_name :: Lens' UpdateCustomLineItemResponse (Maybe Text)
- updateCustomLineItemResponse_httpStatus :: Lens' UpdateCustomLineItemResponse Int
Creating a Request
data UpdateCustomLineItem Source #
See: newUpdateCustomLineItem smart constructor.
Constructors
| UpdateCustomLineItem' | |
Fields
| |
Instances
newUpdateCustomLineItem Source #
Arguments
| :: Text | |
| -> UpdateCustomLineItem |
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_billingPeriodRange :: Lens' UpdateCustomLineItem (Maybe CustomLineItemBillingPeriodRange) Source #
Undocumented member.
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
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.
updateCustomLineItemResponse_httpStatus :: Lens' UpdateCustomLineItemResponse Int Source #
The response's http status code.