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 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.
DeleteNotificationSubscription' | |
|
Instances
newDeleteNotificationSubscription Source #
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:
$sel:subscriptionId:DeleteNotificationSubscription'
, deleteNotificationSubscription_subscriptionId
- The ID of the subscription.
$sel:organizationId: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.
Instances
Eq DeleteNotificationSubscriptionResponse Source # | |
Read DeleteNotificationSubscriptionResponse Source # | |
Show DeleteNotificationSubscriptionResponse Source # | |
Generic DeleteNotificationSubscriptionResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteNotificationSubscription type Rep DeleteNotificationSubscriptionResponse :: Type -> Type # | |
NFData DeleteNotificationSubscriptionResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteNotificationSubscription rnf :: DeleteNotificationSubscriptionResponse -> () # | |
type Rep DeleteNotificationSubscriptionResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteNotificationSubscription type Rep DeleteNotificationSubscriptionResponse = D1 ('MetaData "DeleteNotificationSubscriptionResponse" "Amazonka.WorkDocs.DeleteNotificationSubscription" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DeleteNotificationSubscriptionResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteNotificationSubscriptionResponse :: DeleteNotificationSubscriptionResponse Source #
Create a value of DeleteNotificationSubscriptionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.