| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Budgets.UpdateBudget
Description
Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend . When a budget is modified, the calculatedSpend drops to zero until AWS has new usage data to use for forecasting.
Synopsis
Creating a Request
Arguments
| :: Text | |
| -> Budget | |
| -> UpdateBudget |
Creates a value of UpdateBudget with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ubAccountId- TheaccountIdthat is associated with the budget that you want to update.ubNewBudget- The budget that you want to update your budget to.
data UpdateBudget Source #
Request of UpdateBudget
See: updateBudget smart constructor.
Instances
Request Lenses
ubAccountId :: Lens' UpdateBudget Text Source #
The accountId that is associated with the budget that you want to update.
ubNewBudget :: Lens' UpdateBudget Budget Source #
The budget that you want to update your budget to.
Destructuring the Response
Arguments
| :: Int | |
| -> UpdateBudgetResponse |
Creates a value of UpdateBudgetResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ubrsResponseStatus- -- | The response status code.
data UpdateBudgetResponse Source #
Response of UpdateBudget
See: updateBudgetResponse smart constructor.
Instances
Response Lenses
ubrsResponseStatus :: Lens' UpdateBudgetResponse Int Source #
- - | The response status code.