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