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

Description

This module implements the /event-types API.

Synopsis

Documentation

eventTypesList Source #

Arguments

:: MonadNakadi m 
=> Config

Configuration

-> m [EventType]

Registered Event Types

GET to /event-types. Retrieves a list of all registered event types.

eventTypesListR Source #

Arguments

:: MonadNakadiEnv r m 
=> m [EventType]

Registered Event Types

GET to /event-types. Retrieves a list of all registered event types, using the configuration contained in the environment.

eventTypeCreate Source #

Arguments

:: MonadNakadi m 
=> Config

Configuration

-> EventType

Event Type to create

-> m () 

POST to /event-types. Creates a new event type.

eventTypeCreateR Source #

Arguments

:: MonadNakadiEnv r m 
=> EventType

Event Type to create

-> m () 

POST to /event-types. Creates a new event type. Uses the configuration from the environment.