Copyright | (c) Moritz Schulte 2017 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module implements the /subscriptions/SUBSCRIPTIONS
API.
- subscriptionGet :: MonadNakadi m => Config -> SubscriptionId -> m Subscription
- subscriptionGetR :: MonadNakadiEnv r m => SubscriptionId -> m Subscription
- subscriptionDelete :: MonadNakadi m => Config -> SubscriptionId -> m ()
- subscriptionDeleteR :: MonadNakadiEnv r m => SubscriptionId -> m ()
Documentation
:: MonadNakadi m | |
=> Config | Configuration |
-> SubscriptionId | Subscription ID |
-> m Subscription | Resulting Subscription Information |
GET
to /subscriptions/SUBSCRIPTION
. Looks up subscription
information for a subscription ID.
:: MonadNakadiEnv r m | |
=> SubscriptionId | Subscription ID |
-> m Subscription | Resulting Subscription Information |
GET
to /subscriptions/SUBSCRIPTION
. Looks up subscription
information for a subscription ID. Uses configuration from the
environment.
:: MonadNakadi m | |
=> Config | Configuration |
-> SubscriptionId | ID of the Subcription to delete |
-> m () |
DELETE
to /subscriptions/SUBSCRIPTION
. Deletes a
subscription by subscription ID.
:: MonadNakadiEnv r m | |
=> SubscriptionId | ID of the Subcription to delete |
-> m () |
DELETE
to /subscriptions/SUBSCRIPTION
. Deletes a
subscription by subscription ID. Uses configuration contained in
the environment.