Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Update the information about a notification already created
- 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
:: 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
- Undocumented member.unBudgetName
- Undocumented member.unOldNotification
- Undocumented member.unNewNotification
- Undocumented member.
data UpdateNotification Source #
Request of UpdateNotification
See: updateNotification
smart constructor.
Request Lenses
unAccountId :: Lens' UpdateNotification Text Source #
Undocumented member.
unBudgetName :: Lens' UpdateNotification Text Source #
Undocumented member.
unOldNotification :: Lens' UpdateNotification Notification Source #
Undocumented member.
unNewNotification :: Lens' UpdateNotification Notification Source #
Undocumented member.
Destructuring the Response
updateNotificationResponse Source #
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.
Response Lenses
unrsResponseStatus :: Lens' UpdateNotificationResponse Int Source #
- - | The response status code.