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 |
Updates an existing subscription in place.
See: Google Mirror API Reference for mirror.subscriptions.update
.
Synopsis
- type SubscriptionsUpdateResource = "mirror" :> ("v1" :> ("subscriptions" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Subscription :> Put '[JSON] Subscription)))))
- subscriptionsUpdate :: Subscription -> Text -> SubscriptionsUpdate
- data SubscriptionsUpdate
- suPayload :: Lens' SubscriptionsUpdate Subscription
- suId :: Lens' SubscriptionsUpdate Text
REST Resource
type SubscriptionsUpdateResource = "mirror" :> ("v1" :> ("subscriptions" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Subscription :> Put '[JSON] Subscription))))) Source #
A resource alias for mirror.subscriptions.update
method which the
SubscriptionsUpdate
request conforms to.
Creating a Request
Creates a value of SubscriptionsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubscriptionsUpdate Source #
Updates an existing subscription in place.
See: subscriptionsUpdate
smart constructor.
Instances
Request Lenses
suPayload :: Lens' SubscriptionsUpdate Subscription Source #
Multipart request metadata.