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/EVENT-TYPE
API.
- eventTypeGet :: MonadNakadi m => Config -> EventTypeName -> m EventType
- eventTypeGetR :: MonadNakadiEnv r m => EventTypeName -> m EventType
- eventTypeUpdate :: MonadNakadi m => Config -> EventTypeName -> EventType -> m ()
- eventTypeUpdateR :: MonadNakadiEnv r m => EventTypeName -> EventType -> m ()
- eventTypeDelete :: MonadNakadi m => Config -> EventTypeName -> m ()
- eventTypeDeleteR :: MonadNakadiEnv r m => EventTypeName -> m ()
Documentation
:: MonadNakadi m | |
=> Config | Configuration |
-> EventTypeName | Name of Event Type |
-> m EventType | Event Type information |
Retrieves an EventType
by its EventTypeName
. GET
to
/event-types/EVENT-TYPE
.
:: MonadNakadiEnv r m | |
=> EventTypeName | Name of Event Type |
-> m EventType | Event Type information |
Retrieves an EventType
by its EventTypeName
, using the
configuration found in the environment. GET
to
/event-types/EVENT-TYPE
.
:: MonadNakadi m | |
=> Config | Configuration |
-> EventTypeName | Name of Event Type |
-> EventType | Event Type Settings |
-> m () |
Updates an event type given its EventTypeName
and its new
EventType
description. PUT
to /event-types/EVENT-TYPE
.
:: MonadNakadiEnv r m | |
=> EventTypeName | Name of Event Type |
-> EventType | Event Type Settings |
-> m () |
Updates an event type given its EventTypeName
and its new
EventType
description, using the configuration found in the
environment. PUT
to /event-types/EVENT-TYPE
.
:: MonadNakadi m | |
=> Config | Configuration |
-> EventTypeName | Name of Event Type |
-> m () |
Deletes an event type given its EventTypeName
. DELETE
to
/event-types/EVENT-TYPE
.
:: MonadNakadiEnv r m | |
=> EventTypeName | Name of Event Type |
-> m () |
Deletes an event type given its EventTypeName
, using the
configuration found in the environment. DELETE
to
/event-types/EVENT-TYPE
.