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 |
Retrieves a list of notification subscriptions for a given bucket.
See: Cloud Storage JSON API Reference for storage.notifications.list
.
Synopsis
- type NotificationsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("notificationConfigs" :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Notifications))))))
- notificationsList :: Text -> NotificationsList
- data NotificationsList
- nlBucket :: Lens' NotificationsList Text
- nlUserProject :: Lens' NotificationsList (Maybe Text)
REST Resource
type NotificationsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("notificationConfigs" :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Notifications)))))) Source #
A resource alias for storage.notifications.list
method which the
NotificationsList
request conforms to.
Creating a Request
Creates a value of NotificationsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NotificationsList Source #
Retrieves a list of notification subscriptions for a given bucket.
See: notificationsList
smart constructor.
Instances
Request Lenses
nlUserProject :: Lens' NotificationsList (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.