nakadi-client-0.4.1.0: Client library for the Nakadi Event Broker

Copyright(c) Moritz Schulte 2017
LicenseBSD3
Maintainermtesseract@silverratio.net
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Network.Nakadi.Subscriptions.Subscription

Description

This module implements the /subscriptions/SUBSCRIPTIONS API.

Synopsis

Documentation

subscriptionGet Source #

Arguments

:: MonadNakadi m 
=> Config

Configuration

-> SubscriptionId

Subscription ID

-> m Subscription

Resulting Subscription Information

GET to /subscriptions/SUBSCRIPTION. Looks up subscription information for a subscription ID.

subscriptionGetR Source #

Arguments

:: 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.

subscriptionDelete Source #

Arguments

:: MonadNakadi m 
=> Config

Configuration

-> SubscriptionId

ID of the Subcription to delete

-> m () 

DELETE to /subscriptions/SUBSCRIPTION. Deletes a subscription by subscription ID.

subscriptionDeleteR Source #

Arguments

:: 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.