Copyright | (c) 2013-2021 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 |
Deletes a notification.
Deleting a notification also deletes the subscribers that are associated with the notification.
Synopsis
- data DeleteNotification = DeleteNotification' {}
- newDeleteNotification :: Text -> Text -> Notification -> DeleteNotification
- deleteNotification_accountId :: Lens' DeleteNotification Text
- deleteNotification_budgetName :: Lens' DeleteNotification Text
- deleteNotification_notification :: Lens' DeleteNotification Notification
- data DeleteNotificationResponse = DeleteNotificationResponse' {
- httpStatus :: Int
- newDeleteNotificationResponse :: Int -> DeleteNotificationResponse
- deleteNotificationResponse_httpStatus :: Lens' DeleteNotificationResponse Int
Creating a Request
data DeleteNotification Source #
Request of DeleteNotification
See: newDeleteNotification
smart constructor.
DeleteNotification' | |
|
Instances
newDeleteNotification Source #
:: Text | |
-> Text | |
-> Notification | |
-> DeleteNotification |
Create a value of DeleteNotification
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:DeleteNotification'
, deleteNotification_accountId
- The accountId
that is associated with the budget whose notification
you want to delete.
$sel:budgetName:DeleteNotification'
, deleteNotification_budgetName
- The name of the budget whose notification you want to delete.
$sel:notification:DeleteNotification'
, deleteNotification_notification
- The notification that you want to delete.
Request Lenses
deleteNotification_accountId :: Lens' DeleteNotification Text Source #
The accountId
that is associated with the budget whose notification
you want to delete.
deleteNotification_budgetName :: Lens' DeleteNotification Text Source #
The name of the budget whose notification you want to delete.
deleteNotification_notification :: Lens' DeleteNotification Notification Source #
The notification that you want to delete.
Destructuring the Response
data DeleteNotificationResponse Source #
Response of DeleteNotification
See: newDeleteNotificationResponse
smart constructor.
DeleteNotificationResponse' | |
|
Instances
newDeleteNotificationResponse Source #
Create a value of DeleteNotificationResponse
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:DeleteNotificationResponse'
, deleteNotificationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteNotificationResponse_httpStatus :: Lens' DeleteNotificationResponse Int Source #
The response's http status code.