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 |
Permanently deletes a notification subscription.
See: Cloud Storage JSON API Reference for storage.notifications.delete
.
Synopsis
- type NotificationsDeleteResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("notificationConfigs" :> (Capture "notification" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- notificationsDelete :: Text -> Text -> NotificationsDelete
- data NotificationsDelete
- ndNotification :: Lens' NotificationsDelete Text
- ndBucket :: Lens' NotificationsDelete Text
- ndUserProject :: Lens' NotificationsDelete (Maybe Text)
REST Resource
type NotificationsDeleteResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("notificationConfigs" :> (Capture "notification" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for storage.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 #
Permanently deletes a notification subscription.
See: notificationsDelete
smart constructor.
Instances
Request Lenses
ndNotification :: Lens' NotificationsDelete Text Source #
ID of the notification to delete.
ndUserProject :: Lens' NotificationsDelete (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.