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 |
Gets a subscription of the customer.
See: Enterprise Apps Reseller API Reference for reseller.subscriptions.get
.
- type SubscriptionsGetResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Subscription)))))))
- subscriptionsGet :: Text -> Text -> SubscriptionsGet
- data SubscriptionsGet
- sgCustomerId :: Lens' SubscriptionsGet Text
- sgSubscriptionId :: Lens' SubscriptionsGet Text
REST Resource
type SubscriptionsGetResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Subscription))))))) Source #
A resource alias for reseller.subscriptions.get
method which the
SubscriptionsGet
request conforms to.
Creating a Request
Creates a value of SubscriptionsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubscriptionsGet Source #
Gets a subscription of the customer.
See: subscriptionsGet
smart constructor.
Request Lenses
sgCustomerId :: Lens' SubscriptionsGet Text Source #
Id of the Customer
sgSubscriptionId :: Lens' SubscriptionsGet Text Source #
Id of the subscription, which is unique for a customer