| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Budgets.UpdateNotification
Description
Updates a notification.
Synopsis
- data UpdateNotification = UpdateNotification' {}
- newUpdateNotification :: Text -> Text -> Notification -> Notification -> UpdateNotification
- updateNotification_accountId :: Lens' UpdateNotification Text
- updateNotification_budgetName :: Lens' UpdateNotification Text
- updateNotification_oldNotification :: Lens' UpdateNotification Notification
- updateNotification_newNotification :: Lens' UpdateNotification Notification
- data UpdateNotificationResponse = UpdateNotificationResponse' {
- httpStatus :: Int
- newUpdateNotificationResponse :: Int -> UpdateNotificationResponse
- updateNotificationResponse_httpStatus :: Lens' UpdateNotificationResponse Int
Creating a Request
data UpdateNotification Source #
Request of UpdateNotification
See: newUpdateNotification smart constructor.
Constructors
| UpdateNotification' | |
Fields
| |
Instances
newUpdateNotification Source #
Arguments
| :: Text | |
| -> Text | |
| -> Notification | |
| -> Notification | |
| -> UpdateNotification |
Create a value of UpdateNotification 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:UpdateNotification', updateNotification_accountId - The accountId that is associated with the budget whose notification
you want to update.
UpdateNotification, updateNotification_budgetName - The name of the budget whose notification you want to update.
$sel:oldNotification:UpdateNotification', updateNotification_oldNotification - The previous notification that is associated with a budget.
$sel:newNotification':UpdateNotification', updateNotification_newNotification - The updated notification to be associated with a budget.
Request Lenses
updateNotification_accountId :: Lens' UpdateNotification Text Source #
The accountId that is associated with the budget whose notification
you want to update.
updateNotification_budgetName :: Lens' UpdateNotification Text Source #
The name of the budget whose notification you want to update.
updateNotification_oldNotification :: Lens' UpdateNotification Notification Source #
The previous notification that is associated with a budget.
updateNotification_newNotification :: Lens' UpdateNotification Notification Source #
The updated notification to be associated with a budget.
Destructuring the Response
data UpdateNotificationResponse Source #
Response of UpdateNotification
See: newUpdateNotificationResponse smart constructor.
Constructors
| UpdateNotificationResponse' | |
Fields
| |
Instances
newUpdateNotificationResponse Source #
Create a value of UpdateNotificationResponse 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:UpdateNotificationResponse', updateNotificationResponse_httpStatus - The response's http status code.
Response Lenses
updateNotificationResponse_httpStatus :: Lens' UpdateNotificationResponse Int Source #
The response's http status code.