| 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.Neptune.DeleteEventSubscription
Description
Deletes an event notification subscription.
Synopsis
- data DeleteEventSubscription = DeleteEventSubscription' {}
- newDeleteEventSubscription :: Text -> DeleteEventSubscription
- deleteEventSubscription_subscriptionName :: Lens' DeleteEventSubscription Text
- data DeleteEventSubscriptionResponse = DeleteEventSubscriptionResponse' {}
- newDeleteEventSubscriptionResponse :: Int -> DeleteEventSubscriptionResponse
- deleteEventSubscriptionResponse_eventSubscription :: Lens' DeleteEventSubscriptionResponse (Maybe EventSubscription)
- deleteEventSubscriptionResponse_httpStatus :: Lens' DeleteEventSubscriptionResponse Int
Creating a Request
data DeleteEventSubscription Source #
See: newDeleteEventSubscription smart constructor.
Constructors
| DeleteEventSubscription' | |
Fields
| |
Instances
newDeleteEventSubscription Source #
Create a value of DeleteEventSubscription 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:subscriptionName:DeleteEventSubscription', deleteEventSubscription_subscriptionName - The name of the event notification subscription you want to delete.
Request Lenses
deleteEventSubscription_subscriptionName :: Lens' DeleteEventSubscription Text Source #
The name of the event notification subscription you want to delete.
Destructuring the Response
data DeleteEventSubscriptionResponse Source #
See: newDeleteEventSubscriptionResponse smart constructor.
Constructors
| DeleteEventSubscriptionResponse' | |
Fields
| |
Instances
newDeleteEventSubscriptionResponse Source #
Create a value of DeleteEventSubscriptionResponse 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:eventSubscription:DeleteEventSubscriptionResponse', deleteEventSubscriptionResponse_eventSubscription - Undocumented member.
$sel:httpStatus:DeleteEventSubscriptionResponse', deleteEventSubscriptionResponse_httpStatus - The response's http status code.
Response Lenses
deleteEventSubscriptionResponse_eventSubscription :: Lens' DeleteEventSubscriptionResponse (Maybe EventSubscription) Source #
Undocumented member.
deleteEventSubscriptionResponse_httpStatus :: Lens' DeleteEventSubscriptionResponse Int Source #
The response's http status code.