Copyright | (c) 2015 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 |
Suspends an active subscription
See: Enterprise Apps Reseller API Reference for reseller.subscriptions.suspend
.
- type SubscriptionsSuspendResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("suspend" :> (QueryParam "alt" AltJSON :> Post `[JSON]` Subscription))))))))
- subscriptionsSuspend :: Text -> Text -> SubscriptionsSuspend
- data SubscriptionsSuspend
- ssCustomerId :: Lens' SubscriptionsSuspend Text
- ssSubscriptionId :: Lens' SubscriptionsSuspend Text
REST Resource
type SubscriptionsSuspendResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("suspend" :> (QueryParam "alt" AltJSON :> Post `[JSON]` Subscription)))))))) Source
A resource alias for reseller.subscriptions.suspend
method which the
SubscriptionsSuspend
request conforms to.
Creating a Request
Creates a value of SubscriptionsSuspend
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubscriptionsSuspend Source
Suspends an active subscription
See: subscriptionsSuspend
smart constructor.
Request Lenses
ssCustomerId :: Lens' SubscriptionsSuspend Text Source
Id of the Customer
ssSubscriptionId :: Lens' SubscriptionsSuspend Text Source
Id of the subscription, which is unique for a customer