Copyright | (c) Moritz Schulte 2017 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module implements the /event-types
API.
- module Network.Nakadi.EventTypes.CursorDistances
- module Network.Nakadi.EventTypes.CursorsLag
- module Network.Nakadi.EventTypes.Events
- module Network.Nakadi.EventTypes.EventType
- module Network.Nakadi.EventTypes.Partitions
- module Network.Nakadi.EventTypes.ShiftedCursors
- module Network.Nakadi.EventTypes.Schemas
- eventTypesList :: MonadNakadi m => Config -> m [EventType]
- eventTypesListR :: MonadNakadiEnv r m => m [EventType]
- eventTypeCreate :: MonadNakadi m => Config -> EventType -> m ()
- eventTypeCreateR :: MonadNakadiEnv r m => EventType -> m ()
Documentation
:: MonadNakadi m | |
=> Config | Configuration |
-> m [EventType] | Registered Event Types |
GET
to /event-types
. Retrieves a list of all registered
event types.
:: 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.
:: MonadNakadi m | |
=> Config | Configuration |
-> EventType | Event Type to create |
-> m () |
POST
to /event-types
. Creates a new event type.
:: MonadNakadiEnv r m | |
=> EventType | Event Type to create |
-> m () |
POST
to /event-types
. Creates a new event type. Uses the
configuration from the environment.