| 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.UpdateNotification
Description
Updates a notification.
Synopsis
- updateNotification :: Text -> Text -> Notification -> Notification -> UpdateNotification
- data UpdateNotification
- unAccountId :: Lens' UpdateNotification Text
- unBudgetName :: Lens' UpdateNotification Text
- unOldNotification :: Lens' UpdateNotification Notification
- unNewNotification :: Lens' UpdateNotification Notification
- updateNotificationResponse :: Int -> UpdateNotificationResponse
- data UpdateNotificationResponse
- unrsResponseStatus :: Lens' UpdateNotificationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Notification | |
| -> Notification | |
| -> UpdateNotification |
Creates a value of UpdateNotification with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
unAccountId- TheaccountIdthat is associated with the budget whose notification you want to update.unBudgetName- The name of the budget whose notification you want to update.unOldNotification- The previous notification associated with a budget.unNewNotification- The updated notification to be associated with a budget.
data UpdateNotification Source #
Request of UpdateNotification
See: updateNotification smart constructor.
Instances
Request Lenses
unAccountId :: Lens' UpdateNotification Text Source #
The accountId that is associated with the budget whose notification you want to update.
unBudgetName :: Lens' UpdateNotification Text Source #
The name of the budget whose notification you want to update.
unOldNotification :: Lens' UpdateNotification Notification Source #
The previous notification associated with a budget.
unNewNotification :: Lens' UpdateNotification Notification Source #
The updated notification to be associated with a budget.
Destructuring the Response
updateNotificationResponse Source #
Arguments
| :: Int | |
| -> UpdateNotificationResponse |
Creates a value of UpdateNotificationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
unrsResponseStatus- -- | The response status code.
data UpdateNotificationResponse Source #
Response of UpdateNotification
See: updateNotificationResponse smart constructor.
Instances
Response Lenses
unrsResponseStatus :: Lens' UpdateNotificationResponse Int Source #
- - | The response status code.