Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a notification
See: Admin Directory API Reference for directory.notifications.delete
.
Synopsis
- type NotificationsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("notifications" :> (Capture "notificationId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- notificationsDelete :: Text -> Text -> NotificationsDelete
- data NotificationsDelete
- ndCustomer :: Lens' NotificationsDelete Text
- ndNotificationId :: Lens' NotificationsDelete Text
REST Resource
type NotificationsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("notifications" :> (Capture "notificationId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for directory.notifications.delete
method which the
NotificationsDelete
request conforms to.
Creating a Request
Creates a value of NotificationsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NotificationsDelete Source #
Deletes a notification
See: notificationsDelete
smart constructor.
Instances
Request Lenses
ndCustomer :: Lens' NotificationsDelete Text Source #
The unique ID for the customer's G Suite account. The customerId is also returned as part of the Users resource.
ndNotificationId :: Lens' NotificationsDelete Text Source #
The unique ID of the notification.