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 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.
DeleteBudget' | |
|
Instances
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.
$sel:budgetName: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.
DeleteBudgetResponse' | |
|
Instances
newDeleteBudgetResponse Source #
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.