Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeleteCostCategoryDefinition' | |
|
Instances
newDeleteCostCategoryDefinition Source #
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:
$sel:costCategoryArn: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.
DeleteCostCategoryDefinitionResponse' | |
|
Instances
newDeleteCostCategoryDefinitionResponse Source #
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:
$sel:costCategoryArn:DeleteCostCategoryDefinition'
, deleteCostCategoryDefinitionResponse_costCategoryArn
- The unique identifier for your Cost Category.
$sel:effectiveEnd:DeleteCostCategoryDefinitionResponse'
, deleteCostCategoryDefinitionResponse_effectiveEnd
- The effective end date of the Cost Category as a result of deleting it.
No costs after this date will be 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 will be categorized by the deleted Cost Category.
deleteCostCategoryDefinitionResponse_httpStatus :: Lens' DeleteCostCategoryDefinitionResponse Int Source #
The response's http status code.