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 |
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.
Creating a Request
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
- TheaccountId
that 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.
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
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.
Response Lenses
ubrsResponseStatus :: Lens' UpdateBudgetResponse Int Source #
- - | The response status code.