| 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.DeleteNotification
Description
Deletes a notification.
Deleting a notification also deletes the subscribers associated with the notification.
Synopsis
- deleteNotification :: Text -> Text -> Notification -> DeleteNotification
- data DeleteNotification
- dnAccountId :: Lens' DeleteNotification Text
- dnBudgetName :: Lens' DeleteNotification Text
- dnNotification :: Lens' DeleteNotification Notification
- deleteNotificationResponse :: Int -> DeleteNotificationResponse
- data DeleteNotificationResponse
- dnrsResponseStatus :: Lens' DeleteNotificationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Notification | |
| -> DeleteNotification |
Creates a value of DeleteNotification with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnAccountId- TheaccountIdthat is associated with the budget whose notification you want to delete.dnBudgetName- The name of the budget whose notification you want to delete.dnNotification- The notification that you want to delete.
data DeleteNotification Source #
Request of DeleteNotification
See: deleteNotification smart constructor.
Instances
Request Lenses
dnAccountId :: Lens' DeleteNotification Text Source #
The accountId that is associated with the budget whose notification you want to delete.
dnBudgetName :: Lens' DeleteNotification Text Source #
The name of the budget whose notification you want to delete.
dnNotification :: Lens' DeleteNotification Notification Source #
The notification that you want to delete.
Destructuring the Response
deleteNotificationResponse Source #
Arguments
| :: Int | |
| -> DeleteNotificationResponse |
Creates a value of DeleteNotificationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnrsResponseStatus- -- | The response status code.
data DeleteNotificationResponse Source #
Response of DeleteNotification
See: deleteNotificationResponse smart constructor.
Instances
Response Lenses
dnrsResponseStatus :: Lens' DeleteNotificationResponse Int Source #
- - | The response status code.