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 |
Deletes a subscriber.
Deleting the last subscriber to a notification also deletes the notification.
Synopsis
- deleteSubscriber :: Text -> Text -> Notification -> Subscriber -> DeleteSubscriber
- data DeleteSubscriber
- dsAccountId :: Lens' DeleteSubscriber Text
- dsBudgetName :: Lens' DeleteSubscriber Text
- dsNotification :: Lens' DeleteSubscriber Notification
- dsSubscriber :: Lens' DeleteSubscriber Subscriber
- deleteSubscriberResponse :: Int -> DeleteSubscriberResponse
- data DeleteSubscriberResponse
- dsrsResponseStatus :: Lens' DeleteSubscriberResponse Int
Creating a Request
:: Text | |
-> Text | |
-> Notification | |
-> Subscriber | |
-> DeleteSubscriber |
Creates a value of DeleteSubscriber
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsAccountId
- TheaccountId
that is associated with the budget whose subscriber you want to delete.dsBudgetName
- The name of the budget whose subscriber you want to delete.dsNotification
- The notification whose subscriber you want to delete.dsSubscriber
- The subscriber that you want to delete.
data DeleteSubscriber Source #
Request of DeleteSubscriber
See: deleteSubscriber
smart constructor.
Instances
Request Lenses
dsAccountId :: Lens' DeleteSubscriber Text Source #
The accountId
that is associated with the budget whose subscriber you want to delete.
dsBudgetName :: Lens' DeleteSubscriber Text Source #
The name of the budget whose subscriber you want to delete.
dsNotification :: Lens' DeleteSubscriber Notification Source #
The notification whose subscriber you want to delete.
dsSubscriber :: Lens' DeleteSubscriber Subscriber Source #
The subscriber that you want to delete.
Destructuring the Response
deleteSubscriberResponse Source #
Creates a value of DeleteSubscriberResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrsResponseStatus
- -- | The response status code.
data DeleteSubscriberResponse Source #
Response of DeleteSubscriber
See: deleteSubscriberResponse
smart constructor.
Instances
Response Lenses
dsrsResponseStatus :: Lens' DeleteSubscriberResponse Int Source #
- - | The response status code.