Copyright | (c) 2013-2021 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 |
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.
DeleteEventSubscription' | |
|
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.
DeleteEventSubscriptionResponse' | |
|
Instances
Eq DeleteEventSubscriptionResponse Source # | |
Read DeleteEventSubscriptionResponse Source # | |
Show DeleteEventSubscriptionResponse Source # | |
Defined in Amazonka.Neptune.DeleteEventSubscription | |
Generic DeleteEventSubscriptionResponse Source # | |
NFData DeleteEventSubscriptionResponse Source # | |
Defined in Amazonka.Neptune.DeleteEventSubscription rnf :: DeleteEventSubscriptionResponse -> () # | |
type Rep DeleteEventSubscriptionResponse Source # | |
Defined in Amazonka.Neptune.DeleteEventSubscription type Rep DeleteEventSubscriptionResponse = D1 ('MetaData "DeleteEventSubscriptionResponse" "Amazonka.Neptune.DeleteEventSubscription" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "DeleteEventSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventSubscription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventSubscription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.