| 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.DeleteNotification
Description
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.
Constructors
| DeleteNotification' | |
Fields
| |
Instances
newDeleteNotification Source #
Arguments
| :: 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.
DeleteNotification, deleteNotification_budgetName - The name of the budget whose notification you want to delete.
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.
Constructors
| DeleteNotificationResponse' | |
Fields
| |
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.