| 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.CostExplorer.DeleteCostCategoryDefinition
Description
Deletes a Cost Category. Expenses from this month going forward will no longer be categorized with this Cost Category.
Synopsis
- data DeleteCostCategoryDefinition = DeleteCostCategoryDefinition' {}
- newDeleteCostCategoryDefinition :: Text -> DeleteCostCategoryDefinition
- deleteCostCategoryDefinition_costCategoryArn :: Lens' DeleteCostCategoryDefinition Text
- data DeleteCostCategoryDefinitionResponse = DeleteCostCategoryDefinitionResponse' {}
- newDeleteCostCategoryDefinitionResponse :: Int -> DeleteCostCategoryDefinitionResponse
- deleteCostCategoryDefinitionResponse_costCategoryArn :: Lens' DeleteCostCategoryDefinitionResponse (Maybe Text)
- deleteCostCategoryDefinitionResponse_effectiveEnd :: Lens' DeleteCostCategoryDefinitionResponse (Maybe Text)
- deleteCostCategoryDefinitionResponse_httpStatus :: Lens' DeleteCostCategoryDefinitionResponse Int
Creating a Request
data DeleteCostCategoryDefinition Source #
See: newDeleteCostCategoryDefinition smart constructor.
Constructors
| DeleteCostCategoryDefinition' | |
Fields
| |
Instances
newDeleteCostCategoryDefinition Source #
Arguments
| :: Text | |
| -> DeleteCostCategoryDefinition |
Create a value of DeleteCostCategoryDefinition 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:
DeleteCostCategoryDefinition, deleteCostCategoryDefinition_costCategoryArn - The unique identifier for your Cost Category.
Request Lenses
deleteCostCategoryDefinition_costCategoryArn :: Lens' DeleteCostCategoryDefinition Text Source #
The unique identifier for your Cost Category.
Destructuring the Response
data DeleteCostCategoryDefinitionResponse Source #
See: newDeleteCostCategoryDefinitionResponse smart constructor.
Constructors
| DeleteCostCategoryDefinitionResponse' | |
Fields
| |
Instances
newDeleteCostCategoryDefinitionResponse Source #
Arguments
| :: Int | |
| -> DeleteCostCategoryDefinitionResponse |
Create a value of DeleteCostCategoryDefinitionResponse 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:
DeleteCostCategoryDefinition, deleteCostCategoryDefinitionResponse_costCategoryArn - The unique identifier for your Cost Category.
DeleteCostCategoryDefinitionResponse, deleteCostCategoryDefinitionResponse_effectiveEnd - The effective end date of the Cost Category as a result of deleting it.
No costs after this date is categorized by the deleted Cost Category.
$sel:httpStatus:DeleteCostCategoryDefinitionResponse', deleteCostCategoryDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
deleteCostCategoryDefinitionResponse_costCategoryArn :: Lens' DeleteCostCategoryDefinitionResponse (Maybe Text) Source #
The unique identifier for your Cost Category.
deleteCostCategoryDefinitionResponse_effectiveEnd :: Lens' DeleteCostCategoryDefinitionResponse (Maybe Text) Source #
The effective end date of the Cost Category as a result of deleting it. No costs after this date is categorized by the deleted Cost Category.
deleteCostCategoryDefinitionResponse_httpStatus :: Lens' DeleteCostCategoryDefinitionResponse Int Source #
The response's http status code.