| 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.DeleteCustomLineItem
Description
Deletes the custom line item identified by the given ARN in the current, or previous billing period.
Synopsis
- data DeleteCustomLineItem = DeleteCustomLineItem' {}
- newDeleteCustomLineItem :: Text -> DeleteCustomLineItem
- deleteCustomLineItem_billingPeriodRange :: Lens' DeleteCustomLineItem (Maybe CustomLineItemBillingPeriodRange)
- deleteCustomLineItem_arn :: Lens' DeleteCustomLineItem Text
- data DeleteCustomLineItemResponse = DeleteCustomLineItemResponse' {
- arn :: Maybe Text
- httpStatus :: Int
- newDeleteCustomLineItemResponse :: Int -> DeleteCustomLineItemResponse
- deleteCustomLineItemResponse_arn :: Lens' DeleteCustomLineItemResponse (Maybe Text)
- deleteCustomLineItemResponse_httpStatus :: Lens' DeleteCustomLineItemResponse Int
Creating a Request
data DeleteCustomLineItem Source #
See: newDeleteCustomLineItem smart constructor.
Constructors
| DeleteCustomLineItem' | |
Fields
| |
Instances
newDeleteCustomLineItem Source #
Arguments
| :: Text | |
| -> DeleteCustomLineItem |
Create a value of DeleteCustomLineItem 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:
DeleteCustomLineItem, deleteCustomLineItem_billingPeriodRange - Undocumented member.
DeleteCustomLineItem, deleteCustomLineItem_arn - The ARN of the custom line item to be deleted.
Request Lenses
deleteCustomLineItem_billingPeriodRange :: Lens' DeleteCustomLineItem (Maybe CustomLineItemBillingPeriodRange) Source #
Undocumented member.
deleteCustomLineItem_arn :: Lens' DeleteCustomLineItem Text Source #
The ARN of the custom line item to be deleted.
Destructuring the Response
data DeleteCustomLineItemResponse Source #
See: newDeleteCustomLineItemResponse smart constructor.
Constructors
| DeleteCustomLineItemResponse' | |
Fields
| |
Instances
newDeleteCustomLineItemResponse Source #
Create a value of DeleteCustomLineItemResponse 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:
DeleteCustomLineItem, deleteCustomLineItemResponse_arn - Then ARN of the deleted custom line item.
$sel:httpStatus:DeleteCustomLineItemResponse', deleteCustomLineItemResponse_httpStatus - The response's http status code.
Response Lenses
deleteCustomLineItemResponse_arn :: Lens' DeleteCustomLineItemResponse (Maybe Text) Source #
Then ARN of the deleted custom line item.
deleteCustomLineItemResponse_httpStatus :: Lens' DeleteCustomLineItemResponse Int Source #
The response's http status code.