| 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.DeleteSubscriber
Description
Deletes a subscriber.
Deleting the last subscriber to a notification also deletes the notification.
Synopsis
- data DeleteSubscriber = DeleteSubscriber' {}
- newDeleteSubscriber :: Text -> Text -> Notification -> Subscriber -> DeleteSubscriber
- deleteSubscriber_accountId :: Lens' DeleteSubscriber Text
- deleteSubscriber_budgetName :: Lens' DeleteSubscriber Text
- deleteSubscriber_notification :: Lens' DeleteSubscriber Notification
- deleteSubscriber_subscriber :: Lens' DeleteSubscriber Subscriber
- data DeleteSubscriberResponse = DeleteSubscriberResponse' {
- httpStatus :: Int
- newDeleteSubscriberResponse :: Int -> DeleteSubscriberResponse
- deleteSubscriberResponse_httpStatus :: Lens' DeleteSubscriberResponse Int
Creating a Request
data DeleteSubscriber Source #
Request of DeleteSubscriber
See: newDeleteSubscriber smart constructor.
Constructors
| DeleteSubscriber' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Notification | |
| -> Subscriber | |
| -> DeleteSubscriber |
Create a value of DeleteSubscriber 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:DeleteSubscriber', deleteSubscriber_accountId - The accountId that is associated with the budget whose subscriber you
want to delete.
DeleteSubscriber, deleteSubscriber_budgetName - The name of the budget whose subscriber you want to delete.
DeleteSubscriber, deleteSubscriber_notification - The notification whose subscriber you want to delete.
$sel:subscriber:DeleteSubscriber', deleteSubscriber_subscriber - The subscriber that you want to delete.
Request Lenses
deleteSubscriber_accountId :: Lens' DeleteSubscriber Text Source #
The accountId that is associated with the budget whose subscriber you
want to delete.
deleteSubscriber_budgetName :: Lens' DeleteSubscriber Text Source #
The name of the budget whose subscriber you want to delete.
deleteSubscriber_notification :: Lens' DeleteSubscriber Notification Source #
The notification whose subscriber you want to delete.
deleteSubscriber_subscriber :: Lens' DeleteSubscriber Subscriber Source #
The subscriber that you want to delete.
Destructuring the Response
data DeleteSubscriberResponse Source #
Response of DeleteSubscriber
See: newDeleteSubscriberResponse smart constructor.
Constructors
| DeleteSubscriberResponse' | |
Fields
| |
Instances
newDeleteSubscriberResponse Source #
Create a value of DeleteSubscriberResponse 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:DeleteSubscriberResponse', deleteSubscriberResponse_httpStatus - The response's http status code.
Response Lenses
deleteSubscriberResponse_httpStatus :: Lens' DeleteSubscriberResponse Int Source #
The response's http status code.