| 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.Budgets.DeleteBudget
Description
Deletes a budget. You can delete your budget at any time.
Deleting a budget also deletes the notifications and subscribers that are associated with that budget.
Synopsis
- data DeleteBudget = DeleteBudget' {
- accountId :: Text
- budgetName :: Text
- newDeleteBudget :: Text -> Text -> DeleteBudget
- deleteBudget_accountId :: Lens' DeleteBudget Text
- deleteBudget_budgetName :: Lens' DeleteBudget Text
- data DeleteBudgetResponse = DeleteBudgetResponse' {
- httpStatus :: Int
- newDeleteBudgetResponse :: Int -> DeleteBudgetResponse
- deleteBudgetResponse_httpStatus :: Lens' DeleteBudgetResponse Int
Creating a Request
data DeleteBudget Source #
Request of DeleteBudget
See: newDeleteBudget smart constructor.
Constructors
| DeleteBudget' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteBudget |
Create a value of DeleteBudget 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:accountId:DeleteBudget', deleteBudget_accountId - The accountId that is associated with the budget that you want to
delete.
DeleteBudget, deleteBudget_budgetName - The name of the budget that you want to delete.
Request Lenses
deleteBudget_accountId :: Lens' DeleteBudget Text Source #
The accountId that is associated with the budget that you want to
delete.
deleteBudget_budgetName :: Lens' DeleteBudget Text Source #
The name of the budget that you want to delete.
Destructuring the Response
data DeleteBudgetResponse Source #
Response of DeleteBudget
See: newDeleteBudgetResponse smart constructor.
Constructors
| DeleteBudgetResponse' | |
Fields
| |
Instances
newDeleteBudgetResponse Source #
Arguments
| :: Int | |
| -> DeleteBudgetResponse |
Create a value of DeleteBudgetResponse 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:httpStatus:DeleteBudgetResponse', deleteBudgetResponse_httpStatus - The response's http status code.
Response Lenses
deleteBudgetResponse_httpStatus :: Lens' DeleteBudgetResponse Int Source #
The response's http status code.