| 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.WorkDocs.DeleteNotificationSubscription
Description
Deletes the specified subscription from the specified organization.
Synopsis
- data DeleteNotificationSubscription = DeleteNotificationSubscription' {}
- newDeleteNotificationSubscription :: Text -> Text -> DeleteNotificationSubscription
- deleteNotificationSubscription_subscriptionId :: Lens' DeleteNotificationSubscription Text
- deleteNotificationSubscription_organizationId :: Lens' DeleteNotificationSubscription Text
- data DeleteNotificationSubscriptionResponse = DeleteNotificationSubscriptionResponse' {
- newDeleteNotificationSubscriptionResponse :: DeleteNotificationSubscriptionResponse
Creating a Request
data DeleteNotificationSubscription Source #
See: newDeleteNotificationSubscription smart constructor.
Constructors
| DeleteNotificationSubscription' | |
Fields
| |
Instances
newDeleteNotificationSubscription Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteNotificationSubscription |
Create a value of DeleteNotificationSubscription 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:
DeleteNotificationSubscription, deleteNotificationSubscription_subscriptionId - The ID of the subscription.
DeleteNotificationSubscription, deleteNotificationSubscription_organizationId - The ID of the organization.
Request Lenses
deleteNotificationSubscription_subscriptionId :: Lens' DeleteNotificationSubscription Text Source #
The ID of the subscription.
deleteNotificationSubscription_organizationId :: Lens' DeleteNotificationSubscription Text Source #
The ID of the organization.
Destructuring the Response
data DeleteNotificationSubscriptionResponse Source #
See: newDeleteNotificationSubscriptionResponse smart constructor.
Constructors
| DeleteNotificationSubscriptionResponse' | |
Instances
newDeleteNotificationSubscriptionResponse :: DeleteNotificationSubscriptionResponse Source #
Create a value of DeleteNotificationSubscriptionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.